// ucxendpoint.h
VOID UCX_ENDPOINT_EVENT_CALLBACKS_INIT(
[out] PUCX_ENDPOINT_EVENT_CALLBACKS Callbacks,
[in] PFN_UCX_ENDPOINT_PURGE EvtEndpointPurge,
[in] PFN_UCX_ENDPOINT_START EvtEndpointStart,
[in] PFN_UCX_ENDPOINT_ABORT EvtEndpointAbort,
[in] PFN_UCX_ENDPOINT_RESET EvtEndpointReset,
[in] PFN_UCX_ENDPOINT_OK_TO_CANCEL_TRANSFERS EvtEndpointOkToCancelTransfers,
[in] PFN_UCX_ENDPOINT_STATIC_STREAMS_ADD EvtEndpointStaticStreamsAdd,
[in] PFN_UCX_ENDPOINT_STATIC_STREAMS_ENABLE EvtEndpointStaticStreamsEnable,
[in] PFN_UCX_ENDPOINT_STATIC_STREAMS_DISABLE EvtEndpointStaticStreamsDisable
);
View the official Windows Driver Kit DDI referenceNo description available.
Initializes a UCX_ENDPOINT_EVENT_CALLBACKS structure with client driver's callback functions. The client driver calls this function before calling UcxEndpointCreate method to create an endpoint and register its callback functions with UCX.
Callbacks [out]A pointer to a UCX_ENDPOINT_EVENT_CALLBACKS structure that contains pointers to the client driver's event callback functions.
EvtEndpointPurge [in]A pointer to client driver's implementation of the EVT_UCX_ENDPOINT_PURGE event callback function.
EvtEndpointStart [in]A pointer to client driver's implementation of the EVT_UCX_ENDPOINT_START event callback function.
EvtEndpointAbort [in]A pointer to client driver's implementation of the EVT_UCX_ENDPOINT_ABORT event callback function.
EvtEndpointReset [in]A pointer to client driver's implementation of the EVT_UCX_ENDPOINT_RESET event callback function.
EvtEndpointOkToCancelTransfers [in]A pointer to client driver's implementation of the EVT_UCX_ENDPOINT_OK_TO_CANCEL_TRANSFERS event callback function.
EvtEndpointStaticStreamsAdd [in]A pointer to client driver's implementation of the EVT_UCX_ENDPOINT_STATIC_STREAMS_ADD event callback function.
EvtEndpointStaticStreamsEnable [in]A pointer to client driver's implementation of the EVT_UCX_ENDPOINT_STATIC_STREAMS_ENABLE event callback function.
EvtEndpointStaticStreamsDisable [in]A pointer to client driver's implementation of the EVT_UCX_ENDPOINT_STATIC_STREAMS_DISABLE event callback function.