IOCTL_HID_GET_DEVICE_ATTRIBUTES - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

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

IOCTL_HID_GET_DEVICE_ATTRIBUTES IOCTL

Description

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

Major code

Input buffer

Parameters.DeviceIoControl.OutputBufferLength contains the length, in bytes, of the HID class driver's buffer located at Irp->UserBuffer.

Input buffer length

The size, in bytes, of the buffer must be greater than or equal to the size, in bytes, of a HID_DEVICE_ATTRIBUTES structure.

Output buffer

The HID minidriver returns the device attributes in a HID_DEVICE_ATTRIBUTES structure at Irp->UserBuffer.

Output buffer length

The size of a HID_DEVICE_ATTRIBUTES structure.

Input/output buffer

Input/output buffer length

Status block

The HID minidriver sets the following fields of Irp->IoStatus:

See also

HID_DEVICE_ATTRIBUTES

IOCTL_HID_GET_DEVICE_DESCRIPTOR