RtGVSharedBufferPush
RtGVSharedBufferPush pushes a filled image onto the end of a shared buffer.
Syntax
BOOL RtGVSharedBufferPush( HANDLE hBuffer, PRTGV_FRAME pImage );
Parameters
hBuffer
A handle to the shared buffer onto which the RTGV_FRAME will be pushed.
pImage
A pointer to the RTGV_FRAME that will be pushed onto the shared buffer. This should be retrieved by calling RtGVSharedBufferGetEmptyFrame.
Return Values
Returns TRUE if the function succeeds, FALSE if the function fails. Call GetLastError for extended error information.
Remarks
If RtGVSharedBufferGetEmptyFrame fails, meaning there are no empty frames, then RtGVSharedBufferPop can be called instead, which will return a pointer to the oldest image in the shared buffer.
Requirements
Minimum Supported Version | RTX64 3.7 SDK |
Header |
RtGVComm.h |
Library |
RtGVComm.lib |