ReactOS 0.4.16-dev-329-g9223134
|
#include "powercfg.h"
Go to the source code of this file.
Functions | |
static VOID | SetSystrayPowerIconState (BOOL bEnabled) |
static BOOL | GetSystrayPowerIconState (VOID) |
static VOID | AddItem (HWND hDlgCtrl, INT ResourceId, LPARAM lParam, POWER_ACTION *lpAction) |
static INT | FindActionIndex (POWER_ACTION *lpAction, DWORD dwActionSize, POWER_ACTION poAction) |
static BOOLEAN | IsBatteryUsed (VOID) |
POWER_ACTION | GetPowerActionFromPolicy (POWER_ACTION_POLICY *Policy, PSYSTEM_POWER_CAPABILITIES spc, BOOL bIsLid) |
VOID | ShowCurrentPowerActionPolicy (HWND hDlgCtrl, POWER_ACTION *lpAction, DWORD dwActionSize, POWER_ACTION_POLICY *Policy, PSYSTEM_POWER_CAPABILITIES spc, BOOL bIsLid) |
BOOLEAN | SaveCurrentPowerActionPolicy (IN HWND hDlgCtrl, OUT POWER_ACTION_POLICY *Policy) |
VOID | ShowCurrentPowerActionPolicies (HWND hwndDlg, PSYSTEM_POWER_CAPABILITIES spc) |
VOID | Adv_InitDialog (HWND hwndDlg) |
static VOID | Adv_SaveData (HWND hwndDlg) |
INT_PTR CALLBACK | AdvancedDlgProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) |
Variables | |
static POWER_ACTION | g_SystemBatteries [3] |
static POWER_ACTION | g_PowerButton [5] |
static POWER_ACTION | g_SleepButton [5] |
|
static |
Definition at line 46 of file advanced.c.
Definition at line 278 of file advanced.c.
Referenced by AdvancedDlgProc().
Definition at line 409 of file advanced.c.
Referenced by AdvancedDlgProc().
Definition at line 498 of file advanced.c.
|
static |
Definition at line 63 of file advanced.c.
Referenced by ShowCurrentPowerActionPolicy().
POWER_ACTION GetPowerActionFromPolicy | ( | POWER_ACTION_POLICY * | Policy, |
PSYSTEM_POWER_CAPABILITIES | spc, | ||
BOOL | bIsLid | ||
) |
Definition at line 97 of file advanced.c.
Referenced by ShowCurrentPowerActionPolicy().
Definition at line 34 of file advanced.c.
Referenced by Adv_InitDialog().
Definition at line 77 of file advanced.c.
Referenced by Adv_SaveData(), and ShowCurrentPowerActionPolicies().
BOOLEAN SaveCurrentPowerActionPolicy | ( | IN HWND | hDlgCtrl, |
OUT POWER_ACTION_POLICY * | Policy | ||
) |
Definition at line 175 of file advanced.c.
Referenced by Adv_SaveData().
Definition at line 21 of file advanced.c.
Referenced by Adv_SaveData().
VOID ShowCurrentPowerActionPolicies | ( | HWND | hwndDlg, |
PSYSTEM_POWER_CAPABILITIES | spc | ||
) |
Definition at line 225 of file advanced.c.
Referenced by Adv_InitDialog().
VOID ShowCurrentPowerActionPolicy | ( | HWND | hDlgCtrl, |
POWER_ACTION * | lpAction, | ||
DWORD | dwActionSize, | ||
POWER_ACTION_POLICY * | Policy, | ||
PSYSTEM_POWER_CAPABILITIES | spc, | ||
BOOL | bIsLid | ||
) |
Definition at line 153 of file advanced.c.
Referenced by ShowCurrentPowerActionPolicies().
|
static |
Definition at line 15 of file advanced.c.
Referenced by Adv_InitDialog(), and ShowCurrentPowerActionPolicies().
|
static |
Definition at line 16 of file advanced.c.
Referenced by Adv_InitDialog(), and ShowCurrentPowerActionPolicies().
|
static |
Definition at line 14 of file advanced.c.
Referenced by Adv_InitDialog(), and ShowCurrentPowerActionPolicies().