RtGVCloseSharedBuffer

RtGVCloseSharedBuffer closes a handle to a shared buffer.

Syntax

BOOL RtGVCloseSharedBuffer(
	HANDLE hBuffer
);

Parameters

hBuffer

The handle to a shared buffer that will be closed.

Return Values

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

Remarks

RtGVCloseSharedBuffer decrements the reference count to the shared buffer.  When the reference count is zero, the buffer is freed and can no longer be accessed.

Requirements

Minimum Supported Version RTX64 3.7 SDK

Header

RtGVComm.h

Library

RtGVComm.lib

See Also:

RtGVCreateSharedBuffer

RtGVOpenSharedBuffer