WDF HID Minidriver IOCTLs

This section describes HID IOCTLs that your driver may support. It applies to Kernel-Mode Driver Framework (KMDF), as well as User-Mode Driver Framework (UMDF) versions 1.11 and 2.x. For information about writing a KMDF or UMDF HID minidriver, see Creating WDF-based HID Minidrivers. For information about how to access input and output buffers starting in UMDF version 2.0, see Accessing Data Buffers in WDF Drivers.

In this section

Topic Description

IOCTL_HID_ACTIVATE_DEVICE

The IOCTL_HID_ACTIVATE_DEVICE control code activates a HIDClass device, which makes it ready for I/O operations.

IOCTL_HID_DEACTIVATE_DEVICE

The IOCTL_HID_DEACTIVATE_DEVICE control code deactivates a HIDClass device, which causes it to stop operations and terminate all outstanding I/O requests.

IOCTL_HID_GET_DEVICE_ATTRIBUTES

The IOCTL_HID_GET_DEVICE_ATTRIBUTES control code obtains the attributes for a HIDClass device in a HID_DEVICE_ATTRIBUTES structure.

IOCTL_HID_GET_DEVICE_DESCRIPTOR

The IOCTL_HID_GET_DEVICE_DESCRIPTOR control code obtains the HID descriptor for a HIDClass device.

IOCTL_HID_GET_REPORT_DESCRIPTOR

The IOCTL_HID_GET_REPORT_DESCRIPTOR obtains the report descriptor for a HIDClass device.

IOCTL_HID_GET_STRING

The IOCTL_HID_GET_STRING control code obtains a manufacturer ID, product ID, or serial number for a top-level collection.

IOCTL_HID_READ_REPORT

The IOCTL_HID_READ_REPORT control code transfers an input report from a HIDClass device to the HID class driver's buffer.

IOCTL_HID_WRITE_REPORT

The IOCTL_HID_WRITE_REPORT control code sends a HID report to a HIDClass device.

IOCTL_UMDF_GET_PHYSICAL_DESCRIPTOR

The IOCTL_UMDF_GET_PHYSICAL_DESCRIPTOR control code obtains the physical descriptor of a HIDClass device.

IOCTL_UMDF_HID_GET_FEATURE

The IOCTL_UMDF_HID_GET_FEATURE control code obtains a feature report from a HIDClass device.

IOCTL_UMDF_HID_GET_INPUT_REPORT

The IOCTL_UMDF_HID_GET_INPUT_REPORT control code returns an input report from a HIDClass device.

IOCTL_UMDF_HID_SET_FEATURE

The IOCTL_UMDF_HID_GET_FEATURE control code sends a feature report to a HIDClass device.

IOCTL_UMDF_HID_SET_OUTPUT_REPORT

The IOCTL_UMDF_HID_SET_OUTPUT_REPORT control code sends an output report to a top-level collection.

 

 

 

Send comments about this topic to Microsoft