EVT_UCX_ENDPOINT_ABORT callback function (ucxendpoint.h)
The client driver's implementation that UCX calls to abort the queue associated with the endpoint.
Syntax
EVT_UCX_ENDPOINT_ABORT EvtUcxEndpointAbort;
void EvtUcxEndpointAbort(
[in] UCXCONTROLLER UcxController,
[in] UCXENDPOINT UcxEndpoint
)
{...}
Parameters
[in] UcxController
A handle to the UCX controller that the client driver received in a previous call to the UcxControllerCreate method.
[in] UcxEndpoint
A handle to a UCXENDPOINT object.
Return value
None
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);
}
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Minimum KMDF version | 1.0 |
Minimum UMDF version | 2.0 |
Header | ucxendpoint.h (include Ucxclass.h, Ucxendpoint.h) |
IRQL | DISPATCH_LEVEL |