USB_PORT_PROPERTIES union

The USB_PORT_PROPERTIES union is used to report the capabilities of a Universal Serial Bus (USB) port.

The port capabilities are retrieved in the USB_PORT_CONNECTOR_PROPERTIES structure by the IOCTL_USB_GET_PORT_CONNECTOR_PROPERTIES I/O control request.

Syntax

typedef union _USB_PORT_PROPERTIES {
  ULONG  ul;
  struct {
    ULONG PortIsUserConnectable : 1;
    ULONG PortIsDebugCapable : 1;
    ULONG PortHasMultipleCompanions : 1;
    ULONG PortConnectorIsTypeC : 1;
    ULONG ReservedMBZ : 28;
  };
} USB_PORT_PROPERTIES, *PUSB_PORT_PROPERTIES;

Members

ul

A bitmask that indicates the properties and capabilities of the port.

__unnamed_struct_0bc2_6

__unnamed_struct_0bc2_6.PortIsUserConnectable

__unnamed_struct_0bc2_6.PortIsDebugCapable

__unnamed_struct_0bc2_6.PortHasMultipleCompanions

__unnamed_struct_0bc2_6.PortConnectorIsTypeC

__unnamed_struct_0bc2_6.ReservedMBZ

Requirements

   
Minimum supported client Windows 8
Minimum supported server None supported
Header usbioctl.h (include Usbioctl.h)

See Also

IOCTL_USB_GET_PORT_CONNECTOR_PROPERTIES

USB_PORT_CONNECTOR_PROPERTIES