mirror of
https://github.com/reactos/reactos.git
synced 2024-09-06 19:02:32 +00:00
[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. svn path=/trunk/; revision=48536
This commit is contained in:
parent
e68f31b46a
commit
0be662421f
|
@ -415,7 +415,7 @@ WinMain(
|
|||
|
||||
/* 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))
|
||||
|
|
Loading…
Reference in a new issue