RtNalInit

RtNalInit initializes the association of the given RTSS application with the RTX64 NAL. This call must be made before any other NAL functions can be called.

Syntax

BOOL RtNalInit(
	DWORD rtNalApiVersion
);

Parameters

rtNalApiVersion

The version of the RtNal API that is being used. This must be set to RTNAL_API_VERSION.

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_NOT_SUPPORTED The API version is not supported.
ERROR_NO_NETWORK The RTX64 NAL has not started or has not fully initialized.
ERROR_ALREADY_EXISTS RtNalInit was already called.

Remarks

For this function to succeed, the RTX64 NAL process must be up and running, having fully completed initialization of its resources and devices prior to an application calling RtNalInit.

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