mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[POWERCFG] Do not call other pages init routines when the hibernate setting changes. This will be fixed later.
This commit is contained in:
parent
3da616a918
commit
af14108ee2
1 changed files with 5 additions and 4 deletions
|
@ -11,8 +11,8 @@
|
|||
|
||||
#include "powercfg.h"
|
||||
|
||||
BOOLEAN Pos_InitData();
|
||||
void Adv_InitDialog();
|
||||
//BOOLEAN Pos_InitData();
|
||||
//void Adv_InitDialog();
|
||||
|
||||
|
||||
static VOID
|
||||
|
@ -75,8 +75,9 @@ Hib_SaveData(HWND hwndDlg)
|
|||
|
||||
if (CallNtPowerInformation(SystemReserveHiberFile, &bHibernate, sizeof(bHibernate), NULL, 0) == STATUS_SUCCESS)
|
||||
{
|
||||
Pos_InitData();
|
||||
Adv_InitDialog();
|
||||
// FIXME: Do not call these functions directly! Post a message to the other pages instead!
|
||||
// Pos_InitData();
|
||||
// Adv_InitDialog();
|
||||
Hib_InitDialog(hwndDlg);
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue