VLSucgSetBaseFeatureVersion

Syntax

int VLSucgSetBaseFeatureVersion ( VLSucg_HANDLE  iHandle, ucodeT *ucodeP, char *feature_version);
Argument Description

iHandle

Instance handle for this library.

ucodeP

The pointer to ucodeT struct.

feature_version

Any printable ASCII text except for #. Maximum of 11 characters.

Description

Sets the value of base_feature_version in the ucodeT struct. This function checks the input variables for their validity and boundary conditions.

Returns

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

Error Code Description

VLSucg_INVALID_CHARS

If feature_version characters are not printable.

VLSucg_RESERV_STR_ERR

If the feature_version is a reserved string.

VLSucg_EXCEEDS_MAX_STRLEN

If the length of feature_version string exceeds maximum allowed length(11 char).

For the complete list of the error codes, refer to Upgrade License Error Codes.