mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 01:45:40 +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/modules.c
|
||||||
enum/processes.c)
|
enum/processes.c)
|
||||||
|
|
||||||
|
add_pch(epsapi enum/precomp.h)
|
||||||
add_dependencies(epsapi psdk)
|
add_dependencies(epsapi psdk)
|
||||||
|
|
||||||
|
|
|
@ -14,16 +14,11 @@
|
||||||
* and improve reusability
|
* and improve reusability
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define WIN32_NO_STATUS
|
#include "precomp.h"
|
||||||
#include <windows.h>
|
|
||||||
#define NTOS_MODE_USER
|
|
||||||
#include <ndk/ntndk.h>
|
|
||||||
|
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
#include <epsapi/epsapi.h>
|
|
||||||
|
|
||||||
NTSTATUS NTAPI
|
NTSTATUS NTAPI
|
||||||
PsaEnumerateSystemModules(IN PSYSMOD_ENUM_ROUTINE Callback,
|
PsaEnumerateSystemModules(IN PSYSMOD_ENUM_ROUTINE Callback,
|
||||||
IN OUT PVOID CallbackContext)
|
IN OUT PVOID CallbackContext)
|
||||||
|
|
|
@ -18,16 +18,12 @@
|
||||||
* isolated in its own library to clear the confusion
|
* isolated in its own library to clear the confusion
|
||||||
* and improve reusability
|
* and improve reusability
|
||||||
*/
|
*/
|
||||||
#define WIN32_NO_STATUS
|
|
||||||
#include <windows.h>
|
#include "precomp.h"
|
||||||
#define NTOS_MODE_USER
|
|
||||||
#include <ndk/ntndk.h>
|
|
||||||
|
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
#include <epsapi/epsapi.h>
|
|
||||||
|
|
||||||
NTSTATUS NTAPI
|
NTSTATUS NTAPI
|
||||||
PsaEnumerateProcessModules(IN HANDLE ProcessHandle,
|
PsaEnumerateProcessModules(IN HANDLE ProcessHandle,
|
||||||
IN PPROCMOD_ENUM_ROUTINE Callback,
|
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
|
* isolated in its own library to clear the confusion
|
||||||
* and improve reusability
|
* 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
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
|
@ -5,5 +5,6 @@
|
||||||
<file>drivers.c</file>
|
<file>drivers.c</file>
|
||||||
<file>modules.c</file>
|
<file>modules.c</file>
|
||||||
<file>processes.c</file>
|
<file>processes.c</file>
|
||||||
|
<pch>precomp.h</pch>
|
||||||
</directory>
|
</directory>
|
||||||
</module>
|
</module>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue