VLScgSetLoadSWLicFile
Syntax
int VLScgSetLoadSWLicFile (VLScg_HANDLE iHandle, char *filename);
Argument | Description |
iHandle |
The instance handle for this library. |
filename |
Complete name and path of the software license file. |
Description
Sets and loads the software license file (lscgen.lic).
Returns
The status code VLScg_SUCCESS is returned if successful. Otherwise, a specific error codes is returned indicating the reason for failure.
Error Code | Description |
VLScg_INVALID_INPUT |
One or more input parameters are invalid. |
VLScg_BUFFER_TOO_SMALL |
If the input size of the specified buffer for storing hash is smaller than what is required. |
For the complete list of the error codes, refer to License Generation and Revocation Error Codes .