HIDSPICX_DEVICE_CONFIG_INIT - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// hidspicx.h

VOID HIDSPICX_DEVICE_CONFIG_INIT(
  PHIDSPICX_DEVICE_CONFIG       DeviceConfig,
  PFN_HIDSPICX_RESETDEVICE      EvtResetDevice,
  PFN_HIDSPICX_NOTIFY_POWERDOWN EvtNotifyPowerDown,
  WDFQUEUE                      InputReportQueue,
  WDFQUEUE                      OutputReportQueue
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-hidspicx-hidspicx_device_config_init)

Description

The HIDSPICX_DEVICE_CONFIG_INIT routine is used to initialize a HIDSPICX_DEVICE_CONFIG structure before passing it to the to the HidSpiCxDeviceConfigure function.

Parameters

DeviceConfig

A pointer to the client driver-allocated HIDSPICX_DEVICE_CONFIG structure.

EvtResetDevice

A pointer to the client driver's implementation of the EVT_HIDSPICX_RESETDEVICE callback function.

EvtNotifyPowerDown

A pointer to the client driver's implementation of the EVT_HIDSPICX_NOTIFY_POWERDOWN callback function.

InputReportQueue

A WDFQUEUE handle to a client-created, non-power-managed, queue for receipt of input report requests from the HID SPI class extension.

OutputReportQueue

A WDFQUEUE handle to a client-created, non-power-managed, queue for receipt of output report requests from the HID SPI class extension.

Remarks

Before passing a HIDSPICX_DEVICE_CONFIG structure pointer to the HidSpiCxDeviceConfigure function, it must first be initialized by a call to this macro.

See also

HidSpiCxDeviceConfigure

HIDSPICX_DEVICE_CONFIG

EVT_HIDSPICX_RESETDEVICE

EVT_HIDSPICX_NOTIFY_POWERDOWN