VLScgSetLicBirthHours

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

Syntax

int VLScgSetLicBirthHours (    
VLScg_HANDLE   iHandle,
codeT   *codeP,
char   *strHours );
     
Argument Description

iHandle

The instance handle for this library.

codeP

The pointer to the codeT struct.

strHours

Used for setting the hours part of the license start time.

Description

Sets hour part of the license start time.

For example, if the license start time is set as 12:35, this API allows user to set the hour part (12).

The license birth hour should be specified in the range of 0-23.

NOTE   This API uses Coordinated Universal Time (UTC) clock as the base time standard.

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 .