RtgvSharedBufferPushToEmptyList
RtgvSharedBufferPushToEmptyList pushes an image to the empty frame list associated with the shared buffer.
Syntax
BOOL RtgvSharedBufferPushToEmptyList(
[in] HANDLE hBuffer,
[in] PRTGV_FRAME pImage
);
Parameters
[in] hBuffer
A handle to the shared buffer.
[in] pImage
A pointer to the image that will be released to the empty frame list.
Return Values
If the function succeeds, it returns TRUE. If the function fails, it returns FALSE. Call GetLastError to obtain an error code.
Remarks
RtgvSharedBufferPushToEmptyList can be called on an image retrieved with RtgvSharedBufferPop after whatever task that requires the image has been completed (for example, processing the image, displaying the image on screen, etc.). Empty frames can then be retrieved using RtgvSharedBufferGetEmptyFrame.
Requirements
| Minimum supported version | Header | Library |
|---|---|---|
|
wRTOS 1.0 SDK |
RtgvComm.h |
RtgvComm.lib |