-
Notifications
You must be signed in to change notification settings - Fork 14
/
StdAfx.h
50 lines (42 loc) · 1.16 KB
/
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
48
49
50
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#if !defined(AFX_STDAFX_H__DRIVER_TEMPLATE)
#define AFX_STDAFX_H__DRIVER_TEMPLATE
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifdef WIN64
#define _AMD64_
#define _M_AMD64_
#else //WIN64
#define i386 1
#define _X86_ 1
#define CONDITION_HANDLING 1
#define _NT1X_ 100
#define _WIN32_WINNT 0x0400 /* minimum required OS version */
#endif //WIN64
#define STD_CALL
#define NT_INST 0
#define WINNT 1
#define WIN32_LEAN_AND_MEAN 1
#define DEVL 1
#define FPO 1
extern "C" {
#pragma pack(push, 8)
#ifdef _AMD64_
#pragma warning(push)
#pragma warning (disable : 4430)
#endif
#include <ntddk.h> // various NT definitions
#ifdef _AMD64_
#pragma warning(pop)
#endif
//#include <ntifs.h>
#pragma pack(pop)
};
// TODO: Reference additional headers your program requires here
// NOTE: It worth adding here rerely changed headers
// Put references to frequently updated headers in 'drv_common.h'
#endif // !defined(AFX_STDAFX_H__DRIVER_TEMPLATE)