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 Parameters

The driver calls IWDFRequest::GetDeviceIoControlParameters with pOutBufferSize to retrieve the size, in bytes, of the HID class driver's buffer. The size of the buffer must be greater than or equal to the size of a HID_DEVICE_ATTRIBUTES structure.

Output Parameters

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

I/O 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

Show:
© 2014 Microsoft