VLScgSetLocalRequestLockCritFlag
Syntax
int VLScgSetLocalRequestLockCritFlag (VLScg_HANDLE iHandle, codeT *codeP, char *str);
Argument | Description |
iHandle |
The instance handle for this library. |
codeP |
The pointer to the codeT struct. |
str |
The locking criteria, which can have any of the following values: >VLScg_LOCAL_REQUEST_LOCKCRIT_USEDEFAULT_STRING: The default criteria. >VLScg_LOCAL_REQUEST_LOCKCRIT_DEFINED_STRING: The user-defined criteria.VLScg_EXCEEDS_MAX_VALUE |
Description
Sets the locking criteria as default or user-defined.
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 |
The value is not a decimal number. |
VLScg_EXCEEDS_MAX_VALUE |
The value exceeds the maximum allowed value. |
VLScg_LESS_THAN_MIN_VALUE |
The value is lower than the minimum allowed value. |
For the complete list of the error codes, refer to License Generation and Revocation Error Codes .