Author: fireball
Date: Fri Aug 13 22:02:17 2010
New Revision: 48536
URL:
http://svn.reactos.org/svn/reactos?rev=48536&view=rev
Log:
[WINLOGON]
- NtInitializeRegistry expects not just CM_BOOT_FLAG_ACCEPTED, but a number of the
accepted control set to be added to it. After fixing this, NtInitializeRegistry won't
fail with STATUS_INVALID_PARAMETER (someone should check return status for errors...)
anymore. As a result lazy flushing is enabled.
Modified:
trunk/reactos/base/system/winlogon/winlogon.c
Modified: trunk/reactos/base/system/winlogon/winlogon.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/winlogon/winlo…
==============================================================================
--- trunk/reactos/base/system/winlogon/winlogon.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/winlogon/winlogon.c [iso-8859-1] Fri Aug 13 22:02:17 2010
@@ -415,7 +415,7 @@
/* Tell kernel that CurrentControlSet is good (needed
* to support Last good known configuration boot) */
- NtInitializeRegistry(CM_BOOT_FLAG_ACCEPTED);
+ NtInitializeRegistry(CM_BOOT_FLAG_ACCEPTED | 1);
/* Message loop for the SAS window */
while (GetMessageW(&Msg, WLSession->SASWindow, 0, 0))