// udecxwdfdevice.h
EVT_UDECX_WDF_DEVICE_RESET EvtUdecxWdfDeviceReset;
VOID EvtUdecxWdfDeviceReset(
[in] WDFDEVICE UdecxWdfDevice
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The UDE client driver's implementation to reset the emulated host controller or the devices attached to it.
UdecxWdfDevice [in]A handle to a framework device object that represents the controller. The client driver initialized this object in the previous call to UdecxWdfDeviceAddUsbDeviceEmulation.
The USB device emulation class extension (UdeCx) invokes this callback function to notify the client driver that it must handle a reset request including resetting all downstream devices attached to the emulated host controller. This call is asynchronous. The client driver signals completion with status information by calling UdecxWdfDeviceResetComplete. If the client specified UdeWdfDeviceResetActionResetEachUsbDevice in UDECX_WDF_DEVICE_CONFIG (during the UdecxWdfDeviceAddUsbDeviceEmulation call), this callback is never used. Instead, each connected attached device receives an EVT_UDECX_WDF_DEVICE_RESET callback.
Architecture: USB Device Emulation (UDE)