Description

Gets information about all available licenses according to the specified search parameters. To save the data about available licenses, the function allocates memory. To free the allocated memory, call the GrdFree() function.

Syntax

function GrdGetLicenseInfo(   
  visibilityJson: PAnsiChar;
  const codes: PGrdVendorCodes;
  licenseInfoList: PPointer): Integer; stdcall; external;

Parameters

visibilityJson [optional]

JSON search parameters defining the scope of the license search, see the visibility structure description for details

codes [optional]

Access codes assigned via the GrdVendorCodes structure

licenseInfoList
Pointer to the returned list of license information in JSON format

Return values

GRD_OK

GRD_FEATURE_NOT_FOUND

GRD_INVALID_PARAMETER

  • No labels