Notify kernel when configuration is good

svn path=/trunk/; revision=34790
This commit is contained in:
Hervé Poussineau 2008-07-25 20:16:16 +00:00
parent 9ba8702be9
commit 042289aad8
2 changed files with 5 additions and 0 deletions

View file

@ -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))
{

View file

@ -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>