- Introduce a common header file.

- Use Wine-style debug code everywhere.

svn path=/trunk/; revision=37906
This commit is contained in:
Eric Kohl 2008-12-06 21:33:49 +00:00
parent 5abd794cd0
commit 467aff9230
3 changed files with 19 additions and 5 deletions

View file

@ -6,6 +6,7 @@
#define NTOS_MODE_USER
#include <ndk/ntndk.h>
#include "lsasrv.h"
#include "lsa_s.h"
#include <wine/debug.h>

View file

@ -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 */

View 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);