saveliyt@mail.ru:

Start SCM on livecd too

svn path=/trunk/; revision=17740
This commit is contained in:
Gé van Geldorp 2005-09-08 13:27:17 +00:00
parent 9bec9db6c6
commit e8b32e19d9

View 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 */ /* Check for pending setup */
if (GetSetupType () != 0) if (GetSetupType () != 0)
{ {
@ -616,8 +618,6 @@ WinMain(HINSTANCE hInstance,
return 2; return 2;
} }
InitServices();
#if 0 #if 0
/* real winlogon uses "Winlogon" */ /* real winlogon uses "Winlogon" */
RtlInitUnicodeString((PUNICODE_STRING)&ProcessName, L"Winlogon"); RtlInitUnicodeString((PUNICODE_STRING)&ProcessName, L"Winlogon");