Description

Switches the hardware key driver type.

Syntax

function GrdSetDriverType(
  const codes: PGrdVendorCodes;
  dongleId: grd_uint32;
  driverType: grd_uint32): Integer; stdcall;

Parameters

codes
Access codes assigned via the GrdVendorCodes (Delphi) structure
dongleId
Unique identifier (ID) of the hardware key
driverType

Flag indicating the type of the driver used:

  • GRD_DRIVER_TYPE_HID
  • GRD_DRIVER_TYPE_WINUSB
  • GRD_DRIVER_TYPE_VENDOR

Return values

GRD_OK

GRD_INVALID_HANDLE

  • No labels