mirror of
https://github.com/reactos/reactos.git
synced 2025-07-30 22:01:43 +00:00
[EPSAPI]
* Add a PCH. svn path=/trunk/; revision=52985
This commit is contained in:
parent
2525881109
commit
3e20601b21
6 changed files with 12 additions and 18 deletions
|
@ -4,5 +4,5 @@ add_library(epsapi
|
|||
enum/modules.c
|
||||
enum/processes.c)
|
||||
|
||||
add_pch(epsapi enum/precomp.h)
|
||||
add_dependencies(epsapi psdk)
|
||||
|
||||
|
|
|
@ -14,16 +14,11 @@
|
|||
* 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,
|
||||
IN OUT PVOID CallbackContext)
|
||||
|
|
|
@ -18,16 +18,12 @@
|
|||
* 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,
|
||||
IN PPROCMOD_ENUM_ROUTINE Callback,
|
||||
|
|
6
reactos/lib/epsapi/enum/precomp.h
Normal file
6
reactos/lib/epsapi/enum/precomp.h
Normal file
|
@ -0,0 +1,6 @@
|
|||
#define WIN32_NO_STATUS
|
||||
#include <windows.h>
|
||||
#define NTOS_MODE_USER
|
||||
#include <ndk/ntndk.h>
|
||||
|
||||
#include <epsapi/epsapi.h>
|
|
@ -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>
|
||||
|
|
|
@ -5,5 +5,6 @@
|
|||
<file>drivers.c</file>
|
||||
<file>modules.c</file>
|
||||
<file>processes.c</file>
|
||||
<pch>precomp.h</pch>
|
||||
</directory>
|
||||
</module>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue