IOCTL_INTERNAL_USB_GET_BUS_INFO - NtDoc

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

// CTL_CODE(0x0022, 0x108, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_INTERNAL_USB_GET_BUS_INFO 0x00220420
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

IOCTL_INTERNAL_USB_GET_BUS_INFO IOCTL

Description

The IOCTL_INTERNAL_USB_GET_BUS_INFO I/O request queries the bus driver for certain bus information.

IOCTL_INTERNAL_USB_GET_BUS_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 PASSIVE_LEVEL.

Parameters

Major code

IRP_MJ_INTERNAL_DEVICE_CONTROL

Input buffer

Parameters.Others.Argument1 should be a pointer to a USB_BUS_NOTIFICATION structure.

Input buffer length

The size of a USB_BUS_NOTIFICATION structure.

Output buffer

Parameters.Others.Argument1 points to a USB_BUS_NOTIFICATION structure that has the TotalBandwidth, ConsumedBandwidth, and ControllerNameLength fields filled in.

Output buffer length

The size of a USB_BUS_NOTIFICATION structure.

Input/output buffer

Input/output buffer length

Status block

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

See also

USB_BUS_NOTIFICATION