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.
Input Buffer
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.
Input Buffer Length
The size of a ULONG value.
Output Buffer
None.
Output Buffer Length
None.
Status block
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.
Requirements
Minimum UMDF version |
1.11 |
Header |
Hidport.h |
See also