IOCTL_INTERNAL_USB_GET_TOPOLOGY_ADDRESS - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// usbioctl.h

// CTL_CODE(0x0022, 0x10f, METHOD_NEITHER, FILE_ANY_ACCESS)
#define IOCTL_INTERNAL_USB_GET_TOPOLOGY_ADDRESS 0x0022043F
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ni-usbioctl-ioctl_internal_usb_get_topology_address)

IOCTL_INTERNAL_USB_GET_TOPOLOGY_ADDRESS IOCTL

Description

The IOCTL_INTERNAL_USB_GET_TOPOLOGY_ADDRESS I/O request returns information about the host controller the USB device is attached to, and the device's location in the USB device tree.

IOCTL_INTERNAL_USB_GET_TOPOLOGY_ADDRESS 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.

Parameters

Major code

IRP_MJ_INTERNAL_DEVICE_CONTROL

Input buffer

Parameters.Others.Argument1 points to a USB_TOPOLOGY_ADDRESS structure to receive the device topology information.

Input buffer length

The size of a USB_TOPOLOGY_ADDRESS structure.

Output buffer

Parameters.Others.Argument1 points to a USB_TOPOLOGY_ADDRESS structure containing the device topology information.

Output buffer length

The size of a USB_TOPOLOGY_ADDRESS structure.

Input/output buffer

Input/output buffer length

Status block

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

See also

USB_TOPOLOGY_ADDRESS