IOCTL_UMDF_GET_PHYSICAL_DESCRIPTOR IOCTL (hidport.h)

The IOCTL_UMDF_GET_PHYSICAL_DESCRIPTOR control code obtains the physical descriptor of a HIDClass device.

Major code

IRP_MJ_DEVICE_CONTROL

Input buffer

A UMDF-based driver obtains the size, in bytes, of the buffer by calling IWDFRequest::GetDeviceIoControlParameters and providing the pOutBufferSize parameter.

Output buffer

The driver copies the physical descriptor to the user buffer that is retrieved by calling IWDFIoRequest::GetOutputMemory.

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_GET_PHYSICAL_DESCRIPTOR