Description

Logs into the given Feature to create a session according to the predefined search parameters.

Syntax

function GrdFeatureLogin(
  featureId: grd_uint32;
  const codes: PGrdVendorCodes;   
  visibilityJson: PAnsiChar;
  handle: PGrdHandle): Integer; stdcall; external;

Parameters

featureId
Unique identifier of the Feature
codes
Vendor Access Codes, GrdVendorCodes
visibilityJson [optional]
JSON search parameters defining the scope of the license search, see the visibility structure description for details
handle
Pointer to the result session handle

Return values

GRD_OK

GRD_FEATURE_NOT_FOUND

GRD_INVALID_FEATURE

GRD_INVALID_PARAMETER

  • No labels