
Frame Grabber SDK (Windows-C) Developer Guide
Parameters
hStream
[IN] Stream channel handle.
hBuffer
[IN] Buffer handle.
pBuffer
[OUT] Image buffer address.
pPrivate
[OUT] Private information address.
Return Value
Return MV_FG_SUCCESS on success, and return Error Code on failure.
Remarks
Only buffers in unused queues can be revoked. You can allocate buffers to unused queues by calling
the API MV_FG_FlushQueue.
3.5.5 MV_FG_FlushQueue
Refresh the buffer queue.
API Definition
int MV_FG_FlushQueue(
STREAMHANDLE
MV_FG_BUFFER_QUEUE_TYPE
);
Parameters
hStream,
enQueueType
hStream
[IN] Stream channel handle.
enQueueType
[IN] Buffer queue type, see MV_FG_BUFFER_QUEUE_TYPE for details.
Return Value
Return MV_FG_SUCCESS on success, and return Error Code on failure.
Remarks
The following queue types are not supported during image acquisition:
MV_FG_BUFFER_QUEUE_INPUT_TO_OUTPUT and MV_FG_BUFFER_QUEUE_ALL_DISCARD.
20





















































































































































