VLScgSetLicExpirationHours

This API is available for Sentinel RMS SDK version 9.0 (and above).

Syntax

int VLScgSetLicExpirationHours (    
VLScg_HANDLE   iHandle,
codeT   *codeP,
char   *strMinutes );
     
Argument Description

iHandle

The instance handle for this library.

codeP

The pointer to the codeT struct.

strHours

The hour part of the license expiration time.

Description

Sets the hour part of the license expiration time.

For example, if the license expiration time is 10 hours and 15 minutes, this API allows user to set the hour part (10) of the license expiration time. The license expiration hours should be specified in the range of 0-12.

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 .