VLScgGetTrialLicenseMeterUnits

Syntax

int VLScgGetTrialLicenseMeterUnits (VLScg_HANDLE iHandle, int units, int *units, int codegen_version);

Syntax

int VLScgGetTrialLicenseMeterUnits (VLScg_HANDLE iHandle, int *units, int *units, int codegen_version);

Argument

Description

iHandle

The instance handle for this library.

units

The number of licenses available.

codegen_version

Version of the code generator.

Description

Returns the number of trial license generation units available in the attached license meter.

Returns

The status code VLScg_SUCCESS is returned, if successful. Otherwise, a specific error code is returned indicating the reason for failure.

Error Code Description

VLScg_INVALID_INT_TYPE

If the value is not a non-negative integer.

VLScg_EXCEEDS_MAX_VALUE

If the value is more than 3.

VLScg_LESS_THAN_MIN_VALUE

If the value is less than 0.

   

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