mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 20:56:26 +00:00
[LSASRV]
Add ServiceInit() stub and call it from lsass. svn path=/trunk/; revision=49163
This commit is contained in:
parent
e53b74f8c5
commit
c35d9e6039
4 changed files with 20 additions and 1 deletions
|
@ -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();
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -62,4 +62,4 @@
|
||||||
@ stub LsarSetSecret
|
@ stub LsarSetSecret
|
||||||
@ stub LsarSetSecurityObject
|
@ stub LsarSetSecurityObject
|
||||||
@ stub LsarSetSystemAccessAccount
|
@ stub LsarSetSystemAccessAccount
|
||||||
@ stub ServiceInit
|
@ stdcall ServiceInit()
|
||||||
|
|
|
@ -5,4 +5,7 @@
|
||||||
NTSTATUS WINAPI
|
NTSTATUS WINAPI
|
||||||
LsapInitLsa(VOID);
|
LsapInitLsa(VOID);
|
||||||
|
|
||||||
|
NTSTATUS WINAPI
|
||||||
|
ServiceInit(VOID);
|
||||||
|
|
||||||
#endif /* __LSASRV_H */
|
#endif /* __LSASRV_H */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue