pub unsafe extern "C" fn MaaControllerGetImage(
    ctrl: MaaControllerHandle,
    buffer: MaaImageBufferHandle
) -> MaaBool
Available on crate feature internal only.
Expand description

@brief Get the image buffer of the last screencap request.

@param ctrl @param[out] buffer The buffer that the image data will be stored in.

@return MaaBool Whether the image buffer is retrieved successfully.