IOCTL_UMDF_HID_GET_FEATURE control code
The IOCTL_UMDF_HID_GET_FEATURE control code obtains a feature report from a HIDClass device.
A UMDF-based driver calls IWDFRequest::GetInputMemory to retrieve a requester-allocated input buffer that contains the report ID of the collection.
A UMDF-based driver calls IWDFRequest::GetOutputMemory to retrieve a requester-allocated output buffer. The driver uses the buffer to return a feature report.
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.
Minimum UMDF version