EVT_UCX_ENDPOINT_ABORT - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ucxendpoint.h

EVT_UCX_ENDPOINT_ABORT EvtUcxEndpointAbort;

VOID EvtUcxEndpointAbort(
  [in] UCXCONTROLLER UcxController,
  [in] UCXENDPOINT UcxEndpoint
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-ucxendpoint-evt_ucx_endpoint_abort)

EVT_UCX_ENDPOINT_ABORT callback function

Description

The client driver's implementation that UCX calls to abort the queue associated with the endpoint.

Parameters

UcxController [in]

A handle to the UCX controller that the client driver received in a previous call to the UcxControllerCreate method.

UcxEndpoint [in]

A handle to a UCXENDPOINT object.

Remarks

The client driver registers this callback function with the USB host controller extension (UCX) by calling the UcxEndpointCreate method.

This function completes all requests associated with the endpoint, typically by calling WdfIoQueueStopAndPurge.

Examples

VOID
Endpoint_UcxEvtEndpointAbort(
    UCXCONTROLLER   UcxController,
     UCXENDPOINT     UcxEndpoint
    )
  {
              WdfIoQueueStopAndPurge(endpointContext->WdfQueue,
                                     Endpoint_WdfEvtAbortComplete,
                                     UcxEndpoint);
  }