Author: akhaldi
Date: Thu Jul 28 16:21:48 2011
New Revision: 52985
URL:
http://svn.reactos.org/svn/reactos?rev=52985&view=rev
Log:
[EPSAPI]
* Add a PCH.
Added:
trunk/reactos/lib/epsapi/enum/precomp.h (with props)
Modified:
trunk/reactos/lib/epsapi/CMakeLists.txt
trunk/reactos/lib/epsapi/enum/drivers.c
trunk/reactos/lib/epsapi/enum/modules.c
trunk/reactos/lib/epsapi/enum/processes.c
trunk/reactos/lib/epsapi/epsapi.rbuild
Modified: trunk/reactos/lib/epsapi/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/epsapi/CMakeLists.txt?…
==============================================================================
--- trunk/reactos/lib/epsapi/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/lib/epsapi/CMakeLists.txt [iso-8859-1] Thu Jul 28 16:21:48 2011
@@ -4,5 +4,5 @@
enum/modules.c
enum/processes.c)
+add_pch(epsapi enum/precomp.h)
add_dependencies(epsapi psdk)
-
Modified: trunk/reactos/lib/epsapi/enum/drivers.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/epsapi/enum/drivers.c?…
==============================================================================
--- trunk/reactos/lib/epsapi/enum/drivers.c [iso-8859-1] (original)
+++ trunk/reactos/lib/epsapi/enum/drivers.c [iso-8859-1] Thu Jul 28 16:21:48 2011
@@ -14,15 +14,10 @@
* and improve reusability
*/
-#define WIN32_NO_STATUS
-#include <windows.h>
-#define NTOS_MODE_USER
-#include <ndk/ntndk.h>
+#include "precomp.h"
#define NDEBUG
#include <debug.h>
-
-#include <epsapi/epsapi.h>
NTSTATUS NTAPI
PsaEnumerateSystemModules(IN PSYSMOD_ENUM_ROUTINE Callback,
Modified: trunk/reactos/lib/epsapi/enum/modules.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/epsapi/enum/modules.c?…
==============================================================================
--- trunk/reactos/lib/epsapi/enum/modules.c [iso-8859-1] (original)
+++ trunk/reactos/lib/epsapi/enum/modules.c [iso-8859-1] Thu Jul 28 16:21:48 2011
@@ -18,15 +18,11 @@
* isolated in its own library to clear the confusion
* and improve reusability
*/
-#define WIN32_NO_STATUS
-#include <windows.h>
-#define NTOS_MODE_USER
-#include <ndk/ntndk.h>
+
+#include "precomp.h"
#define NDEBUG
#include <debug.h>
-
-#include <epsapi/epsapi.h>
NTSTATUS NTAPI
PsaEnumerateProcessModules(IN HANDLE ProcessHandle,
Added: trunk/reactos/lib/epsapi/enum/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/epsapi/enum/precomp.h?…
==============================================================================
--- trunk/reactos/lib/epsapi/enum/precomp.h (added)
+++ trunk/reactos/lib/epsapi/enum/precomp.h [iso-8859-1] Thu Jul 28 16:21:48 2011
@@ -1,0 +1,6 @@
+#define WIN32_NO_STATUS
+#include <windows.h>
+#define NTOS_MODE_USER
+#include <ndk/ntndk.h>
+
+#include <epsapi/epsapi.h>
Propchange: trunk/reactos/lib/epsapi/enum/precomp.h
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/reactos/lib/epsapi/enum/processes.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/epsapi/enum/processes.…
==============================================================================
--- trunk/reactos/lib/epsapi/enum/processes.c [iso-8859-1] (original)
+++ trunk/reactos/lib/epsapi/enum/processes.c [iso-8859-1] Thu Jul 28 16:21:48 2011
@@ -30,12 +30,8 @@
* isolated in its own library to clear the confusion
* and improve reusability
*/
-#define WIN32_NO_STATUS
-#include <windows.h>
-#define NTOS_MODE_USER
-#include <ndk/ntndk.h>
-
-#include <epsapi/epsapi.h>
+
+#include "precomp.h"
#define NDEBUG
#include <debug.h>
Modified: trunk/reactos/lib/epsapi/epsapi.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/epsapi/epsapi.rbuild?r…
==============================================================================
--- trunk/reactos/lib/epsapi/epsapi.rbuild [iso-8859-1] (original)
+++ trunk/reactos/lib/epsapi/epsapi.rbuild [iso-8859-1] Thu Jul 28 16:21:48 2011
@@ -5,5 +5,6 @@
<file>drivers.c</file>
<file>modules.c</file>
<file>processes.c</file>
+ <pch>precomp.h</pch>
</directory>
</module>