EVT_UDECX_USB_ENDPOINT_RESET - NtDoc

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

EVT_UDECX_USB_ENDPOINT_RESET EvtUdecxUsbEndpointReset;

VOID EvtUdecxUsbEndpointReset(
  [in] UDECXUSBENDPOINT UdecxUsbEndpoint,
  [in] WDFREQUEST Request
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-udecxusbendpoint-evt_udecx_usb_endpoint_reset)

EVT_UDECX_USB_ENDPOINT_RESET callback function

Description

The USB device emulation class extension (UdeCx) invokes this callback function to reset an endpoint of the virtual USB device.

Parameters

UdecxUsbEndpoint [in]

A handle to a UDE endpoint object that represents the endpoint to reset. The client driver retrieved this pointer in the previous call to UdecxUsbEndpointCreate.

Request [in]

A handle to a framework request object that represents the request to reset the endpoint.

Remarks

The client driver registered this callback function in a previous call to UdecxUsbEndpointInitSetCallbacks by supplying a function pointer to its implementation.

The reset request clears the error condition in the endpoint that causes failed I/O transfers. At that time, UdeCx can invoke the EVT_UDECX_USB_ENDPOINT_RESET callback function. That call is asynchronous. The client driver completes the request and signals completion with status by calling WdfRequestCompleteWithInformation method . (this is the only way the UDECX client uses the request parameter).

See also

Architecture: USB Device Emulation (UDE)

How to recover from USB pipe errors

Managing I/O Queues

Write a UDE client driver