HIDSPICX_DEVICE_CONFIG structure (hidspicx.h)
The HIDSPICX_DEVICE_CONFIG structure provides configuration information to the class extension.
Syntax
typedef struct _HIDSPICX_DEVICE_CONFIG {
ULONG Size;
PFN_HIDSPICX_RESETDEVICE EvtResetDevice;
PFN_HIDSPICX_NOTIFY_POWERDOWN EvtNotifyPowerDown;
WDFQUEUE InputReportQueue;
WDFQUEUE OutputReportQueue;
ULONG NumberOfInputReportRequestsToPend;
ULONG Reserved;
} HIDSPICX_DEVICE_CONFIG, *PHIDSPICX_DEVICE_CONFIG;
Members
Size
This field is set by the HIDSPICX_DEVICE_CONFIG_INIT function.
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.
NumberOfInputReportRequestsToPend
Optional: Specifies how many requests are to be placed in the input report queue at a given time. If this is zero, the class extension will choose a default.
Reserved
Must be zero and should not be explicitly set by client drivers.
Remarks
Instances of this structure must be initialized by calling the HIDSPICX_DEVICE_CONFIG_INIT function.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 11 |
Header | hidspicx.h |