mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +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"
|
#include "powercfg.h"
|
||||||
|
|
||||||
BOOLEAN Pos_InitData();
|
//BOOLEAN Pos_InitData();
|
||||||
void Adv_InitDialog();
|
//void Adv_InitDialog();
|
||||||
|
|
||||||
|
|
||||||
static VOID
|
static VOID
|
||||||
|
@ -75,8 +75,9 @@ Hib_SaveData(HWND hwndDlg)
|
||||||
|
|
||||||
if (CallNtPowerInformation(SystemReserveHiberFile, &bHibernate, sizeof(bHibernate), NULL, 0) == STATUS_SUCCESS)
|
if (CallNtPowerInformation(SystemReserveHiberFile, &bHibernate, sizeof(bHibernate), NULL, 0) == STATUS_SUCCESS)
|
||||||
{
|
{
|
||||||
Pos_InitData();
|
// FIXME: Do not call these functions directly! Post a message to the other pages instead!
|
||||||
Adv_InitDialog();
|
// Pos_InitData();
|
||||||
|
// Adv_InitDialog();
|
||||||
Hib_InitDialog(hwndDlg);
|
Hib_InitDialog(hwndDlg);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue