// hidport.h
// CTL_CODE(0x000b, 0x009, METHOD_NEITHER, FILE_ANY_ACCESS)
#define IOCTL_HID_GET_DEVICE_ATTRIBUTES 0x000B0027
View the official Windows Driver Kit DDI referenceNo description available.
The IOCTL_HID_GET_DEVICE_ATTRIBUTES request obtains a HIDClass device's attributes in a HID_DEVICE_ATTRIBUTES structure.
For general information about HIDClass devices, see HID Collections.
Parameters.DeviceIoControl.OutputBufferLength contains the length, in bytes, of the HID class driver's buffer located at Irp->UserBuffer.
The size, in bytes, of the buffer must be greater than or equal to the size, in bytes, of a HID_DEVICE_ATTRIBUTES structure.
The HID minidriver returns the device attributes in a HID_DEVICE_ATTRIBUTES structure at Irp->UserBuffer.
The size of a HID_DEVICE_ATTRIBUTES structure.
The HID minidriver sets the following fields of Irp->IoStatus:
IOCTL_HID_GET_DEVICE_DESCRIPTOR