Share via


estructura UDECX_USB_DEVICE_STATE_CHANGE_CALLBACKS (udecxusbdevice.h)

Inicializa una estructura de UDECX_USB_DEVICE_STATE_CHANGE_CALLBACKS con punteros a funciones de devolución de llamada implementadas por un cliente UDE para un dispositivo USB virtual.

Sintaxis

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;

Miembros

Size

Tamaño de esta estructura.

EvtUsbDeviceLinkPowerEntry

Puntero a una función de devolución de llamada EVT_UDECX_USB_DEVICE_D0_ENTRY implementada por un controlador cliente de UDE.

EvtUsbDeviceLinkPowerExit

Puntero a una función de devolución de llamada EVT_UDECX_USB_DEVICE_D0_EXIT implementada por un controlador cliente de UDE.

EvtUsbDeviceSetFunctionSuspendAndWake

EvtUsbDeviceReset

EvtUsbDeviceDefaultEndpointAdd

Puntero a una función de devolución de llamada EVT_UDECX_USB_DEVICE_DEFAULT_ENDPOINT_ADD implementada por un controlador cliente de UDE.

EvtUsbDeviceEndpointAdd

Puntero a una función de devolución de llamada deE VT_UDECX_USB_DEVICE_ENDPOINT_ADD implementada por un controlador cliente de UDE.

EvtUsbDeviceEndpointsConfigure

Puntero a una función de devolución de llamada EVT_UDECX_USB_DEVICE_ENDPOINTS_CONFIGURE implementada por un controlador cliente de UDE.

Requisitos

Requisito Valor
Header udecxusbdevice.h (incluya Udecx.h)

Consulte también

UdecxUsbDeviceInitSetStateChangeCallbacks