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:
- 0 (High Performance / Low Energy Efficiency) through 15 (Low Performance / High Energy Efficiency)
- 255: the current Windows Energy/Performance Bias setting is used
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.
Requirements
| Minimum Required Version | RTX64 3.5 |
| Header | RtfwAPI.h |
| Library | RtfwAPI.lib |
See Also: