VLSsetRemoteRenewalTime
Syntax
LS_STATUS_CODE VLSsetRemoteRenewalTime ( char
*featureName
, char
*version
, int
timeInSecs );
Argument | Description |
featureName |
Name of the feature. |
version |
Version of the feature. |
timeInSecs |
Time in seconds. Default time is 15 seconds. |
Description
Sets the remote renewal time period.
Sets the remote renewal period of licenses issued to the feature to timeInSecs seconds. This function call must be made before the first LSRequest call for it to be applicable. Once a license is requested using LSRequest, the remote renewal time is set for that application, and VLSsetRemoteRenewalTime will not change it.
Returns
The status code LS_SUCCESS is returned if successful. Otherwise, it will return the following error codes:
Error Code |
Description |
VLS_APP_UNNAMED |
Both feature name and version cannot be NULL at the same time. |
LS_NORESOURCES |
An error occurred in attempting to allocate memory needed by function. |
VLS_CALLING ERROR |
An error occurred in the use of an internal buffer. |
For a complete list of the error codes, see Licensing Library Error and Result Codes.