mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[POWERCFG] Add hints on missing property pages and remove an obsolete declaration
This commit is contained in:
parent
d1d9920b06
commit
6977833e06
2 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||
|
|
|
@ -31,7 +31,6 @@ typedef struct
|
|||
|
||||
extern HINSTANCE hApplet;
|
||||
extern GLOBAL_POWER_POLICY gGPP;
|
||||
extern POWER_POLICY gPP[];
|
||||
|
||||
#define MAX_POWER_PAGES 32
|
||||
|
||||
|
|
Loading…
Reference in a new issue