b9a1fc218d7faae99fdd0724c7bab12f0a3c4b6b
2 * reactos/subsys/system/lsass/lsass.c
4 * ReactOS Operating System
6 * --------------------------------------------------------------------
8 * This software is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation; either version 2 of the
11 * License, or (at your option) any later version.
13 * This software is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this software; see the file COPYING.LIB. If not, write
20 * to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
23 * --------------------------------------------------------------------
25 * 19990704 (Emanuele Aliberti)
26 * Compiled successfully with egcs 1.1.2
29 #define NTOS_MODE_USER
30 #include <ndk/ntndk.h>
32 #include <lsass/lsasrv.h>
34 #include <lsass/lsass.h>
41 WinMain(HINSTANCE hInstance
,
42 HINSTANCE hPrevInstance
,
46 NTSTATUS Status
= STATUS_SUCCESS
;
48 DPRINT("Local Security Authority Subsystem\n");
49 DPRINT(" Initializing...\n");
51 /* Initialize the LSA server DLL. */
52 Status
= LsapInitLsa();
53 if (!NT_SUCCESS(Status
))
55 DPRINT1("LsapInitLsa() failed (Status 0x%08lX)\n", Status
);
60 /* Initialize the SAM server DLL. */
61 Status
= SamIInitialize();
62 if (!NT_SUCCESS(Status
))
64 DPRINT1("SamIInitialize() failed (Status 0x%08lX)\n", Status
);
69 /* FIXME: More initialization */
74 NtTerminateThread(NtCurrentThread(), Status
);