VLSucgAllowUpgradeVersion

Syntax

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

Instance handle for this library.

ucodeP

The pointer to ucodeT struct.

Description

Indicates whether the corresponding VLSucgSetUpgradeVersion should be called or not.

Only if the VLSucgAllowUpgradeVersion returns 1 then the corresponding VLSucgSetUpgradeVersion 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

VLSucgSetUpgradeVersion is allowed

0

VLSucgSetUpgradeVersion is not allowed

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