EVT_HIDSPICX_RESETDEVICE callback function (hidspicx.h)
The EVT_HIDSPICX_RESETDEVICE callback function is implemented by the client driver to respond to requests to reset the device.
Syntax
EVT_HIDSPICX_RESETDEVICE EvtHidspicxResetdevice;
NTSTATUS EvtHidspicxResetdevice(
WDFDEVICE Device
)
{...}
Parameters
Device
A handle to a framework device object the client driver obtained from a previous call to WdfDeviceCreate.
Return value
NTSTATUS value indicating whether the reset was successful or not.
Remarks
The class extension will call this function only while the hardware is in a working state, at passive IRQL.
The client driver synchronously resets the device and returns a status code indicating whether the reset was successful.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 11 |
Header | hidspicx.h |
IRQL | PASSIVE_LEVEL |