
Frame Grabber SDK (Windows-C) Developer Guide
SDK.
API Definition
int MV_FG_GetFrameBuffer(
STREAMHANDLE
hStream,
MV_FG_BUFFER_INFO
*pstBufferInfo,
unsigned int
nTimeout
);
Parameters
hStream
[IN] Stream channel handle.
pstBufferInfo
[OUT] Buffer information, see MV_FG_BUFFER_INFO for details.
nTimeout
[IN] Timeout, unit: millisecond.
Return Value
Return MV_FG_SUCCESS on success, and return Error Code on failure.
Remarks
The API MV_FG_ReleaseFrameBuffer should be called to release the buffer information.
3.4.8 MV_FG_RegisterFrameCallBack
Register the callback function for frame buffer information. This API is valid only when buffers are
managed internally by the SDK.
API Definition
int MV_FG_RegisterFrameCallBack(
STREAMHANDLE
hStream,
MV_FG_FrameCallBack
cbFrame,
void
*pUser
);
Parameters
hStream
[IN] Stream channel handle.
cbFrame
[IN] Frame buffer information callback function.
void (__stdcall *MV_FG_FrameCallBack)(
MV_FG_BUFFER_INFO *pstBufferInfo,
void
*pUser
)
15





















































































































































