-
Notifications
You must be signed in to change notification settings - Fork 26
/
stdafx.h
47 lines (33 loc) · 860 Bytes
/
stdafx.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#pragma once
#include "targetver.h"
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
// Windows Header Files:
#include <windows.h>
#include <atlstr.h>
// TODO: reference additional headers your program requires here
#ifdef _WIN64
#define KDEXT_64BIT
#else
#define KDEXT_32BIT
#endif
#include <wdbgexts.h>
#include <dbgeng.h>
#pragma comment(lib, "dbgeng.lib")
#ifdef _DEBUG
# define DEBUGPRINT dprintf
#else
# define DEBUGPRINT(...) __noop
#endif
#ifdef WIN32KEXT_EXPORTS
#define WIN32KEXT_API __declspec(dllexport)
#else
#define WIN32KEXT_API __declspec(dllimport)
#endif
//
// windbg pointer is 64-bit
//
typedef ULONG64 WDBG_PTR, *PWDBG_PTR;