ENDPOINTS_CONFIGURE struttura (ucxendpoint.h)

Descrive gli endpoint per abilitare o disabilitare gli endpoint. Questa struttura viene passata da UCX nella funzione di callback EVT_UCX_USBDEVICE_ENDPOINTS_CONFIGURE .

Sintassi

typedef struct _ENDPOINTS_CONFIGURE {
  USBDEVICE_MGMT_HEADER             Header;
  ULONG                             EndpointsToEnableCount;
  UCXENDPOINT                       *EndpointsToEnable;
  ULONG                             EndpointsToDisableCount;
  UCXENDPOINT                       *EndpointsToDisable;
  ULONG                             EndpointsEnabledAndUnchangedCount;
  UCXENDPOINT                       *EndpointsEnabledAndUnchanged;
  ENDPOINTS_CONFIGURE_FAILURE_FLAGS FailureFlags;
  ULONG                             ExitLatencyDelta;
  UCHAR                             ConfigurationValue;
  UCHAR                             InterfaceNumber;
  UCHAR                             AlternateSetting;
  ULONG                             Reserved1;
  PVOID                             Reserved2;
} ENDPOINTS_CONFIGURE, *PENDPOINTS_CONFIGURE;

Members

Header

Struttura USBDEVICE_MGMT_HEADER che archivia gli handle nell'hub USB o nel dispositivo i cui endpoint.

EndpointsToEnableCount

Numero di endpoint da configurare.

EndpointsToEnable

Puntatore al primo handle endpoint nella matrice di endpoint da abilitare.

EndpointsToDisableCount

Numero di endpoint da configurare.

EndpointsToDisable

Puntatore al primo handle endpoint nella matrice di endpoint da abilitare.

EndpointsEnabledAndUnchangedCount

Numero di endpoint abilitati e invariati.

EndpointsEnabledAndUnchanged

Puntatore al primo handle endpoint nella matrice di endpoint che non sono stati modificati.

FailureFlags

Gli errori, se presenti, che potrebbero verificarsi quando si tenta di configurare gli endpoint per il dispositivo o l'hub USB.

ExitLatencyDelta

Valore Exit Latency Delta (ELD). Per altre informazioni, vedere la sezione 4.6.6.1 della specifica dell'interfaccia del controller host eXtensible.

ConfigurationValue

Numero di configurazione della configurazione USB che contiene gli endpoint.

InterfaceNumber

Numero di interfaccia dell'interfaccia USB che contiene gli endpoint.

AlternateSetting

Numero di impostazione dell'impostazione alternativa contenente gli endpoint.

Reserved1

Reserved2

Requisiti

Requisito Valore
Intestazione ucxendpoint.h (includere Ucxclass.h, Ucxendpoint.h)

Vedi anche

EVT_UCX_USBDEVICE_ENDPOINTS_CONFIGURE