RtNalReleaseQueue

RtNalReleaseQueue releases the ownership of a queue back to the NAL so that it is available to other callers.

Syntax

BOOL RtNalReleaseQueue(
	RTNAL_QUEUE_HANDLE queueHandle
);

Parameters

queueHandle

Network queue handle returned by RtNalAcquireQueue.

Return Value

Returns TRUE if the call succeeds. Otherwise it returns FALSE. Call GetLastError to obtain an error code. The possible error codes are listed below:

Error Code Meaning
ERROR_INVALID_HANDLE queueHandle is invalid. This might be occur if the queue was released in another thread or on process exit, as if by RtssKill.
ERROR_INVALID_PARAMETER queueHandle is a NULL pointer.
ERROR_NOT_READY RtNalInit has not completed successfully.

Requirements

Minimum Supported Version (NAL) RTX64 Network Abstraction Layer 2.0
Minimum Supported Version (RTX64) RTX64 3.4
Header rtnapi.h, RtNalApi.h
Library RtNal.lib

See Also: