SetupDiOpenDevRegKey function setupapi

int SetupDiOpenDevRegKey(
  1. int DeviceInfoSet,
  2. Pointer<SP_DEVINFO_DATA> DeviceInfoData,
  3. int Scope,
  4. int HwProfile,
  5. int KeyType,
  6. int samDesired,
)

The SetupDiOpenDevRegKey function opens a registry key for device-specific configuration information.

HKEY SetupDiOpenDevRegKey(
  HDEVINFO         DeviceInfoSet,
  PSP_DEVINFO_DATA DeviceInfoData,
  DWORD            Scope,
  DWORD            HwProfile,
  DWORD            KeyType,
  REGSAM           samDesired
);

Implementation

int SetupDiOpenDevRegKey(
  int DeviceInfoSet,
  Pointer<SP_DEVINFO_DATA> DeviceInfoData,
  int Scope,
  int HwProfile,
  int KeyType,
  int samDesired,
) => _SetupDiOpenDevRegKey(
  DeviceInfoSet,
  DeviceInfoData,
  Scope,
  HwProfile,
  KeyType,
  samDesired,
);