VLScgGetLibInfo

Syntax

int VLScgGetLibInfo (VLScg_LIBVERSION *pStruct);
/* Structure definition */
typedef struct {
long structSz;
char szVersion [LIBINFOLEN];
} VLScg_LIBVERSION;

 

Argument Description
structSz

The user must allocate a buffer prior to calling this API. It must be filled by the user. Else, VLScg_INVALID_INPUT is returned.

szVersion

The version of the license generator library.

Description

Contains memory information about the license generator library currently being used in the structure pointed to by pStruct. Memory space for pStruct must be allocated by the caller.

Returns

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

Error Code Description

VLScg_INVALID_INPUT

Input values for the IN/OUT structure parameter are incorrect.

For the complete list of error codes, refer to License Generation and Revocation Error Codes