UcmUcsiDeviceInitInitialize - NtDoc

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

NTSTATUS UcmUcsiDeviceInitInitialize(
  PWDFDEVICE_INIT DeviceInit
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ucmucsidevice-ucmucsideviceinitinitialize)

UcmUcsiDeviceInitInitialize function

Description

Initializes the WDFDEVICE_INIT provided by the framework.

Parameters

DeviceInit

A pointer to a framework-allocated WDFDEVICE_INIT structure.

Return value

Returns STATUS_SUCCESS if the operation succeeds. Otherwise, returns an appropriate NTSTATUS code.

Remarks

The client driver must call this function after calling WdfDeviceInitSetPnpPowerEventCallbacks. This function initializes the UCSI extension (UcmUcsiCx) with the framework WDFDEVICE_INIT structure that contains pointers to PnP and power callback functions implemented by the client driver.

See also