USB_NODE_CONNECTION_ATTRIBUTES structure (usbioctl.h)

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.

Syntax

typedef struct _USB_NODE_CONNECTION_ATTRIBUTES {
  ULONG                 ConnectionIndex;
  USB_CONNECTION_STATUS ConnectionStatus;
  ULONG                 PortAttributes;
} USB_NODE_CONNECTION_ATTRIBUTES, *PUSB_NODE_CONNECTION_ATTRIBUTES;

Members

ConnectionIndex

On input to the IOCTL_USB_GET_NODE_CONNECTION_ATTRIBUTES I/O control request, this member contains the number of the port.

ConnectionStatus

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

PortAttributes

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

Requirements

Requirement Value
Header usbioctl.h (include Usbioctl.h)

See also

IOCTL_USB_GET_NODE_CONNECTION_ATTRIBUTES

USB Structures

USB_CONNECTION_STATUS