IOCTL_HID_WRITE_REPORT control code
The IOCTL_HID_WRITE_REPORT control code sends a HID report to a HIDClass device.
The driver calls IWDFRequest::GetInputMemory to retrieve the buffer containing the report data to be sent to the device.
Input Buffer Length
To obtain the size of the buffer that is provided by the HID class driver, and the report identifier, for this collection, of the report to be written to the device, the driver calls IWDFRequest::GetDeviceIoControlParameters and supplies pInBufferSize and pOutBufferSize.
Output Buffer Length
HID minidrivers that carry out the I/O to the device must also:
- Call IWDFIoRequest::SetInformation with the number of bytes transferred to the device.
- Call IWDFIoRequest::Complete with S_OK to complete the request without error. Otherwise, set the appropriate HRESULT error code.
Minimum UMDF version