USB_PORT_PROPERTIES unione (usbioctl.h)

L'unione USB_PORT_PROPERTIES viene usata per segnalare le funzionalità di una porta USB (Universal Serial Bus).

Le funzionalità delle porte vengono recuperate nella struttura USB_PORT_CONNECTOR_PROPERTIES dalla richiesta di controllo I/O IOCTL_USB_GET_PORT_CONNECTOR_PROPERTIES .

Sintassi

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

Maschera di bit che indica le proprietà e le funzionalità della porta.

PortIsUserConnectable

Se TRUE, la porta è visibile all'utente e un dispositivo USB può essere collegato o scollegato dalla porta.

PortIsDebugCapable

Se TRUE, la porta supporta il debug tramite una connessione USB.

PortHasMultipleCompanions

PortConnectorIsTypeC

ReservedMBZ

Riservato. Non usare.

Requisiti

Requisito Valore
Client minimo supportato Windows 8
Server minimo supportato Nessuno supportato
Intestazione usbioctl.h (include Usbioctl.h)

Vedi anche

IOCTL_USB_GET_PORT_CONNECTOR_PROPERTIES

USB_PORT_CONNECTOR_PROPERTIES