VLScgSetNumFeatures

Syntax

int VLScgSetNumFeatures (VLScg_HANDLE iHandle, codeT *codeP, char *flag);
Argument Description

iHandle

The instance handle for this library.

codeP

The pointer to the codeT struct.

flag

Sets the number of features in case of multi-feature.

Description

Sets the number of features.

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 value of flag is not numeric.

VLScg_EXCEEDS_MAX_VALUE

if the value exceeds VLScg_MAX_NUM_FEATURES.

VLScg_LESS_THAN_MIN_VALUE

If value is lower than VLScg_MIN_NUM_FEATURES.

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