Frame Grabber SDK (Windows-C) Developer Guide
pstBufferInfo
[IN] Frame buffer information, see MV_FG_BUFFER_INFO for details.
pUser
[IN] User-defined data.
pUser
[IN] User-defined data.
Return Value
Return MV_FG_SUCCESS on success, and return Error Code on failure.
Remarks
Time-consuming operations in the callback function will block the access to the subsequent frame
buffer information.
This API and the API MV_FG_GetFrameBuffer are mutually exclusive.
You need to call this API to register the callback function before calling API MV_FG_StartAcquisition.
3.4.9 MV_FG_ReleaseFrameBuffer
Release the buffer information. This API is valid only when buffers are requested internally by the SDK.
API Definition
int MV_FG_ReleaseFrameBuffer(
STREAMHANDLE
hStream,
MV_FG_BUFFER_INFO
*pstBufferInfo
);
Parameters
hStream
[IN] Stream channel handle.
pstBufferInfo
[IN] Buffer information, see MV_FG_BUFFER_INFO for details.
Return Value
Return MV_FG_SUCCESS on success, and return Error Code on failure.
Remarks
This API and MV_FG_GetFrameBuffer should be used in pair. The image data (pstBufferInfo) obtained
via MV_FG_GetFrameBuffer should be released by this API.
3.4.10 MV_FG_GetImageBuffer
Get the buffer handle of a frame. This API is valid only when buffers are requested and registered to
16
    "