IOCTL_UMDF_HID_SET_FEATURE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// hidport.h

// CTL_CODE(0x000b, 0x014, METHOD_NEITHER, FILE_ANY_ACCESS)
#define IOCTL_UMDF_HID_SET_FEATURE 0x000B0053
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ni-hidport-ioctl_umdf_hid_set_feature)

IOCTL_UMDF_HID_SET_FEATURE IOCTL

Description

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

Parameters

Major code

Input buffer

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;

Input buffer length

None.

Output buffer

None.

Output buffer length

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

Input/output buffer

Input/output buffer length

Status block

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

See also

IOCTL_HID_SET_FEATURE

IOCTL_UMDF_HID_GET_FEATURE