IOCTL_INTERNAL_USB_GET_BUS_INFO IOCTL

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.

Major Code

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

Status Block

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

Requirements

   
Header usbioctl.h (include Usbioctl.h)

See Also

USB_BUS_NOTIFICATION