mirror of
https://github.com/reactos/reactos.git
synced 2024-07-11 23:25:09 +00:00
Minor fixes
svn path=/trunk/; revision=1451
This commit is contained in:
parent
e69d5f4655
commit
3ab0b1f9a2
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: winlogon.c,v 1.1 2000/12/05 02:38:08 ekohl Exp $
|
/* $Id: winlogon.c,v 1.2 2000/12/05 18:11:51 ekohl Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -41,8 +41,8 @@ BOOLEAN StartServices(VOID)
|
||||||
return(FALSE);
|
return(FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Start the Win32 subsystem (csrss.exe) */
|
/* Start the service control manager (services.exe) */
|
||||||
DbgPrint("WL: Executing services.exe\n");
|
DbgPrint("WL: Running services.exe\n");
|
||||||
|
|
||||||
StartupInfo.cb = sizeof(StartupInfo);
|
StartupInfo.cb = sizeof(StartupInfo);
|
||||||
StartupInfo.lpReserved = NULL;
|
StartupInfo.lpReserved = NULL;
|
||||||
|
@ -93,8 +93,8 @@ BOOLEAN StartLsass(VOID)
|
||||||
return(FALSE);
|
return(FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Start the Win32 subsystem (csrss.exe) */
|
/* Start the local security authority subsystem (lsass.exe) */
|
||||||
DbgPrint("WL: Executing lsass.exe\n");
|
DbgPrint("WL: Running lsass.exe\n");
|
||||||
|
|
||||||
StartupInfo.cb = sizeof(StartupInfo);
|
StartupInfo.cb = sizeof(StartupInfo);
|
||||||
StartupInfo.lpReserved = NULL;
|
StartupInfo.lpReserved = NULL;
|
||||||
|
@ -148,7 +148,7 @@ VOID DoLoginUser(PCHAR Name, PCHAR Password)
|
||||||
FALSE,
|
FALSE,
|
||||||
DETACHED_PROCESS,
|
DETACHED_PROCESS,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
"C:\\reactos",
|
||||||
&StartupInfo,
|
&StartupInfo,
|
||||||
&ProcessInformation);
|
&ProcessInformation);
|
||||||
if (!Result)
|
if (!Result)
|
||||||
|
@ -207,8 +207,7 @@ WinMain(HINSTANCE hInstance,
|
||||||
/* Display login prompt */
|
/* Display login prompt */
|
||||||
WriteConsole(GetStdHandle(STD_OUTPUT_HANDLE),
|
WriteConsole(GetStdHandle(STD_OUTPUT_HANDLE),
|
||||||
LoginPrompt,
|
LoginPrompt,
|
||||||
// wcslen(LoginPrompt),
|
strlen(LoginPrompt), // wcslen(LoginPrompt),
|
||||||
strlen(LoginPrompt),
|
|
||||||
&Result,
|
&Result,
|
||||||
NULL);
|
NULL);
|
||||||
i = 0;
|
i = 0;
|
||||||
|
@ -226,8 +225,7 @@ WinMain(HINSTANCE hInstance,
|
||||||
/* Display password prompt */
|
/* Display password prompt */
|
||||||
WriteConsole(GetStdHandle(STD_OUTPUT_HANDLE),
|
WriteConsole(GetStdHandle(STD_OUTPUT_HANDLE),
|
||||||
PasswordPrompt,
|
PasswordPrompt,
|
||||||
// wcslen(PasswordPrompt),
|
strlen(PasswordPrompt), // wcslen(PasswordPrompt),
|
||||||
strlen(PasswordPrompt),
|
|
||||||
&Result,
|
&Result,
|
||||||
NULL);
|
NULL);
|
||||||
i = 0;
|
i = 0;
|
||||||
|
|
Loading…
Reference in a new issue