RtkIsRuntimeLicensedEx
The function RtkIsRuntimeLicensedEx verifies whether a specified RTX64 Runtime 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 RtkIsRuntimeLicensedEx( 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 Subsystem 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 Runtime to validate.
Runtime Version | majorVersion Value |
---|---|
RTX64 3.0 | 3 |
RTX64 2014 (includes Service Packs) | 2 |
Currently installed version |
0 |
Return Value
Returns true if the specified Runtime version is installed and licensed. Returns false if the specified Runtime is not installed or not licensed.
Requirements
Minimum Supported Version | RTX64 3.0 |
Header | RtkApi.h |
Library | RtkApi.lib |