IOCTL_HID_GET_REPORT_DESCRIPTOR IOCTL (hidport.h)
The IOCTL_HID_GET_REPORT_DESCRIPTOR request obtains the report descriptor for a HIDClass device.
For general information about HIDClass devices, see HID Collections.
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.
Status block
HID minidrivers that carry out the I/O to the device set the following fields of Irp->IoStatus:
- Information is set to the number of bytes transferred from the device.
- Status is set to STATUS_SUCCESS if the transfer completed without error. Otherwise, it is set to an appropriate NTSTATUS error code.
Requirements
Requirement | Value |
---|---|
Header | hidport.h (include Hidport.h) |