VLScgSetGracePeriodHours

Syntax

int VLScgSetGracePeriodHours (VLScg_HANDLE iHandle, codeT *codeP, char *elapsed_hoursStr);
Argument Description

iHandle

The instance handle for this library.

codeP

The pointer to the codeT struct.

elapsed_hoursStr

The number of hours the license can be used in the grace period.

Description

Sets the number of elapsed hours the license can be used in a grace period.

Return

The status code VLScg_SUCCESS is returned if successful. Otherwise, a specific error codes is returned indicating the reason for failure. For the complete list of the error codes, refer to License Generation and Revocation Error Codes .