
Frame Grabber SDK (Windows-C) Developer Guide
stream channels by the user.
API Definition
int MV_FG_GetImageBuffer(
STREAMHANDLE
hStream,
BUFFERHANDLE
*phBuffer,
unsigned int
nTimeout
);
Parameters
hStream
[IN] Stream channel handle.
phBuffer
[OUT] Buffer handle.
nTimeout
[IN] Timeout, unit: millisecond.
Return Value
Return MV_FG_SUCCESS on success, and return Error Code on failure.
Remarks
By calling the API MV_FG_GetBufferInfo, you can get the buffer information with the acquired buffer
handle.
3.5 Buffer
APIs for managing buffers, acquiring relevant information, and so on.
3.5.1 MV_FG_SetBufferNum
Set the number of internal buffers for the SDK.
API Definition
int MV_FG_SetBufferNum(
STREAMHANDLE
hStream,
unsigned int
nBufferNum
);
Parameters
hStream
[IN] Stream channel handle.
nBufferNum
[IN] Number of buffers.
17





















































































































































