Partager via


UCX_USBDEVICE_EVENT_CALLBACKS structure (ucxusbdevice.h)

Cette structure fournit une liste des fonctions de rappel d’événement de périphérique USB UCX.

Syntaxe

typedef struct _UCX_USBDEVICE_EVENT_CALLBACKS {
  ULONG                                  Size;
  PFN_UCX_USBDEVICE_ENDPOINTS_CONFIGURE  EvtUsbDeviceEndpointsConfigure;
  PFN_UCX_USBDEVICE_ENABLE               EvtUsbDeviceEnable;
  PFN_UCX_USBDEVICE_DISABLE              EvtUsbDeviceDisable;
  PFN_UCX_USBDEVICE_RESET                EvtUsbDeviceReset;
  PFN_UCX_USBDEVICE_ADDRESS              EvtUsbDeviceAddress;
  PFN_UCX_USBDEVICE_UPDATE               EvtUsbDeviceUpdate;
  PFN_UCX_USBDEVICE_HUB_INFO             EvtUsbDeviceHubInfo;
  PFN_UCX_USBDEVICE_DEFAULT_ENDPOINT_ADD EvtUsbDeviceDefaultEndpointAdd;
  PFN_UCX_USBDEVICE_ENDPOINT_ADD         EvtUsbDeviceEndpointAdd;
  PFN_UCX_USBDEVICE_SUSPEND              EvtUsbDeviceSuspend;
  PFN_UCX_USBDEVICE_RESUME               EvtUsbDeviceResume;
  PFN_UCX_USBDEVICE_GET_CHARACTERISTIC   EvtUsbDeviceGetCharacteristic;
} UCX_USBDEVICE_EVENT_CALLBACKS, *PUCX_USBDEVICE_EVENT_CALLBACKS;

Membres

Size

Taille en octets de cette structure.

EvtUsbDeviceEndpointsConfigure

Pointeur vers une fonction de rappel EVT_UCX_USBDEVICE_ENDPOINTS_CONFIGURE .

EvtUsbDeviceEnable

Pointeur vers une fonction de rappel EVT_UCX_USBDEVICE_ENABLE .

EvtUsbDeviceDisable

Pointeur vers une fonction de rappel EVT_UCX_USBDEVICE_DISABLE .

EvtUsbDeviceReset

Pointeur vers une fonction de rappel EVT_UCX_USBDEVICE_RESET .

EvtUsbDeviceAddress

Pointeur vers une fonction de rappel EVT_UCX_USBDEVICE_ADDRESS .

EvtUsbDeviceUpdate

Pointeur vers une fonction de rappel EVT_UCX_USBDEVICE_UPDATE .

EvtUsbDeviceHubInfo

Pointeur vers une fonction de rappel EVT_UCX_USBDEVICE_HUB_INFO .

EvtUsbDeviceDefaultEndpointAdd

Pointeur vers une fonction de rappel EVT_UCX_USBDEVICE_DEFAULT_ENDPOINT_ADD .

EvtUsbDeviceEndpointAdd

Pointeur vers une fonction de rappel EVT_UCX_USBDEVICE_ENDPOINT_ADD .

EvtUsbDeviceSuspend

Pointeur vers une fonction de rappel EVT_UCX_USBDEVICE_SUSPEND .

EvtUsbDeviceResume

Pointeur vers une fonction de rappel EVT_UCX_USBDEVICE_RESUME .

EvtUsbDeviceGetCharacteristic

Pointeur vers une fonction de rappel EVT_UCX_USBDEVICE_GET_CHARACTERISTIC .

Configuration requise

Condition requise Valeur
En-tête ucxusbdevice.h (inclure Ucxclass.h)

Voir aussi

UCX_USBDEVICE_EVENT_CALLBACKS_INIT

UcxUsbDeviceInitSetEventCallbacks