VLScgSetLicExpirationMonth

Syntax

int VLScgSetLicExpirationMonth (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 month of year: 1-12 or Jan.-Dec.

Description

Sets the month on which license expires.

The license expiration month should be specified in the range of 1-12.

VLScgSetLicExpirationMonth is not applicable if 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_CHARS

If not a valid string.

VLScg_EXCEEDS_MAX_VALUE

If value exceeds maximum allowed month.

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 .