Add ServiceInit() stub and call it from lsass.

svn path=/trunk/; revision=49163
This commit is contained in:
Eric Kohl 2010-10-16 08:48:25 +00:00
parent e53b74f8c5
commit c35d9e6039
4 changed files with 20 additions and 1 deletions

View file

@ -55,6 +55,14 @@ wWinMain(IN HINSTANCE hInstance,
goto ByeBye; goto ByeBye;
} }
/* Start the Netlogon service. */
Status = ServiceInit();
if (!NT_SUCCESS(Status))
{
DPRINT1("ServiceInit() failed (Status 0x%08lX)\n", Status);
goto ByeBye;
}
#if 0 #if 0
/* Initialize the SAM server DLL. */ /* Initialize the SAM server DLL. */
Status = SamIInitialize(); Status = SamIInitialize();

View file

@ -64,6 +64,14 @@ LsapInitLsa(VOID)
} }
NTSTATUS WINAPI
ServiceInit(VOID)
{
TRACE("ServiceInit() called\n");
return STATUS_SUCCESS;
}
void __RPC_FAR * __RPC_USER midl_user_allocate(SIZE_T len) void __RPC_FAR * __RPC_USER midl_user_allocate(SIZE_T len)
{ {
return RtlAllocateHeap(RtlGetProcessHeap(), HEAP_ZERO_MEMORY, len); return RtlAllocateHeap(RtlGetProcessHeap(), HEAP_ZERO_MEMORY, len);

View file

@ -62,4 +62,4 @@
@ stub LsarSetSecret @ stub LsarSetSecret
@ stub LsarSetSecurityObject @ stub LsarSetSecurityObject
@ stub LsarSetSystemAccessAccount @ stub LsarSetSystemAccessAccount
@ stub ServiceInit @ stdcall ServiceInit()

View file

@ -5,4 +5,7 @@
NTSTATUS WINAPI NTSTATUS WINAPI
LsapInitLsa(VOID); LsapInitLsa(VOID);
NTSTATUS WINAPI
ServiceInit(VOID);
#endif /* __LSASRV_H */ #endif /* __LSASRV_H */