// hidport.h
// CTL_CODE(0x000b, 0x003, METHOD_NEITHER, FILE_ANY_ACCESS)
#define IOCTL_HID_WRITE_REPORT 0x000B000F
View the official Windows Driver Kit DDI referenceNo description available.
The IOCTL_HID_WRITE_REPORT request sends a HID report to a HIDClass device.
For general information about HIDClass devices, see HID Collections.
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:
The size of a HID_XFER_PACKET structure.
None.
None.
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.
Specifies the report identifier, for this collection, of the report data to be written to the device.
A pointer to a resident buffer containing the data to be sent to the device.
Specifies the length of the buffer provided at reportBuffer.