RTXPROP_LICENSE_FEATURE_INFO

Structure that holds the license information for one licensed feature

Syntax

typedef struct _RTXPROP_LICENSE_FEATURE_INFO {
    unsigned int Version;
    BOOL FeatureName [64];
    BOOL IsFeatureLicensed;
    BOOL IsPermanent;
    BOOL IsExpired;
    unsigned int ProductMajorVersion;
    unsigned int ProductMinorVersion;
    TCHAR ExpirationDate [16];
    unsigned int ExpirationDaysRemaining;
    TCHAR Hostid [64];
    unsigned int RtxProcessors;
    unsigned int ProductType;
    TCHAR Options [65];
} RTXPROP_LICENSE_FEATURE_INFO, *PRTXPROP_LICENSE_FEATURE_INFO;

Members

Version

The version of this structure. This is a monotonically increasing unsigned int value. This version value MUST be incremented by 1 every time a change is made to this structure that would cause misinterpretation of its contents by client code compiled against an older version. It is STRONGLY recommended that client code check the value of this member for the expected value. If the value is not what the client expects, there is version skew between the client and the Properties library, and the client should not access any other members of this structure, as it risks causing a program crash.

FeatureName

The feature name from the license. The string in this member is always entirely single-byte ANSI characters.

IsFeatureLicensed

TRUE if the feature identified by member FeatureName is licensed, FALSE if not.

IsPermanent

TRUE if this feature's license is permanent, FALSE if not.

IsExpired

If member IsPermanent is TRUE, then this member is undefined and should not be accessed. If member IsPermanent is FALSE, then if this feature's license has expired, this member is TRUE, otherwise it is FALSE.

ProductMajorVersion

The major version number of the product for this feature from the license.

ProductMinorVersion

The minor version number of the product for this feature from the license. This value can be less than the actual minor version number of the installed product.

ExpirationDate

If members IsPermanent and IsExpired are FALSE, this holds the expiration data in the form DD-MMM-YYYY, with no leading '0's on the day number, otherwise this member is undefined. This string is entirely single-byte ANSI characters

ExpirationDaysRemaining

If members IsPermanent and IsExpired are FALSE, this holds the number of days remaining until this license expires, otherwise this member should not be accessed.

Hostid

The hostid string specifying the machine to which this feature's license is node-locked. This string is entirely single-byte ANSI characters

RtxProcessors

If member FeatureName is the string "RTX" (not case-sensitive), this member is defined, otherwise it is undefined. When defined, this member holds the number of licensed RTX processors. If this member is 0, the number of licensed processors is unlimited, which should only occur if this is an evaluation runtime license (i.e., IsPermanent is FALSE).

ProductType

The value of this member is one of the PRODUCT_* macros defined in RtxProp.h.

Options

Holds the options string from this feature's license, if this feature's license has an options string, otherwise this array contains all '\0' bytes. This does not include the "options=" prefix from the license file nor any surrounding quotes. This string is entirely single-byte ANSI characters