RtGVSharedBufferPushToEmptyList

RtGVSharedBufferPushToEmptyList pushes an image to the empty frame list associated with the shared buffer.

Syntax

BOOL RtGVSharedBufferPushToEmptyList(
	HANDLE hBuffer, 
	PRTGV_FRAME pImage
);

Parameters

hBuffer

A handle to the shared buffer.

pImage

A pointer to the image that will be released to the empty frame list.

Return Values

Returns TRUE if the function succeeds, FALSE if the function fails. Call GetLastError for extended error information.

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 RTX64 3.7 SDK

Header

RtGVComm.h

Library

RtGVComm.lib

See Also:

RtGVSharedBufferGetEmptyFrame

RtGVSharedBufferPop