// usbioctl.h
typedef struct _USB_NODE_CONNECTION_INFORMATION_EX_V2 {
ULONG ConnectionIndex;
ULONG Length;
USB_PROTOCOLS SupportedUsbProtocols;
USB_NODE_CONNECTION_INFORMATION_EX_V2_FLAGS Flags;
} USB_NODE_CONNECTION_INFORMATION_EX_V2, *PUSB_NODE_CONNECTION_INFORMATION_EX_V2;
View the official Windows Driver Kit DDI referenceNo description available.
The USB_NODE_CONNECTION_INFORMATION_EX_V2 structure is used with the IOCTL_USB_GET_NODE_CONNECTION_INFORMATION_EX_V2 I/O control request to retrieve speed information about a Universal Serial Bus (USB) device that is attached to a particular port.
ConnectionIndexThe port number. If there are n ports on the USB hub, the ports are numbered from 1 to n. To get the number of ports, send the IOCTL_USB_GET_HUB_INFORMATION_EX I/O control request. The request retrieves the highest port number on the hub.
LengthThe number of bytes that are required to hold the USB_NODE_CONNECTION_INFORMATION_EX_V2 structure. The value must be set by the caller as input to the IOCTL_USB_GET_NODE_CONNECTION_INFORMATION_EX_V2 request.
SupportedUsbProtocolsThe USB signaling protocols that are supported by the port.
In the caller's IOCTL_USB_GET_NODE_CONNECTION_INFORMATION_EX_V2 request, the caller can set SupportedUsbProtocols to a bitwise OR of one or more flags defined in USB_PROTOCOLS.
Upon completion of the request, SupportedUsbProtocols contains flags, which indicate the protocols that are actually supported by the port.
FlagsA bitmask that indicates the properties and capabilities of the attached device or port. For more information, see USB_NODE_CONNECTION_INFORMATION_EX_V2_FLAGS.
IOCTL_USB_GET_NODE_CONNECTION_INFORMATION_EX_V2
USB_NODE_CONNECTION_INFORMATION_EX_V2_FLAGS