VLSucgAllowUpgradeFlag

Syntax

int VLSucgAllowUpgradeFlag ( VLSucg_HANDLE  iHandle, ucodeT *ucodeP );
Argument Description
iHandle

Instance handle for this library.

ucodeP

The pointer to ucodeT struct.

Description

Indicates whether the corresponding VLSucgSetUpgradeFlag should be called or not.

If the VLSucgAllowUpgradeFlag returns 1 only, then the corresponding VLSucgSetUpgradeFlag 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

Capacity Upgrade is allowed.

0

Capacity Upgrade is not allowed.

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