mirror of
https://github.com/reactos/reactos.git
synced 2025-02-21 16:04:57 +00:00
- Introduce a common header file.
- Use Wine-style debug code everywhere. svn path=/trunk/; revision=37906
This commit is contained in:
parent
5abd794cd0
commit
467aff9230
3 changed files with 19 additions and 5 deletions
|
@ -6,6 +6,7 @@
|
|||
#define NTOS_MODE_USER
|
||||
#include <ndk/ntndk.h>
|
||||
|
||||
#include "lsasrv.h"
|
||||
#include "lsa_s.h"
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
|
|
@ -3,10 +3,11 @@
|
|||
#define NTOS_MODE_USER
|
||||
#include <ndk/ntndk.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
#include "lsasrv.h"
|
||||
|
||||
VOID LsarStartRpcServer(VOID);
|
||||
#include "wine/debug.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(lsasrv);
|
||||
|
||||
|
||||
NTSTATUS WINAPI
|
||||
|
@ -14,7 +15,7 @@ LsapInitLsa(VOID)
|
|||
{
|
||||
HANDLE hEvent;
|
||||
|
||||
DPRINT("LsapInitLsa() called\n");
|
||||
TRACE("LsapInitLsa()\n");
|
||||
|
||||
LsarStartRpcServer();
|
||||
|
||||
|
@ -29,6 +30,7 @@ LsapInitLsa(VOID)
|
|||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
void __RPC_FAR * __RPC_USER midl_user_allocate(size_t len)
|
||||
{
|
||||
return RtlAllocateHeap(RtlGetProcessHeap(), HEAP_ZERO_MEMORY, len);
|
||||
|
@ -40,5 +42,4 @@ void __RPC_USER midl_user_free(void __RPC_FAR * ptr)
|
|||
RtlFreeHeap(RtlGetProcessHeap(), 0, ptr);
|
||||
}
|
||||
|
||||
|
||||
/* EOF */
|
||||
|
|
12
reactos/dll/win32/lsasrv/lsasrv.h
Normal file
12
reactos/dll/win32/lsasrv/lsasrv.h
Normal file
|
@ -0,0 +1,12 @@
|
|||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: Local Security Authority (LSA) Server
|
||||
* FILE: reactos/dll/win32/lsasrv/lsasrv.h
|
||||
* PURPOSE:
|
||||
*
|
||||
* PROGRAMMERS: Eric Kohl
|
||||
*/
|
||||
|
||||
/* lsarpc.c */
|
||||
VOID LsarStartRpcServer(VOID);
|
||||
|
Loading…
Reference in a new issue