|
The function RtIsTcpStackLicensed verifies whether a specified RTX RT/TCP-IP Stack version is installed and has a valid license.
Syntax
BOOLEAN RtIsTcpStackLicensed( RTSSINST RtssInst, PULONG pErrorCode, int majorVersion );
Parameters
RtssInst
An RTSSINST value returned from a call to RtkRtssAttach.
pErrorCode
A pointer to a location where additional error information may be returned. This location need not be defined; the user may pass a NULL value. If defined, this location is set to NULL if no error occurred. See Error Codes for information on the custom RTX error codes.
majorVersion
The major version of the RTX RT-TCP/IP Stack to validate.
RT-TCP/IP Stack Version | majorVersion Value |
---|---|
RTX 2016 (includes Service Packs) | 12 |
Currently installed version |
0 |
Return Values
Returns true if the specified RT/TCP-IP Stack version is installed and licensed. Returns false if the specified RT/TCP-IP Stack is not installed or not licensed.
Requirements
Minimum Supported Version | RTX 2016 |
Header | Rtkapi.h |
Library | rtx_rtk.lib |