IOCTL_INTERNAL_USB_GET_DEVICE_CONFIG_INFO IOCTL

The IOCTL_INTERNAL_USB_GET_DEVICE_CONFIG_INFO I/O request returns information about a USB device and the hub it is attached to.

IOCTL_INTERNAL_USB_GET_DEVICE_CONFIG_INFO is a kernel-mode I/O control request. This request targets the USB hub PDO. This request must be sent at an IRQL of DISPATCH_LEVEL or lower.

Major Code

IRP_MJ_DEVICE_CONTROL

Input Buffer

Parameters.Others.Argument1 points to a HUB_DEVICE_CONFIG_INFO structure to receive the device configuration information.

Input Buffer Length

The size of a HUB_DEVICE_CONFIG_INFO structure.

Output Buffer

Parameters.Others.Argument1 points to a HUB_DEVICE_CONFIG_INFO structure containing the device configuration information.

Output Buffer Length

The size of a HUB_DEVICE_CONFIG_INFO structure.

Status Block

The hub or port driver sets Irp->IoStatus.Status to STATUS_SUCCESS or the appropriate error status.

Remarks

Upon successful completion, the HardwareIds, CompatibleIds, DeviceDescription USB_ID_STRING structures contained in the HUB_DEVICE_CONFIG_INFO structure points to string buffers allocated by the hub driver. The caller driver is responsible for releasing these buffers before the driver unloads.

Requirements

   
Windows version Windows Vista and later operating systems.
Header usbioctl.h (include Usbioctl.h)

See Also

HUB_DEVICE_CONFIG_INFO

USB_ID_STRING