Partager via


structure UDECX_USB_DEVICE_STATE_CHANGE_CALLBACKS (udecxusbdevice.h)

Initialise une structure UDECX_USB_DEVICE_STATE_CHANGE_CALLBACKS avec des pointeurs vers des fonctions de rappel implémentées par un client UDE pour un périphérique USB virtuel.

Syntaxe

typedef struct _UDECX_USB_DEVICE_STATE_CHANGE_CALLBACKS {
  ULONG                                              Size;
  PFN_UDECX_USB_DEVICE_D0_ENTRY                      EvtUsbDeviceLinkPowerEntry;
  PFN_UDECX_USB_DEVICE_D0_EXIT                       EvtUsbDeviceLinkPowerExit;
  PFN_UDECX_USB_DEVICE_SET_FUNCTION_SUSPEND_AND_WAKE EvtUsbDeviceSetFunctionSuspendAndWake;
  PFN_UDECX_USB_DEVICE_POST_ENUMERATION_RESET        EvtUsbDeviceReset;
  PFN_UDECX_USB_DEVICE_DEFAULT_ENDPOINT_ADD          EvtUsbDeviceDefaultEndpointAdd;
  PFN_UDECX_USB_DEVICE_ENDPOINT_ADD                  EvtUsbDeviceEndpointAdd;
  PFN_UDECX_USB_DEVICE_ENDPOINTS_CONFIGURE           EvtUsbDeviceEndpointsConfigure;
} UDECX_USB_DEVICE_STATE_CHANGE_CALLBACKS, *PUDECX_USB_DEVICE_STATE_CHANGE_CALLBACKS;

Membres

Size

Taille de cette structure.

EvtUsbDeviceLinkPowerEntry

Pointeur vers une fonction de rappel EVT_UDECX_USB_DEVICE_D0_ENTRY implémentée par un pilote client UDE.

EvtUsbDeviceLinkPowerExit

Pointeur vers une fonction de rappel EVT_UDECX_USB_DEVICE_D0_EXIT implémentée par un pilote client UDE.

EvtUsbDeviceSetFunctionSuspendAndWake

EvtUsbDeviceReset

EvtUsbDeviceDefaultEndpointAdd

Pointeur vers une fonction de rappel EVT_UDECX_USB_DEVICE_DEFAULT_ENDPOINT_ADD implémentée par un pilote client UDE.

EvtUsbDeviceEndpointAdd

Pointeur vers une fonction de rappel EVT_UDECX_USB_DEVICE_ENDPOINT_ADD implémentée par un pilote client UDE.

EvtUsbDeviceEndpointsConfigure

Pointeur vers une fonction de rappel EVT_UDECX_USB_DEVICE_ENDPOINTS_CONFIGURE implémentée par un pilote client UDE.

Exigences

Exigence Valeur
d’en-tête udecxusbdevice.h (include Udecx.h)

Voir aussi

UdecxUsbDeviceInitSetStateChangeCallbacks