Export (0) Print
Expand All
URB
Expand Minimize

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 ReservedMBZ  :30;
  };
} USB_PORT_PROPERTIES, *PUSB_PORT_PROPERTIES;

Members

ul

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

PortIsUserConnectable

If TRUE, the port is visible to the user and a USB device can be attached to or detached from the port.

PortIsDebugCapable

If TRUE, the port supports debugging over a USB connection.

ReservedMBZ

Reserved. Do not use.

Requirements

Minimum supported client

Windows 8

Minimum supported server

None supported

Header

Usbioctl.h (include Usbioctl.h)

See also

USB_PORT_CONNECTOR_PROPERTIES
IOCTL_USB_GET_PORT_CONNECTOR_PROPERTIES

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft