HidSpiCxDeviceInitConfig function (hidspicx.h)

The client driver must call HidSpiCxDeviceInitConfig in its EVT_WDF_DRIVER_DEVICE_ADD callback, before calling WdfDeviceCreate.

Syntax

NTSTATUS HidSpiCxDeviceInitConfig(
  PWDFDEVICE_INIT DeviceInit
);

Parameters

DeviceInit

A pointer to a WDFDEVICE_INIT object that the client received in its EVT_WDF_DRIVER_DEVICE_ADD routine.

Return value

NTSTATUS indicating whether the class extension was able to successfully initialize the structure.

Remarks

The class extension initializes private Plug-and-Play and power hooks for the device.

Requirements

Requirement Value
Minimum supported client Windows 11
Header hidspicx.h

See also

EVT_WDF_DRIVER_DEVICE_ADD

WdfDeviceCreate