VLScgAllowTrialHours
Syntax
int VLScgAllowTrialHours (VLScg_HANDLE iHandle, codeT *codeP);
Argument | Description |
iHandle |
The instance handle for this library. |
codeP |
The pointer to the codeT struct. |
Description
Verifies if setting trial elapsed hours is allowed for code type, license type, and license version. (code_type, licType, and version_num, respectively), specified in the codeT structure.
NOTE The trial elapsed hours feature is supported only for version 11 (and later) long licenses.
Returns
The VLScgAllowXXX function tests whether the corresponding VLScgSetXXX should be called. If VLScgAllowXXX returns 1, then the corresponding VLScgSetXXX function can be called; otherwise, it will return 0 as false.