RtGVSharedBufferPop

RtGVSharedBufferPop pops the oldest filled image off of the front of a shared buffer.

Syntax

PRTGV_FRAME RtGVSharedBufferPop(
	HANDLE hBuffer
);

Parameters

hBuffer

A handle to the shared buffer.

Return Values

Returns a pointer to the retrieved image if the function succeeds.  Otherwise, it returns NULL.  Call GetLastError for extended error information.

Remarks

If there are no filled images in the shared buffer (ie. RtGVSharedBufferPush has never been called on the buffer, or all of the filled images have already been popped off of the buffer), this function will fail.

Requirements

Minimum Supported Version RTX64 3.7 SDK

Header

RtGVComm.h

Library

RtGVComm.lib

See Also:

RtGVCreateSharedBuffer

RtGVOpenSharedBuffer

RtGVSharedBufferPush