VLScgSetLocalRequestLockCrit

Syntax 

int VLScgSetLocalRequestLockCrit (VLScg_HANDLE iHandle, codeT *codeP, char *str);
Argument Description

iHandle

The instance handle for this library.

codeP

The pointer to the codeT struct.

str

Allows setting the required, floating, and minimum-required locking criteria for the local request. For example, 0x4:0x3FF:2 sets:

>0x4 as the required locking criteria.

>0x3FF as the floating locking criteria.

>2 as the minimum locking criteria.

Description

Sets the required, floating, and minimum-required locking criteria for the local request.

Returns

The status code VLScg_SUCCESS is returned if successful. Otherwise, a specific error codes is returned indicating the reason for failure.

Error Code Description

VLScg_INVALID_INT_TYPE

If the value is not numeric.

VLScg_EXCEEDS_MAX_VALUE

If the value exceeds VLScg_LONG_CODE.

VLScg_LESS_THAN_MIN_VALUE

If the value is less than VLScg_SHORT_CODE.

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