UCX_USBDEVICE_EVENT_CALLBACKS structure (ucxusbdevice.h)

This structure provides a list of UCX USB device event callback functions.

Syntax

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;

Members

Size

The size in bytes of this structure.

EvtUsbDeviceEndpointsConfigure

A pointer to an EVT_UCX_USBDEVICE_ENDPOINTS_CONFIGURE callback function.

EvtUsbDeviceEnable

A pointer to an EVT_UCX_USBDEVICE_ENABLE callback function.

EvtUsbDeviceDisable

A pointer to an EVT_UCX_USBDEVICE_DISABLE callback function.

EvtUsbDeviceReset

A pointer to an EVT_UCX_USBDEVICE_RESET callback function.

EvtUsbDeviceAddress

A pointer to an EVT_UCX_USBDEVICE_ADDRESS callback function.

EvtUsbDeviceUpdate

A pointer to an EVT_UCX_USBDEVICE_UPDATE callback function.

EvtUsbDeviceHubInfo

A pointer to an EVT_UCX_USBDEVICE_HUB_INFO callback function.

EvtUsbDeviceDefaultEndpointAdd

A pointer to an EVT_UCX_USBDEVICE_DEFAULT_ENDPOINT_ADD callback function.

EvtUsbDeviceEndpointAdd

A pointer to an EVT_UCX_USBDEVICE_ENDPOINT_ADD callback function.

EvtUsbDeviceSuspend

A pointer to an EVT_UCX_USBDEVICE_SUSPEND callback function.

EvtUsbDeviceResume

A pointer to an EVT_UCX_USBDEVICE_RESUME callback function.

EvtUsbDeviceGetCharacteristic

A pointer to an EVT_UCX_USBDEVICE_GET_CHARACTERISTIC callback function.

Requirements

Requirement Value
Header ucxusbdevice.h (include Ucxclass.h)

See also

UCX_USBDEVICE_EVENT_CALLBACKS_INIT

UcxUsbDeviceInitSetEventCallbacks