mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
[CSRSRV]
* Remove one time inclusions from the main header and put them back where they belong. * Remove inclusions and definitions that already exist in the main header. * Cleanup the main header. CORE-7716 svn path=/trunk/; revision=61518
This commit is contained in:
parent
67a66904b5
commit
d6e07f60b4
6 changed files with 12 additions and 17 deletions
|
@ -11,6 +11,8 @@
|
||||||
|
|
||||||
#include "srv.h"
|
#include "srv.h"
|
||||||
|
|
||||||
|
#include <ndk/kefuncs.h>
|
||||||
|
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
|
|
|
@ -7,13 +7,6 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define NTOS_MODE_USER
|
|
||||||
#include <ndk/psfuncs.h>
|
|
||||||
#include <ndk/rtlfuncs.h>
|
|
||||||
|
|
||||||
#include <csr/csrsrv.h>
|
|
||||||
|
|
||||||
|
|
||||||
extern RTL_CRITICAL_SECTION CsrProcessLock, CsrWaitListsLock;
|
extern RTL_CRITICAL_SECTION CsrProcessLock, CsrWaitListsLock;
|
||||||
|
|
||||||
#define CsrAcquireProcessLock() \
|
#define CsrAcquireProcessLock() \
|
||||||
|
|
|
@ -11,6 +11,9 @@
|
||||||
|
|
||||||
#include "srv.h"
|
#include "srv.h"
|
||||||
|
|
||||||
|
#include <winreg.h>
|
||||||
|
#include <ndk/cmfuncs.h>
|
||||||
|
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,8 @@
|
||||||
|
|
||||||
#include <srv.h>
|
#include <srv.h>
|
||||||
|
|
||||||
|
#include <winuser.h>
|
||||||
|
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,8 @@
|
||||||
|
|
||||||
#include "srv.h"
|
#include "srv.h"
|
||||||
|
|
||||||
|
#include <ndk/mmfuncs.h>
|
||||||
|
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
|
|
|
@ -15,19 +15,15 @@
|
||||||
#define WIN32_NO_STATUS
|
#define WIN32_NO_STATUS
|
||||||
#include <windef.h>
|
#include <windef.h>
|
||||||
#include <winbase.h>
|
#include <winbase.h>
|
||||||
#include <winreg.h>
|
|
||||||
#include <winuser.h> // For EWX_FORCE
|
|
||||||
#define NTOS_MODE_USER
|
#define NTOS_MODE_USER
|
||||||
#include <ndk/setypes.h>
|
#include <ndk/setypes.h>
|
||||||
#include <ndk/sefuncs.h>
|
#include <ndk/sefuncs.h>
|
||||||
#include <ndk/exfuncs.h>
|
#include <ndk/exfuncs.h>
|
||||||
#include <ndk/cmfuncs.h>
|
|
||||||
#include <ndk/obfuncs.h>
|
#include <ndk/obfuncs.h>
|
||||||
#include <ndk/lpcfuncs.h>
|
#include <ndk/lpcfuncs.h>
|
||||||
#include <ndk/kefuncs.h>
|
|
||||||
//#include <ndk/dbgktypes.h>
|
|
||||||
#include <ndk/mmfuncs.h>
|
|
||||||
#include <ndk/umfuncs.h>
|
#include <ndk/umfuncs.h>
|
||||||
|
#include <ndk/psfuncs.h>
|
||||||
|
#include <ndk/rtlfuncs.h>
|
||||||
|
|
||||||
/* CSR Header */
|
/* CSR Header */
|
||||||
#include <csr/csrsrv.h>
|
#include <csr/csrsrv.h>
|
||||||
|
@ -36,7 +32,6 @@
|
||||||
#include <pseh/pseh2.h>
|
#include <pseh/pseh2.h>
|
||||||
|
|
||||||
/* Subsystem Manager Header */
|
/* Subsystem Manager Header */
|
||||||
#include <sm/helper.h>
|
|
||||||
#include <sm/smmsg.h>
|
#include <sm/smmsg.h>
|
||||||
|
|
||||||
/* Internal CSRSS Header */
|
/* Internal CSRSS Header */
|
||||||
|
@ -58,6 +53,4 @@
|
||||||
#define InterlockedIncrementUL(Value) _InterlockedIncrement((PLONG)Value)
|
#define InterlockedIncrementUL(Value) _InterlockedIncrement((PLONG)Value)
|
||||||
#define InterlockedDecrementUL(Value) _InterlockedDecrement((PLONG)Value)
|
#define InterlockedDecrementUL(Value) _InterlockedDecrement((PLONG)Value)
|
||||||
|
|
||||||
#endif // _SRV_H
|
#endif /* _SRV_H */
|
||||||
|
|
||||||
/* EOF */
|
|
||||||
|
|
Loading…
Reference in a new issue