IOCTL_HID_SET_FEATURE control code
IOCTL_HID_SET_FEATURE sends a feature report to a HIDClass device.
For general information about HIDClass devices, see HID Collections.
Irp->UserBuffer points to a HID_XFER_PACKET structure that the HID class driver uses to input the following members:
Pointer to a requester-allocated input buffer that contains a feature report.
Specifies the size, in bytes, of the input buffer.
Specifies the report ID for a top-level collection .
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.
HID minidrivers that call other drivers with this IOCTL to carry out the I/O, should ensure that the Information field of the status block is correct and not change the contents of the Status field.