IOCTL_UMDF_HID_SET_FEATURE control code

The IOCTL_UMDF_HID_GET_FEATURE control code sends a feature report to a HIDClass device.

Input Parameters

A UMDF-based driver calls IWDFRequest::GetInputMemory to retrieve a requester-allocated input buffer that contains a feature 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;


Output Parameters

None.

I/O Status Block

HID minidrivers that carry out the I/O to the device must also:

Requirements

Minimum UMDF version

1.11

Header

Hidport.h

See also

IOCTL_HID_SET_FEATURE
IOCTL_UMDF_HID_GET_FEATURE

 

 

Send comments about this topic to Microsoft

显示:
© 2014 Microsoft