UMDF HID Minidriver IOCTLs

Starting in User-Mode Driver Framework (UMDF) version 1.11 and continuing in UMDF version 2.0, you can write a UMDF HID minidriver. For information on how to do this in UMDF version 1.11, see Creating UMDF-based HID Minidrivers. For information on how to access input and output buffers starting in UMDF version 2.0, see Accessing Data Buffers in WDF Drivers.

This section contains information about HID IOCTLs that your driver may support.

In this section

TopicDescription

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_INDEXED_STRING

The IOCTL_HID_GET_INDEXED_STRING control code obtains a specified embedded string for a top-level collection. The retrieved string is a NULL-terminated, wide character string in a human-readable format.

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

Show:
© 2014 Microsoft