// usbioctl.h
typedef struct _USB_NODE_CONNECTION_ATTRIBUTES {
ULONG ConnectionIndex;
USB_CONNECTION_STATUS ConnectionStatus;
ULONG PortAttributes;
} USB_NODE_CONNECTION_ATTRIBUTES, *PUSB_NODE_CONNECTION_ATTRIBUTES;
View the official Windows Driver Kit DDI referenceNo description available.
The USB_NODE_CONNECTION_ATTRIBUTES structure is used with the IOCTL_USB_GET_NODE_CONNECTION_ATTRIBUTES I/O control request to retrieve the attributes of a connection.
ConnectionIndexOn input to the IOCTL_USB_GET_NODE_CONNECTION_ATTRIBUTES I/O control request, this member contains the number of the port.
ConnectionStatusOn output from the IOCTL_USB_GET_NODE_CONNECTION_ATTRIBUTES I/O control request, this member contains a USB_CONNECTION_STATUS enumerator that indicates the connection status.
PortAttributesOn output from the IOCTL_USB_GET_NODE_CONNECTION_ATTRIBUTES I/O control request, this member contains the Microsoft-extended port attributes.
For Windows Vista, Windows Server 2008, and Windows 7 the Microsoft-extended port attributes field will always be zero.
For Windows XP and Windows Server 2003, PortAttributes value might be set to the Microsoft-extended port attributes, USB_PORTATTR_NO_OVERCURRENT_UI. This attribute indicates that no user-visible interface will be displayed when overcurrent occurs on the port.
IOCTL_USB_GET_NODE_CONNECTION_ATTRIBUTES