// hidport.h
// CTL_CODE(0x000b, 0x016, METHOD_NEITHER, FILE_ANY_ACCESS)
#define IOCTL_UMDF_HID_SET_OUTPUT_REPORT 0x000B005B
View the official Windows Driver Kit DDI referenceNo description available.
The IOCTL_UMDF_HID_SET_OUTPUT_REPORT control code sends an output report to a top-level collection.
A UMDF-based driver calls IWDFRequest::GetInputMemory to retrieve a requester-allocated input buffer that contains an output report.
The driver retrieves the report ID associated with the top-level collection by calling IWDFRequest::GetDeviceIoControlParameters and providing the pOutBufferSize parameter, as shown in the following example.
UCHAR reportId;
SIZE_T outBufferSize;
FxRequest->GetDeviceIoControlParameters(NULL, NULL, &outBufferSize);
reportId = (UCHAR)outBufferSize;
None.
None.
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:
IOCTL_UMDF_HID_GET_INPUT_REPORT