RtGVOpenSharedBuffer

RtGVOpenSharedBuffer opens a handle to a shared buffer for passing images between an RTSS application and a Windows application linked to RTAPI.

Syntax

HANDLE RtGVOpenSharedBuffer(
	PCHAR pBufferName
);

Parameters

pBufferName

A pointer to a string that holds the name of the shared buffer to be opened.  Name comparisons are case-sensitive.

Return Values

Returns an open handle to the named shared buffer object if it succeeds.  Otherwise, it returns NULL.  Call GetLastError for extended error information.

Remarks

RtGVOpenSharedBuffer increments the reference count to the shared buffer.  This can be decremented by calling RtGVCloseSharedBuffer.

Requirements

Minimum Supported Version RTX64 3.7 SDK

Header

RtGVComm.h

Library

RtGVComm.lib

See Also:

RtGVCreateSharedBuffer

RtGVCloseSharedBuffer

RtGVSharedBufferPop

RtGVSharedBufferPush

RtGVSharedBufferGetEmptyFrame

RtGVSharedBufferPushToEmptyList

RTGV_FRAME