IOCTL_HID_DEACTIVATE_DEVICE IOCTL (hidport.h)
The IOCTL_HID_DEACTIVATE_DEVICE request deactivates a HIDClass device, which causes it to stop operations and terminate all outstanding I/O requests.
For general information about HIDClass devices, see HID Collections.
Major code
Input buffer
Parameters.DeviceIoControl.Type3InputBuffer contains the collection identifier, as a ULONG value, of the collection that is ceasing operations.
Input buffer length
The length of a ULONG value.
Output buffer
None.
Output buffer length
None
Status block
HID minidrivers that carry out the I/O to the device set the following fields of Irp->IoStatus:
- Information is set to zero.
- Status is set to STATUS_SUCCESS if the transfer completed without error. Otherwise, it is set to an appropriate NTSTATUS error code.
Requirements
Requirement | Value |
---|---|
Header | hidport.h (include Hidport.h) |