RtfwGetWindowsEnergyPerformanceBias

RtfwGetWindowsEnergyPerformanceBias reads the current configuration for the WindowsEnergyPerformanceBias feature and fills pWindowsPerformanceBias with the value.

Syntax

bool RtfwGetWindowsEnergyPerformanceBias(
    unsigned int * pWindowsEnergyPerfBias
);

Parameters

pWindowsEnergyPerfBias

A pointer to an unsigned integer value for the Windows Energy/Performance Bias feature. The following values are supported:

You can check the status of this setting in Windows through the System Utilities screen (System Configuration > BIOS/Platform Configuration (RBSU) > Power Management > Advanced Power Options > Energy/Performance Bias).

Return Value

The function returns true if it succeeds. Otherwise, it returns false, and sets the last error value. Call GetLastError for additional error information.

Remarks

If the Subsystem is running when the RtfwGetLocalMemoryConfiguration API is called, the values returned by this function may differ from the values currently in use by the Subsystem.

Requirements

Minimum Required Version RTX64 3.5
Header RtfwAPI.h
Library RtfwAPI.lib

See Also:

RtfwSetWindowsEnergyPerformanceBias