Build LSASS.

svn path=/trunk/; revision=16301
This commit is contained in:
Eric Kohl 2005-06-26 21:01:19 +00:00
parent a35b024258
commit 566e4b53a3
3 changed files with 32 additions and 3 deletions

View file

@ -22,6 +22,9 @@
<directory name="format">
<xi:include href="format/format.xml" />
</directory>
<directory name="lsass">
<xi:include href="lsass/lsass.xml" />
</directory>
<directory name="msiexec">
<xi:include href="msiexec/msiexec.xml" />
</directory>

View file

@ -1,5 +1,4 @@
/* $Id$
*
/*
* reactos/subsys/system/lsass/lsass.c
*
* ReactOS Operating System
@ -27,9 +26,13 @@
* Compiled successfully with egcs 1.1.2
*/
#include <windows.h>
#include NTOS_MODE_USER
#include <ntsecapi.h>
#define NTOS_MODE_USER
#include <ndk/ntndk.h>
#include <lsass/lsasrv.h>
//#include <samsrv.h>
#include <lsass/lsass.h>
#define NDEBUG
#include <debug.h>
@ -46,6 +49,7 @@ WinMain(HINSTANCE hInstance,
DPRINT("Local Security Authority Subsystem\n");
DPRINT(" Initializing...\n");
/* Initialize the LSA server DLL. */
Status = LsapInitLsa();
if (!NT_SUCCESS(Status))
{
@ -53,8 +57,20 @@ WinMain(HINSTANCE hInstance,
goto ByeBye;
}
#if 0
/* Initialize the SAM server DLL. */
Status = SamIInitialize();
if (!NT_SUCCESS(Status))
{
DPRINT1("SamIInitialize() failed (Status 0x%08lX)\n", Status);
goto ByeBye;
}
#endif
/* FIXME: More initialization */
DPRINT(" Done...\n");
ByeBye:
NtTerminateThread(NtCurrentThread(), Status);

View file

@ -0,0 +1,10 @@
<module name="lsass" type="win32gui" installbase="system32" installname="lsass.exe">
<include base="lsass">.</include>
<define name="UNICODE" />
<define name="_UNICODE" />
<define name="__USE_W32API" />
<library>ntdll</library>
<library>lsasrv</library>
<file>lsass.c</file>
<file>lsass.rc</file>
</module>