VLScgSetNumClients

Syntax

int VLScgSetNumClients (VLScg_HANDLE iHandle, codeT *codeP, char *info);
Argument Description

iHandle

The instance handle for this library.

codeP

The pointer to the codeT struct.

info

The number of client locking codes to be specified.

Description

Applications can be locked to specific client computers using locking codes that uniquely identify those computers.

Returns

The status code VLScg_SUCCESS is returned if successful. Otherwise, it will return the following error codes:

Error Code Description

VLScg_INVALID_INT_TYPE

If the input value is a positive integer.

VLScg_EXCEEDS_MAX_VALUE

If value exceeds maximum number of 7 clients.

VLScg_LESS_THAN_MIN_VALUE

If value is less than 1.

For the complete list of the error codes, refer to License Generation and Revocation Error Codes .