RtGetLicenseFeatureStatus
The function RtGetLicenseFeatureStatus, available from within an RTSS process, queries the licensed status of a given feature.
NOTE: This function has been deprecated and will be removed in a future release. To retrieve information about licenses installed on the system, use RtGetLicenses.
Syntax
BOOL RtGetLicenseFeatureStatus( TCHAR featureName, RtFeatureLicenseStatus status );
Parameters
featureName
Product code for your IntervalZero features. Below are common product codes for RTX64:
Feature | Product Code |
---|---|
RTX64 | RTX64 Subsystem |
TCP64 | RT-TCP/IP Stack |
SDK64 | Software Development Kit (SDK) |
status
Pointer to an instance of RtFeatureLicenseStatus, which is defined as:
Feature | Description |
---|---|
STATUS_LICENSE_ERROR |
An error occurred reading the license information |
STATUS_LICENSE_VALID |
Valid license exists for features |
STATUS_LICENSE_VALID_EVALUATION |
Valid time-limited license for feature |
STATUS_LICENSE_INVALID |
The license is invalid for a reason other than it has expired |
STATUS_LICENSE_EXPIRED |
License for the feature has expired |
Return Value
Returns TRUE if successful. Returns FALSE if unsuccessful.
Remarks
This RTAPI call only provides license information for features licensed to RTX64 2014. If a feature has only a RTX64 2013 license, this RTAPI call reports it as unlicensed.
Requirements
Minimum Supported Version | RTX64 2013 |
Header | RtssApi.h |
Library | Rtx_Rtss.lib |