UDECX_WDF_DEVICE_CONFIG struttura (udecxwdfdevice.h)

Contiene puntatori alle funzioni di callback degli eventi implementate dal driver client UDE per un controller host USB. Inizializzare questa struttura chiamando UDECX_WDF_DEVICE_CONFIG_INIT.

Sintassi

typedef struct _UDECX_WDF_DEVICE_CONFIG {
  ULONG                                     Size;
  USHORT                                    NumberOfUsb20Ports;
  USHORT                                    NumberOfUsb30Ports;
  PFN_UDECX_WDF_DEVICE_QUERY_USB_CAPABILITY EvtUdecxWdfDeviceQueryUsbCapability;
  UDECX_WDF_DEVICE_RESET_ACTION             ResetAction;
  PFN_UDECX_WDF_DEVICE_RESET                EvtUdecxWdfDeviceReset;
} UDECX_WDF_DEVICE_CONFIG, *PUDECX_WDF_DEVICE_CONFIG;

Members

Size

Dimensione della struttura.

NumberOfUsb20Ports

Numero di porte USB 2.0 nell'hub radice del controller host emulato.

NumberOfUsb30Ports

Numero di porte USB 3.0 nell'hub radice del controller host emulato.

EvtUdecxWdfDeviceQueryUsbCapability

Puntatore a una funzione di callback EVT_UDECX_WDF_DEVICE_QUERY_USB_CAPABILITY .

ResetAction

Valore UDECX_WDF_DEVICE_RESET_ACTION tipo che indica l'azione di reimpostazione: ogni dispositivo collegato o il controller host.

EvtUdecxWdfDeviceReset

Puntatore a una funzione di callback EVT_UDECX_WDF_DEVICE_RESET .

Requisiti

Requisito Valore
Intestazione udecxwdfdevice.h (includere Udecx.h)

Vedi anche

UDECX_WDF_DEVICE_CONFIG_INIT

UdecxWdfDeviceAddUsbDeviceEmulation