mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +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
|
#define NTOS_MODE_USER
|
||||||
#include <ndk/ntndk.h>
|
#include <ndk/ntndk.h>
|
||||||
|
|
||||||
|
#include "lsasrv.h"
|
||||||
#include "lsa_s.h"
|
#include "lsa_s.h"
|
||||||
|
|
||||||
#include <wine/debug.h>
|
#include <wine/debug.h>
|
||||||
|
|
|
@ -3,10 +3,11 @@
|
||||||
#define NTOS_MODE_USER
|
#define NTOS_MODE_USER
|
||||||
#include <ndk/ntndk.h>
|
#include <ndk/ntndk.h>
|
||||||
|
|
||||||
#define NDEBUG
|
#include "lsasrv.h"
|
||||||
#include <debug.h>
|
|
||||||
|
|
||||||
VOID LsarStartRpcServer(VOID);
|
#include "wine/debug.h"
|
||||||
|
|
||||||
|
WINE_DEFAULT_DEBUG_CHANNEL(lsasrv);
|
||||||
|
|
||||||
|
|
||||||
NTSTATUS WINAPI
|
NTSTATUS WINAPI
|
||||||
|
@ -14,7 +15,7 @@ LsapInitLsa(VOID)
|
||||||
{
|
{
|
||||||
HANDLE hEvent;
|
HANDLE hEvent;
|
||||||
|
|
||||||
DPRINT("LsapInitLsa() called\n");
|
TRACE("LsapInitLsa()\n");
|
||||||
|
|
||||||
LsarStartRpcServer();
|
LsarStartRpcServer();
|
||||||
|
|
||||||
|
@ -29,6 +30,7 @@ LsapInitLsa(VOID)
|
||||||
return STATUS_SUCCESS;
|
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);
|
||||||
|
@ -40,5 +42,4 @@ void __RPC_USER midl_user_free(void __RPC_FAR * ptr)
|
||||||
RtlFreeHeap(RtlGetProcessHeap(), 0, ptr);
|
RtlFreeHeap(RtlGetProcessHeap(), 0, ptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* EOF */
|
/* 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