2.2.12.6 IOCTL_INTERNAL_USB_GET_BUS_INFO

This USB IOCTL is specified in [MSFT-W2KDDK], Volume 2, Part 4, Chapter 1.

The server converts this IOCTL into an IO_CONTROL message with the IoControlCode field set to IOCTL_INTERNAL_USB_GET_BUS_INFO, the InputBufferSize field set to zero, and the OutputBufferSize field set to the size of USB_BUS_NOTIFICATION as specified in [MSFT-W2KDDK], Volume 2, Part 4, Chapter 1.

In response to the IO_CONTROL message, an IOCONTROL_COMPLETION message is sent with the final result of the operation. If the operation is successful, the client MUST set the OutputBufferSize field to size of USB_BUS_NOTIFICATION and set the OutputBuffer field to USB_BUS_NOTIFICATION. If the operation is not successful, the client MUST set the OutputBufferSize field to zero.