Поделиться через


IOCTL_HID_GET_DEVICE_DESCRIPTOR control code

The IOCTL_HID_GET_DEVICE_DESCRIPTOR control code obtains the HID descriptor for a HIDClass device.

Input Buffer

To obtain the size of the buffer that is provided by the HID class driver, the UMDF-based HID minidriver calls IWDFRequest::GetDeviceIoControlParameters and supplies pOutBufferSize.

Output Buffer

The HID minidriver returns the device descriptor by filling the buffer that is obtained by calling IWDFRequest::GetOutputMemory.

Output Buffer Length

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

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_DESCRIPTOR

IOCTL_HID_GET_DEVICE_ATTRIBUTES

IOCTL_HID_GET_REPORT_DESCRIPTOR

IOCTL_UMDF_GET_PHYSICAL_DESCRIPTOR

 

 

Send comments about this topic to Microsoft