RtfwGetNALConfiguration
RtfwGetNALConfiguration returns the configuration of the Network Abstraction Layer (NAL).
Syntax
bool RtfwGetNALConfiguration( RTFW_NAL_CONFIGURATION * pConfiguration );
Parameters
pConfiguration
A pointer to a RTFW_NAL_CONFIGURATION structure that is filled in with the current configuration of the NAL. The member Size must be set to sizeof(RTFW_NAL_CONFIGURATION), otherwise this API fails and sets the last error value to RT_ERROR_STRUCTURE_TOO_SMALL.
Return Value
The function returns true if it succeeds. Otherwise, it returns false, sets the last error value, and does not populate the structure pointed to by pConfiguration with valid member values. Call GetLastError for additional error information.
Possible error codes:
Error Code | Meaning |
---|---|
RT_ERROR_STRUCTURE_TOO_SMALL | The Size member of a structure is too small. |
Remarks
If the NAL is running when the RtfwSetNALConfiguration API is called, the values returned by this function may differ from the values currently in use by the Subsystem when you call RtfwGetNALConfiguration before restarting the NAL. To get the current NAL setting call RtfwGetNALStatus.
If the Subsystem is running when the RtfwGetLocalMemoryConfiguration API is called, the values returned by this function may differ from the values currently in use by the Subsystem.
Requirements
Minimum Required Version | RTX64 4.0 |
Header | RtfwAPI.h |
Library | RtfwAPI.lib |
See Also: