VLSucgAllowUpgradeCapacity
Syntax
int VLSucgAllowUpgradeCapacity ( VLSucg_HANDLE iHandle, ucodeT *ucodeP );
Argument | Description |
iHandle |
Instance handle for this library. |
ucodeP |
The pointer to ucodeT struct. |
Description
Indicates whether the corresponding VLSucgSetUpgradeCapacityUnits and VLSucgSetUpgradeCapacity should be called or not. If the VLSucgAllowUpgradeCapacity returns 1 only then the corresponding capacity should be called.
Returns
The API returns any of the following Boolean TRUE/FALSE values, after testing whether the corresponding VLSucgSet API should be called or not:
Error Code | Description |
1 |
VLSucgSetUpgradeCapacity is allowed |
0 |
VLSucgSetUpgradeCapacity is not allowed |
For a complete list of the error codes, refer to Upgrade License Error Codes.