IOCTL_HID_GET_REPORT_DESCRIPTOR - NtDoc

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

// CTL_CODE(0x000b, 0x001, METHOD_NEITHER, FILE_ANY_ACCESS)
#define IOCTL_HID_GET_REPORT_DESCRIPTOR 0x000B0007
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

IOCTL_HID_GET_REPORT_DESCRIPTOR IOCTL

Description

The IOCTL_HID_GET_REPORT_DESCRIPTOR request obtains the report descriptor for a HIDClass device.

For general information about HIDClass devices, see HID Collections.

Parameters

Major code

Input buffer

Parameters.DeviceIoControl.OutputBufferLength specifies the length, in bytes, of the locked-down buffer at Irp->UserBuffer.

Input buffer length

The size of OutputBufferLength.

Output buffer

The HID minidriver fills the buffer at Irp->UserBuffer with the report descriptor.

Output buffer length

The size of the report descriptor.

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 IOCTL to carry out the I/O to their device, should ensure that the Information field of the status block is correct and not change the contents of the Status field.

See also

IOCTL_GET_PHYSICAL_DESCRIPTOR

IOCTL_HID_GET_DEVICE_DESCRIPTOR