Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes device initialization operations when the Plug and Play (PnP) manager reports the existence of a device.
Syntax
NTSTATUS UrsDeviceInitInitialize(
PWDFDEVICE_INIT DeviceInit
);
Parameters
DeviceInit
A pointer to a framework-allocated WDFDEVICE_INIT structure.
Return value
The method returns STATUS_SUCCESS if the operation succeeds. Otherwise, this method might return an appropriate NTSTATUS error code.
Remarks
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 |
Minimum supported server | Windows Server 2016 |
Target Platform | Windows |
Minimum KMDF version | 1.15 |
Header | ursdevice.h (include Urscx.h) |
Library | Urscxstub.lib |
IRQL | PASSIVE_LEVEL |