IOCTL_HID_GET_DEVICE_ATTRIBUTES control code

The IOCTL_HID_GET_DEVICE_ATTRIBUTES control code obtains the attributes for a HIDClass device in a HID_DEVICE_ATTRIBUTES structure.

Input Buffer

The driver calls IWDFRequest::GetDeviceIoControlParameters with pOutBufferSize to retrieve the size, in bytes, of the HID class driver's buffer.

Input Buffer Length

The size of the buffer must be greater than or equal to the size of a HID_DEVICE_ATTRIBUTES structure.

Output Buffer

The HID minidriver returns the device attributes in a HID_DEVICE_ATTRIBUTES structure in the buffer obtained by calling IWDFIoRequest::GetOutputMemory.

Output Buffer Length

The size of a HID_DEVICE_ATTRIBUTES structure.

Status block

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

Requirements

Minimum UMDF version

1.11

Header

Hidport.h

See also

IOCTL_HID_GET_DEVICE_ATTRIBUTES

HID_DEVICE_ATTRIBUTES

IOCTL_HID_GET_DEVICE_DESCRIPTOR

 

 

Send comments about this topic to Microsoft