https://git.reactos.org/?p=reactos.git;a=commitdiff;h=6977833e067924167e62e…
commit 6977833e067924167e62e07ce701de35e0650b62
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Sun Mar 15 16:06:49 2020 +0100
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Sun Mar 15 16:06:49 2020 +0100
[POWERCFG] Add hints on missing property pages and remove an obsolete declaration
---
dll/cpl/powercfg/powercfg.c | 4 ++++
dll/cpl/powercfg/powercfg.h | 1 -
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/dll/cpl/powercfg/powercfg.c b/dll/cpl/powercfg/powercfg.c
index f9c7b9f355f..565f45b3bbe 100644
--- a/dll/cpl/powercfg/powercfg.c
+++ b/dll/cpl/powercfg/powercfg.c
@@ -124,6 +124,8 @@ Applet1(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam)
{
InitPropSheetPage(&psh, IDD_POWERSCHEMESPAGE_ACDC, PowerSchemesDlgProc);
InitPropSheetPage(&psh, IDD_PROPPAGEALARMS, AlarmsDlgProc);
+
+ /* FIXME: Add battery page */
}
else
{
@@ -135,6 +137,8 @@ Applet1(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam)
InitPropSheetPage(&psh, IDD_PROPPAGEHIBERNATE, HibernateDlgProc);
}
+ /* FIXME: Add UPS page */
+
/* Load additional pages provided by shell extensions */
hpsxa = SHCreatePropSheetExtArray(HKEY_LOCAL_MACHINE, REGSTR_PATH_CONTROLSFOLDER
TEXT("\\Power"), MAX_POWER_PAGES - psh.nPages);
if (hpsxa != NULL)
diff --git a/dll/cpl/powercfg/powercfg.h b/dll/cpl/powercfg/powercfg.h
index 0e7317030c6..7329936c6c2 100644
--- a/dll/cpl/powercfg/powercfg.h
+++ b/dll/cpl/powercfg/powercfg.h
@@ -31,7 +31,6 @@ typedef struct
extern HINSTANCE hApplet;
extern GLOBAL_POWER_POLICY gGPP;
-extern POWER_POLICY gPP[];
#define MAX_POWER_PAGES 32