VLSucgInitialize

Syntax

int VLSucgInitialize ( VLSucg_HANDLE  *iHandle);
Argument Description

iHandle

The pointer to instance handle for this library provides access to the internal data structure.

Description

Initializes the upgrade codegen library.

VLSucgInitialize should be called before any other APIs. VLSucgInitialize returns a unique handle, which is used in all the other APIs of this library.

Returns

The status code VLScg_SUCCESS is returned if successful. Otherwise, it will return the following error codes:

Error Code Description

VLSucg_BAD_HANDLE

Call VLSucgCleanup to free the resources associated with the invalid handle.

VLSucg_MAX_LIMIT_CROSSED

Library has crossed the limit of maximum handles it can allocate.

VLSucg_LICMETER_NOT_ SUPPORTED

Your Sentinel RMS License Meter is not supported.

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