Bewerken

Delen via


UCX_ENDPOINT_EVENT_CALLBACKS structure (ucxendpoint.h)

This structure provides a list of pointers to UCX endpoint event callback functions.

Syntax

typedef struct _UCX_ENDPOINT_EVENT_CALLBACKS {
  ULONG                                           Size;
  PFN_UCX_ENDPOINT_PURGE                          EvtEndpointPurge;
  PFN_UCX_ENDPOINT_START                          EvtEndpointStart;
  PFN_UCX_ENDPOINT_ABORT                          EvtEndpointAbort;
  PFN_UCX_ENDPOINT_RESET                          EvtEndpointReset;
  PFN_UCX_ENDPOINT_OK_TO_CANCEL_TRANSFERS         EvtEndpointOkToCancelTransfers;
  PFN_UCX_ENDPOINT_STATIC_STREAMS_ADD             EvtEndpointStaticStreamsAdd;
  PFN_UCX_ENDPOINT_STATIC_STREAMS_ENABLE          EvtEndpointStaticStreamsEnable;
  PFN_UCX_ENDPOINT_STATIC_STREAMS_DISABLE         EvtEndpointStaticStreamsDisable;
  HANDLE                                          Reserved1;
  PFN_UCX_ENDPOINT_GET_ISOCH_TRANSFER_PATH_DELAYS EvtEndpointGetIsochTransferPathDelays;
  PFN_UCX_ENDPOINT_SET_CHARACTERISTIC             EvtEndpointSetCharacteristic;
} UCX_ENDPOINT_EVENT_CALLBACKS, *PUCX_ENDPOINT_EVENT_CALLBACKS;

Members

Size

The size in bytes of the structure.

EvtEndpointPurge

A pointer to an EVT_UCX_ENDPOINT_PURGE callback function.

EvtEndpointStart

A pointer to an EVT_UCX_ENDPOINT_START callback function.

EvtEndpointAbort

A pointer to an EVT_UCX_ENDPOINT_ABORT callback function.

EvtEndpointReset

A pointer to an EVT_UCX_ENDPOINT_RESET callback function.

EvtEndpointOkToCancelTransfers

A pointer to an EVT_UCX_ENDPOINT_OK_TO_CANCEL_TRANSFERS callback function.

EvtEndpointStaticStreamsAdd

A pointer to an EVT_UCX_ENDPOINT_STATIC_STREAMS_ADD callback function.

EvtEndpointStaticStreamsEnable

A pointer to an EVT_UCX_ENDPOINT_STATIC_STREAMS_ENABLE callback function.

EvtEndpointStaticStreamsDisable

A pointer to an EVT_UCX_ENDPOINT_STATIC_STREAMS_DISABLE callback function.

Reserved1

Do not use.

EvtEndpointGetIsochTransferPathDelays

A pointer to an EVT_UCX_ENDPOINT_GET_ISOCH_TRANSFER_PATH_DELAYS callback function.

EvtEndpointSetCharacteristic

A pointer to an EVT_UCX_ENDPOINT_SET_CHARACTERISTIC callback function.

Requirements

Requirement Value
Header ucxendpoint.h (include Ucxclass.h, Ucxendpoint.h)

See also

UCX_ENDPOINT_EVENT_CALLBACKS_INIT

UcxEndpointInitSetEventCallbacks