Bewerken

Delen via


IOCTL_UMDF_HID_GET_FEATURE IOCTL (hidport.h)

The IOCTL_UMDF_HID_GET_FEATURE control code obtains a feature report from a HIDClass device.

Major code

IRP_MJ_DEVICE_CONTROL

Input buffer

A UMDF-based driver calls IWDFRequest::GetInputMemory to retrieve a requester-allocated input buffer that contains the report ID of the collection.

Input buffer length

The size of the buffer obtained by calling IWDFRequest::GetInputMemory.

Output buffer

A UMDF-based driver calls IWDFRequest::GetOutputMemory to retrieve a requester-allocated output buffer. The driver uses the buffer to return a feature report.

Output buffer length

The size of the buffer that is retrieved by calling IWDFIoRequest::GetOutputMemory.

Status block

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

Requirements

Requirement Value
Header hidport.h

See also

IOCTL_HID_GET_FEATURE

IOCTL_UMDF_HID_SET_FEATURE