IOCTL_HID_WRITE_REPORT IOCTL (hidport.h)
The IOCTL_HID_WRITE_REPORT request sends a HID report to a HIDClass device.
For general information about HIDClass devices, see HID Collections.
Major code
Input buffer
Irp->UserBuffer points to a HID_XFER_PACKET structure the contains the parameters and report to be transmitted to the device. The following members are used:
Input buffer length
The size of a HID_XFER_PACKET structure.
Output buffer
None.
Output buffer length
None.
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 to 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) |