The IOCTL_HID_DEVICERESET_NOTIFICATION request is sent by the HID client driver to HID class driver to wait for a device-initiated reset event. This request can also be sent by the HID Class driver to the HID Minidriver to wait for a device-initiated reset event.
Only one device reset notification request is allowed at any one time.
A HID minidriver can enable this feature by adding a registry value in the INF file. The DeviceResetNotificationEnabled under the device's hardware key must be set to 1 to enable the feature. Here is an example:
AddReg = hidi2c_Device.Filter.AddReg, hidi2c_Device.Configuration.AddReg
Input buffer length
Output buffer length
Irp->IoStatus.Status is set to STATUS_SUCCESS if the request is successful. Otherwise, Status to the appropriate error condition as a NTSTATUS code.
|Header||hidclass.h (include Hidclass.h)|