// hidspicx.h
EVT_HIDSPICX_RESETDEVICE EvtHidspicxResetdevice;
NTSTATUS EvtHidspicxResetdevice(
WDFDEVICE Device
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The EVT_HIDSPICX_RESETDEVICE callback function is implemented by the client driver to respond to requests to reset the device.
DeviceA handle to a framework device object the client driver obtained from a previous call to WdfDeviceCreate.
NTSTATUS value indicating whether the reset was successful or not.
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.