HIDSPICX_DEVICE_CONFIG_INIT function (hidspicx.h)
The HIDSPICX_DEVICE_CONFIG_INIT routine is used to initialize a HIDSPICX_DEVICE_CONFIG structure before passing it to the to the HidSpiCxDeviceConfigure function.
Syntax
void HIDSPICX_DEVICE_CONFIG_INIT(
PHIDSPICX_DEVICE_CONFIG DeviceConfig,
PFN_HIDSPICX_RESETDEVICE EvtResetDevice,
PFN_HIDSPICX_NOTIFY_POWERDOWN EvtNotifyPowerDown,
WDFQUEUE InputReportQueue,
WDFQUEUE OutputReportQueue
);
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.
Return value
None
Remarks
Before passing a HIDSPICX_DEVICE_CONFIG structure pointer to the HidSpiCxDeviceConfigure function, it must first be initialized by a call to this macro.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 11 |
Header | hidspicx.h |