EVT_UCX_ENDPOINT_PURGE - NtDoc

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

EVT_UCX_ENDPOINT_PURGE EvtUcxEndpointPurge;

VOID EvtUcxEndpointPurge(
  [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_purge)

EVT_UCX_ENDPOINT_PURGE callback function

Description

The client driver's implementation that completes all outstanding I/O requests on 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 that represents the endpoint.

Remarks

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

Typically, this function calls WdfIoQueuePurge.

After UCX calls this function, the client driver fails subsequent I/O requests until UCX calls the client driver's EVT_UCX_ENDPOINT_START callback function.

Examples

VOID
Endpoint_UcxEvtEndpointPurge(
    UCXCONTROLLER   UcxController,
    UCXENDPOINT     UcxEndpoint
    )
{
            WdfIoQueuePurge(endpointContext->WdfQueue,
                            Endpoint_WdfEvtPurgeComplete,
                            UcxEndpoint);
}

See also