UDECX_USB_ENDPOINT_CALLBACKS structure (udecxusbendpoint.h)

Contains function pointers to endpoint callback functions implemented by the UDE client driver. Initialize this structure by calling UDECX_USB_ENDPOINT_CALLBACKS_INIT.

Syntax

typedef struct _UDECX_USB_ENDPOINT_CALLBACKS {
  ULONG                        Size;
  PFN_UDECX_USB_ENDPOINT_RESET EvtUsbEndpointReset;
  PFN_UDECX_USB_ENDPOINT_START EvtUsbEndpointStart;
  PFN_UDECX_USB_ENDPOINT_PURGE EvtUsbEndpointPurge;
} UDECX_USB_ENDPOINT_CALLBACKS, *PUDECX_USB_ENDPOINT_CALLBACKS;

Members

Size

The size of this structure.

EvtUsbEndpointReset

Required. A pointer to an EVT_UDECX_USB_ENDPOINT_RESET callback function implemented by a UDE client driver.

EvtUsbEndpointStart

Optional. A pointer to an EVT_UDECX_USB_ENDPOINT_START callback function implemented by a UDE client driver.

EvtUsbEndpointPurge

Optional. A pointer to an EVT_UDECX_USB_ENDPOINT_PURGE callback function implemented by a UDE client driver.

Requirements

Requirement Value
Header udecxusbendpoint.h (include Udecx.h)

See also

UdecxUsbEndpointCreate

UdecxUsbEndpointInitSetCallbacks