saveliyt@mail.ru:
authorGé van Geldorp <ge@gse.nl>
Thu, 8 Sep 2005 13:27:17 +0000 (13:27 +0000)
committerGé van Geldorp <ge@gse.nl>
Thu, 8 Sep 2005 13:27:17 +0000 (13:27 +0000)
Start SCM on livecd too

svn path=/trunk/; revision=17740

reactos/subsys/system/winlogon/winlogon.c

index c4152c7..2cb92bd 100644 (file)
@@ -593,6 +593,8 @@ WinMain(HINSTANCE hInstance,
     DbgPrint("WL: Cannot switch to Winlogon desktop (0x%X)\n", GetLastError());
   }
 
     DbgPrint("WL: Cannot switch to Winlogon desktop (0x%X)\n", GetLastError());
   }
 
+  InitServices();
+  
   /* Check for pending setup */
   if (GetSetupType () != 0)
   {
   /* Check for pending setup */
   if (GetSetupType () != 0)
   {
@@ -616,8 +618,6 @@ WinMain(HINSTANCE hInstance,
     return 2;
   }
 
     return 2;
   }
 
-  InitServices();
-
 #if 0
    /* real winlogon uses "Winlogon" */
    RtlInitUnicodeString((PUNICODE_STRING)&ProcessName, L"Winlogon");
 #if 0
    /* real winlogon uses "Winlogon" */
    RtlInitUnicodeString((PUNICODE_STRING)&ProcessName, L"Winlogon");