// udecxusbendpoint.h
EVT_UDECX_USB_ENDPOINT_PURGE EvtUdecxUsbEndpointPurge;
VOID EvtUdecxUsbEndpointPurge(
[in] UDECXUSBENDPOINT UdecxUsbEndpoint
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The USB device emulation class extension (UdeCx) invokes this callback function to stop queuing I/O requests to the endpoint's queue and cancel unprocessed requests.
UdecxUsbEndpoint [in]A handle to a UDE endpoint object that represents the endpoint for which I/O requests must be canceled. The client driver retrieved this pointer in the previous call to UdecxUsbEndpointCreate.
The client driver registered this callback function in a previous call to UdecxUsbEndpointInitSetCallbacks by supplying a function pointer to its implementation.
In the implementation, the client driver is required to ensure all I/O forwarded from the endpoint’s queue has been completed, and that newly forwarded I/O request fail, until UdeCx invokes EVT_UDECX_USB_ENDPOINT_START. Typically, those tasks are achieved by calling WdfIoQueuePurge. This call is asynchronous and the client river must call UdecxUsbEndpointPurgeComplete.
Architecture: USB Device Emulation (UDE)