UcmUcsiDeviceInitialize - NtDoc

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

NTSTATUS UcmUcsiDeviceInitialize(
  WDFDEVICE              WdfDevice,
  PUCMUCSI_DEVICE_CONFIG Config
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

UcmUcsiDeviceInitialize function

Description

Initializes the UCSI extension (UcmUcsiCx).

Parameters

WdfDevice

A handle to a framework device object that the client driver received in a previous call to WdfDeviceCreate.

Config

A pointer to a caller-supplied UCMUCSI_DEVICE_CONFIG structure that is initialized by calling UCMUCSI_DEVICE_CONFIG_INIT.

Return value

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

Remarks

The client driver must call UcmUcsiDeviceInitialize in the driver's EVT_WDF_DRIVER_DEVICE_ADD implementation after calling WdfDeviceCreate successfully.

See also

EVT_WDF_DRIVER_DEVICE_ADD

UCMUCSI_DEVICE_CONFIG

UCMUCSI_DEVICE_CONFIG_INIT

WdfDeviceCreate