// 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 referenceNo description available.
The HIDSPICX_DEVICE_CONFIG_INIT routine is used to initialize a HIDSPICX_DEVICE_CONFIG structure before passing it to the to the HidSpiCxDeviceConfigure function.
DeviceConfigA pointer to the client driver-allocated HIDSPICX_DEVICE_CONFIG structure.
EvtResetDeviceA pointer to the client driver's implementation of the EVT_HIDSPICX_RESETDEVICE callback function.
EvtNotifyPowerDownA pointer to the client driver's implementation of the EVT_HIDSPICX_NOTIFY_POWERDOWN callback function.
InputReportQueueA WDFQUEUE handle to a client-created, non-power-managed, queue for receipt of input report requests from the HID SPI class extension.
OutputReportQueueA WDFQUEUE handle to a client-created, non-power-managed, queue for receipt of output report requests from the HID SPI class extension.
Before passing a HIDSPICX_DEVICE_CONFIG structure pointer to the HidSpiCxDeviceConfigure function, it must first be initialized by a call to this macro.