mirror of
https://github.com/reactos/reactos.git
synced 2025-01-12 17:16:58 +00:00
Notify kernel when configuration is good
svn path=/trunk/; revision=34790
This commit is contained in:
parent
9ba8702be9
commit
042289aad8
2 changed files with 5 additions and 0 deletions
|
@ -361,6 +361,10 @@ WinMain(
|
|||
else
|
||||
PostMessageW(WLSession->SASWindow, WLX_WM_SAS, WLX_SAS_TYPE_TIMEOUT, 0);
|
||||
|
||||
/* Tell kernel that CurrentControlSet is good (needed
|
||||
* to support Last good known configuration boot) */
|
||||
NtInitializeRegistry(CM_BOOT_FLAG_ACCEPTED);
|
||||
|
||||
/* Message loop for the SAS window */
|
||||
while (GetMessageW(&Msg, WLSession->SASWindow, 0, 0))
|
||||
{
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
#include <windows.h>
|
||||
#include <userenv.h>
|
||||
#include <winwlx.h>
|
||||
#include <cmfuncs.h>
|
||||
#include <rtlfuncs.h>
|
||||
#include <exfuncs.h>
|
||||
#include <setypes.h>
|
||||
|
|
Loading…
Reference in a new issue