// ucxendpoint.h
EVT_UCX_ENDPOINT_PURGE EvtUcxEndpointPurge;
VOID EvtUcxEndpointPurge(
[in] UCXCONTROLLER UcxController,
[in] UCXENDPOINT UcxEndpoint
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The client driver's implementation that completes all outstanding I/O requests on the endpoint.
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.
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.
VOID
Endpoint_UcxEvtEndpointPurge(
UCXCONTROLLER UcxController,
UCXENDPOINT UcxEndpoint
)
{
WdfIoQueuePurge(endpointContext->WdfQueue,
Endpoint_WdfEvtPurgeComplete,
UcxEndpoint);
}