The IOCTL_UMDF_HID_GET_INPUT_REPORT control code returns an input report from a HIDClass device.
A UMDF-based driver calls IWDFRequest::GetInputMemory to retrieve a memory buffer that contains the report ID of the collection.
Input buffer length
The size of the buffer retrieved by calling IWDFRequest::GetInputMemory.
A UMDF-based driver calls IWDFRequest::GetOutputMemory to retrieve a requester-allocated output buffer that it uses to return a feature report.
Output buffer length
The size of the buffer that is retrieved by calling IWDFIoRequest::GetOutputMemory.
HID minidrivers that carry out the I/O to the device must also:
- Call IWDFRequest::SetInformation to set the number of bytes transferred from the device.
- Call IWDFRequest::Complete with S_OK to complete the request without error. Otherwise, set the appropriate HRESULT error code.