// ursdevice.h
NTSTATUS UrsDeviceInitInitialize(
PWDFDEVICE_INIT DeviceInit
);
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.
DeviceInitA 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 dual-role controller calls this method in its EvtDriverDeviceAdd implementation before it calls WdfDeviceCreate and UrsDeviceInitialize. For code example, see UrsDeviceInitialize.