VLSucgAllowUpgradeCode

Syntax

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

iHandle

Instance handle for this library.

ucodeP

The pointer to ucodeT struct.

Description

Identifies whether the corresponding VLSucgSetUpgradeCode should be called or not.

Only if the VLSucgAllowUpgradeCode returns 1 then the corresponding VLSucgSetUpgradeCode 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

VLSucgSetUpgradeCode is allowed.

0

VLSucgSetUpgradeCode is not allowed

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