WDF_POWER_FRAMEWORK_SETTINGS_INIT function (wdfdevice.h)

[Applies to KMDF only]

The WDF_POWER_FRAMEWORK_SETTINGS_INIT function initializes a WDF_POWER_FRAMEWORK_SETTINGS structure.

Syntax

void WDF_POWER_FRAMEWORK_SETTINGS_INIT(
  [out] PWDF_POWER_FRAMEWORK_SETTINGS PowerFrameworkSettings
);

Parameters

[out] PowerFrameworkSettings

A pointer to a driver-allocated WDF_POWER_FRAMEWORK_SETTINGS structure.

Return value

None

Remarks

The WDF_POWER_FRAMEWORK_SETTINGS_INIT function zeros the specified WDF_POWER_FRAMEWORK_SETTINGS structure and sets the structure's Size member.

Examples

For a code example that uses WDF_POWER_FRAMEWORK_SETTINGS_INIT, see WdfDeviceWdmAssignPowerFrameworkSettings.

Requirements

Requirement Value
Target Platform Universal
Minimum KMDF version 1.11
Header wdfdevice.h (include Wdf.h)

See also

WDF_POWER_FRAMEWORK_SETTINGS

WdfDeviceWdmAssignPowerFrameworkSettings