Frame Grabber SDK (Windows-C) Developer Guide
3.5.3 MV_FG_AnnounceBuffer
Register buffer to the stream channel.
API Definition
int MV_FG_AnnounceBuffer(
STREAMHANDLE
hStream,
void
*pBuffer,
unsigned int
nSize,
void
*pPrivate,
BUFFERHANDLE
*phBuffer
);
Parameters
hStream
[IN] Stream channel handle.
pBuffer
[IN] Image buffer address.
nSize
[IN] Image buffer size.
The image buffer size is acquired by calling the API MV_FG_GetPayloadSize. The private information
is user-defined.
pPrivate
[IN] Private information address.
phBuffer
[OUT] Buffer handle.
Return Value
Return MV_FG_SUCCESS on success, and return Error Code on failure.
Remarks
This API must be called prior to acquiring images.
3.5.4 MV_FG_RevokeBuffer
Revoke buffer from the stream channel.
API Definition
int MV_FG_RevokeBuffer(
STREAMHANDLE
hStream,
BUFFERHANDLE
hBuffer,
void
**pBuffer,
void
**pPrivate
);
19
    "