-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
targetver.h
59 lines (49 loc) · 1.6 KB
/
targetver.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
51
52
53
54
55
56
57
58
59
///////////////////////////////////////////////////////////////////////
// targetver.h is used to define the Windows API macros that target the
// version of the Windows operating system you wish to support.
// For Windows 95
//#define WINVER 0x0400
//#define _WIN32_WINDOWS 0x0400
//#define _WIN32_WINNT 0x0400
//#define _WIN32_IE 0x0300
// For Windows 98
//#define WINVER 0x0410
//#define _WIN32_WINDOWS 0x0410
//#define _WIN32_WINNT 0x0410
//#define _WIN32_IE 0x0401
// For Windows NT4
//#define WINVER 0x0400
//#define _WIN32_WINNT 0x0400
//#define _WIN32_IE 0x0200
//#define NTDDI_VERSION 0x05000000
// For Windows ME
//#define WINVER 0x0500
//#define _WIN32_WINNT 0x0500
//#define _WIN32_IE 0x0500
// For Windows 2000
//#define WINVER 0x0500
//#define _WIN32_WINNT 0x0500
//#define _WIN32_IE 0x0500
//#define NTDDI_VERSION 0x05000000
// For Windows XP
#define WINVER 0x0501
#define _WIN32_WINNT 0x0501
#define _WIN32_IE 0x0501
#define NTDDI_VERSION 0x05010000
// For Windows Vista
//#define WINVER 0x0600
//#define _WIN32_WINNT 0x0600
//#define _WIN32_IE 0x0600
//#define NTDDI_VERSION 0x06000000
// For Windows 7
//#define WINVER 0x0601
//#define _WIN32_WINNT 0x0601
//#define _WIN32_IE 0x0601
//#define NTDDI_VERSION 0x06010000
// For Windows 8.1
//#define WINVER 0x0602
//#define _WIN32_WINNT 0x0602
//#define _WIN32_IE 0x0602
//#define NTDDI_VERSION 0x06030000
// Users of Visual Studio 10+ can do this instead
// #include "SDKDDKver.h"