VLScgSetClientLockInfo
Syntax
int VLScgSetClientLockInfo (VLScg_HANDLE iHandle, codeT *codeP, char *lockCode, int num);
Argument | Description |
iHandle |
The instance handle for this library. |
codeP |
The pointer to the codeT struct. |
lockCode |
This buffer is used to set the locking code information for clients. |
num |
Number of clients: should be from 0 to maximum number of clients specified -1. num is the position in the array storing the locking codes for the clients. The value will vary from 0 to "(num_nl_clients) -1" where num_nl_clients is the number of clients set using VLScgSetNumClients. |
Description
Sets client locking code.
Returns
The status code VLScg_SUCCESS is returned if successful. Otherwise, it will return the following error codes:
Error Code | Description |
---|---|
VLScg_INVALID_HEX_TYPE |
If lockCode is not in hexadecimal format. |
VLScg_EXCEEDS_MAX_VALUE |
If num is greater than num_nl_clients -1. Number of node locked clients. |
VLScg_LESS_THAN_MIN_VALUE |
If num is less than 0. |
VLScg_INVALID_CHKSUM | Checksum validation failed for license string. |
For the complete list of the error codes, refer to License Generation and Revocation Error Codes .