VLScgInitialize
Syntax
int VLScgInitialize (VLScg_HANDLE *iHandleP);
Argument | Description |
iHandleP |
The pointer to the instance handle for this library. Provides access to the internal data structure. |
Description
Required library initialization call. Every API call requires a valid handle. This function allocates resources required for generating licenses. This function must be called before using any other VLScgXXX function.
Returns
The status code VLScg_SUCCESS is returned, if successful. Otherwise, it will return the following error codes:
Error Code | Description |
VLScg_MAX_LIMIT_CROSSED |
No more handles left. |
VLScg_BAD_HANDLE |
Invalid handle. |
VLScg_LICMETER_NOT_ SUPPORTED |
Your Sentinel RMS license meter is not supported. |
For the complete list of the error codes, refer to License Generation and Revocation Error Codes .