VLSucgSetBaseFeatureName
Syntax
int VLSucgSetBaseFeatureName ( VLSucg_HANDLE iHandle, ucodeT *ucodeP, char *feature_name);
Argument | Description |
iHandle |
Instance handle for this library. |
ucodeP |
The pointer to ucodeT struct. |
feature_name |
Any printable ASCII text except for #. Maximum of 24 characters. |
Description
Sets the value of base_feature_name in the ucodeT struct.
This function also 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 |
Invalid characters in feature_name. |
VLSucg_NO_FEATURE_NAME |
If feature_name is NULL. |
VLSucg_RESERV_STR_ERR |
If the feature_name is a reserved string. |
VLSucg_EXCEEDS_MAX_STRLEN |
If the length of feature_name string exceeds maximum allowed length(24 char). |
For the complete list of the error codes, refer to Upgrade License Error Codes.