VLScgSetLicExpirationDay
Syntax
int VLScgSetLicExpirationDay (VLScg_HANDLE iHandle, codeT *codeP, char *info);
Argument | Description |
iHandle |
The instance handle for this library. |
codeP |
The pointer to the codeT struct. |
info |
Sets the day of the month: 1-31. |
Description
Sets the day of the month of the date on which the license expires.
VLScgSetLicExpirationDay is not applicable if the year is infinite.
Returns
The status code VLScg_SUCCESS is returned if successful. Otherwise, it will return the following error codes:
Error Code |
Description |
VLScg_INVALID_INT_TYPE |
If the value of info is not numeric. |
VLScg_INVALID_DATE |
If value is not valid for the month. |
VLScg_EXCEEDS_MAX_VALUE |
If value exceeds maximum allowed day. |
VLScg_LESS_THAN_MIN_VALUE |
If value is less than 1. |
For the complete list of the error codes, refer to License Generation and Revocation Error Codes .