mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[LSASRV]
Add ServiceInit() stub and call it from lsass. svn path=/trunk/; revision=49163
This commit is contained in:
@@ -55,6 +55,14 @@ wWinMain(IN HINSTANCE hInstance,
|
||||
goto ByeBye;
|
||||
}
|
||||
|
||||
/* Start the Netlogon service. */
|
||||
Status = ServiceInit();
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
DPRINT1("ServiceInit() failed (Status 0x%08lX)\n", Status);
|
||||
goto ByeBye;
|
||||
}
|
||||
|
||||
#if 0
|
||||
/* Initialize the SAM server DLL. */
|
||||
Status = SamIInitialize();
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
return RtlAllocateHeap(RtlGetProcessHeap(), HEAP_ZERO_MEMORY, len);
|
||||
|
||||
@@ -62,4 +62,4 @@
|
||||
@ stub LsarSetSecret
|
||||
@ stub LsarSetSecurityObject
|
||||
@ stub LsarSetSystemAccessAccount
|
||||
@ stub ServiceInit
|
||||
@ stdcall ServiceInit()
|
||||
|
||||
@@ -5,4 +5,7 @@
|
||||
NTSTATUS WINAPI
|
||||
LsapInitLsa(VOID);
|
||||
|
||||
NTSTATUS WINAPI
|
||||
ServiceInit(VOID);
|
||||
|
||||
#endif /* __LSASRV_H */
|
||||
|
||||
Reference in New Issue
Block a user