RtkIsTcpStackLicensedEx
The function RtkIsTcpStackLicensedEx verifies whether a specified RTX64 RT/TCP-IP Stack version is installed and has a valid license. It can only be used in RTK drivers. It cannot be used in Windows or RTSS applications.
Syntax
NTSTATUS RtkIsTcpStackLicensedEx( BOOLEAN* pResult, unsigned int majorVersion );
Parameters
pResult
A pointer to memory to fill with the API result. Must be allocated by the caller or the API will return STATUS_INVALID_PARAMETER. If the RTX64 RT-TCP/IP Stack is licensed and installed, a value of TRUE will be filled into the provided memory, otherwise FALSE is returned.
majorVersion
The major version of the RTX64 RT-TCP/IP Stack to validate.
RT-TCP/IP Stack Version | majorVersion Value |
---|---|
RTX64 3.0 | 3 |
RTX64 2014 (includes Service Packs) | 2 |
Currently installed version |
0 |
Return Value
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 | RTX64 3.0 |
Header | RtkApi.h |
Library | RtkApi.lib |