UdecxInitializeWdfDeviceInit - NtDoc

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

NTSTATUS UdecxInitializeWdfDeviceInit(
  PWDFDEVICE_INIT WdfDeviceInit
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-udecxwdfdevice-udecxinitializewdfdeviceinit)

UdecxInitializeWdfDeviceInit function

Description

Initializes device initialization operations when the Plug and Play (PnP) manager reports the existence of a device.

Parameters

WdfDeviceInit

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 emulated host controller device calls this method in its EvtDriverDeviceAdd implementation before it calls WdfDeviceCreate and UdecxWdfDeviceAddUsbDeviceEmulation. For code example, see UdecxWdfDeviceAddUsbDeviceEmulation.

See also

Architecture: USB Device Emulation (UDE)

WDFDEVICE_INIT

WdfDeviceCreate

Write a UDE client driver