IOCTL_HID_DEACTIVATE_DEVICE control code
The IOCTL_HID_DEACTIVATE_DEVICE control code deactivates a HIDClass device, which causes it to stop operations and terminate all outstanding I/O requests.
The driver calls IWDFIoRequest::GetInputMemory to retrieve the buffer that contains a collection identifier, as a ULONG value, of the collection to activate or deactivate.
HID minidrivers that carry out the I/O request to the device must also:
- Call IWDFIoRequest::SetInformation to set the number of bytes to zero.
- Call IWDFIoRequest::Complete with S_OK to complete the request without error. Otherwise, set the appropriate HRESULT error code.
Minimum UMDF version