Bewerken

Delen via


UcxInitializeDeviceInit function (ucxclass.h)

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

Syntax

NTSTATUS UcxInitializeDeviceInit(
  [in, out] PWDFDEVICE_INIT DeviceInit
);

Parameters

[in, out] DeviceInit

A pointer to a framework-allocated WDFDEVICE_INIT structure.

Return value

(NTSTATUS) The method returns STATUS_SUCCESS if the operation succeeds. Otherwise, this method may return an appropriate NTSTATUS error code.

Remarks

The client driver for the host controller calls this method in its EvtDriverDeviceAdd implementation before it calls WdfDeviceCreate.

Requirements

Requirement Value
Minimum supported client Windows 10
Target Platform Windows
Header ucxclass.h
IRQL PASSIVE_LEVEL

See also

WdfDeviceCreate