IOCTL_HID_DEACTIVATE_DEVICE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// hidport.h

// CTL_CODE(0x000b, 0x008, METHOD_NEITHER, FILE_ANY_ACCESS)
#define IOCTL_HID_DEACTIVATE_DEVICE 0x000B0023
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ni-hidport-ioctl_hid_deactivate_device)

IOCTL_HID_DEACTIVATE_DEVICE IOCTL

Description

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.

Parameters

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

Input/output buffer

Input/output buffer length

Status block

HID minidrivers that carry out the I/O to the device set the following fields of Irp->IoStatus:

HID minidrivers that call other drivers with this IRP to carry out the I/O to their device should ensure that the Information field of the status block is zero and must not change the contents of the Status field.

See also

IOCTL_HID_ACTIVATE_DEVICE