// udecxwdfdevice.h
NTSTATUS UdecxInitializeWdfDeviceInit(
PWDFDEVICE_INIT WdfDeviceInit
);
View the official Windows Driver Kit DDI referenceNo description available.
Initializes device initialization operations when the Plug and Play (PnP) manager reports the existence of a device.
WdfDeviceInitA pointer to a framework-allocated WDFDEVICE_INIT structure.
The method returns STATUS_SUCCESS if the operation succeeds. Otherwise, this method might return an appropriate NTSTATUS error code.
The client driver for the emulated host controller device calls this method in its EvtDriverDeviceAdd implementation before it calls WdfDeviceCreate and UdecxWdfDeviceAddUsbDeviceEmulation. For code example, see UdecxWdfDeviceAddUsbDeviceEmulation.
Architecture: USB Device Emulation (UDE)