Expand Minimize

WDF_POWER_FRAMEWORK_SETTINGS_INIT function

[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

PowerFrameworkSettings [out]

A pointer to a driver-allocated WDF_POWER_FRAMEWORK_SETTINGS structure.

Return value

This function does not return a value.

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

Minimum KMDF version

1.11

Header

Wdfdevice.h (include Wdf.h)

See also

WDF_POWER_FRAMEWORK_SETTINGS
WdfDeviceWdmAssignPowerFrameworkSettings

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.