- Move the SDK to /PSDK or else we'll never get MSVC compiling right.
[reactos.git] / reactos / include / psdk / sdkddkver.h
1 #ifndef _INC_SDKDDKVER
2 #define _INC_SDKDDKVER
3
4 /* Version constants */
5 #define _WIN32_WINNT_NT4 0x0400
6 #define _WIN32_WINNT_WIN2K 0x0500
7 #define _WIN32_WINNT_WINXP 0x0501
8 #define _WIN32_WINNT_WS03 0x0502
9 #define _WIN32_WINNT_LONGHORN 0x0600
10 #define _WIN32_IE_IE20 0x0200
11 #define _WIN32_IE_IE30 0x0300
12 #define _WIN32_IE_IE302 0x0302
13 #define _WIN32_IE_IE40 0x0400
14 #define _WIN32_IE_IE401 0x0401
15 #define _WIN32_IE_IE50 0x0500
16 #define _WIN32_IE_IE501 0x0501
17 #define _WIN32_IE_IE55 0x0550
18 #define _WIN32_IE_IE60 0x0600
19 #define _WIN32_IE_IE60SP1 0x0601
20 #define _WIN32_IE_IE60SP2 0x0603
21 #define _WIN32_IE_IE70 0x0700
22 #define _WIN32_IE_NT4 _WIN32_IE_IE20
23 #define _WIN32_IE_NT4SP1 _WIN32_IE_IE20
24 #define _WIN32_IE_NT4SP2 _WIN32_IE_IE20
25 #define _WIN32_IE_NT4SP3 _WIN32_IE_IE302
26 #define _WIN32_IE_NT4SP4 _WIN32_IE_IE401
27 #define _WIN32_IE_NT4SP5 _WIN32_IE_IE401
28 #define _WIN32_IE_NT4SP6 _WIN32_IE_IE50
29 #define _WIN32_IE_WIN98 _WIN32_IE_IE401
30 #define _WIN32_IE_WIN98SE _WIN32_IE_IE50
31 #define _WIN32_IE_WINME _WIN32_IE_IE55
32 #define _WIN32_IE_WIN2K _WIN32_IE_IE501
33 #define _WIN32_IE_WIN2KSP1 _WIN32_IE_IE501
34 #define _WIN32_IE_WIN2KSP2 _WIN32_IE_IE501
35 #define _WIN32_IE_WIN2KSP3 _WIN32_IE_IE501
36 #define _WIN32_IE_WIN2KSP4 _WIN32_IE_IE501
37 #define _WIN32_IE_XP _WIN32_IE_IE60
38 #define _WIN32_IE_XPSP1 _WIN32_IE_IE60SP1
39 #define _WIN32_IE_XPSP2 _WIN32_IE_IE60SP2
40 #define _WIN32_IE_WS03 0x0602
41 #define _WIN32_IE_WS03SP1 _WIN32_IE_IE60SP2
42 #define _WIN32_IE_LONGHORN _WIN32_IE_IE70
43 #define NTDDI_WIN2K 0x05000000
44 #define NTDDI_WIN2KSP1 0x05000100
45 #define NTDDI_WIN2KSP2 0x05000200
46 #define NTDDI_WIN2KSP3 0x05000300
47 #define NTDDI_WIN2KSP4 0x05000400
48 #define NTDDI_WINXP 0x05010000
49 #define NTDDI_WINXPSP1 0x05010100
50 #define NTDDI_WINXPSP2 0x05010200
51 #define NTDDI_WS03 0x05020000
52 #define NTDDI_WS03SP1 0x05020100
53 #define NTDDI_LONGHORN 0x06000000
54
55 /* Macros to get the NTDDI for a given WIN32 */
56 #define NTDDI_VERSION_FROM_WIN32_WINNT2(ver) ver##0000
57 #define NTDDI_VERSION_FROM_WIN32_WINNT(ver) NTDDI_VERSION_FROM_WIN32_WINNT2(ver)
58
59 /* Select Default WIN32_WINNT Value */
60 #if !defined(_WIN32_WINNT) && !defined(_CHICAGO_)
61 #define _WIN32_WINNT 0x0600
62 #endif
63
64 /* Choose NTDDI Version */
65 #ifndef NTDDI_VERSION
66 #ifdef _WIN32_WINNT
67 #define NTDDI_VERSION NTDDI_VERSION_FROM_WIN32_WINNT(_WIN32_WINNT)
68 #else
69 #define NTDDI_VERSION 0x06000000
70 #endif
71 #endif
72
73 /* Choose WINVER Value */
74 #ifndef WINVER
75 #ifdef _WIN32_WINNT
76 #define WINVER _WIN32_WINNT
77 #else
78 #define WINVER 0x0600
79 #endif
80 #endif
81
82 /* Choose IE Version */
83 #ifndef _WIN32_IE
84 #ifdef _WIN32_WINNT
85 #if (_WIN32_WINNT <= _WIN32_WINNT_NT4)
86 #define _WIN32_IE _WIN32_IE_IE50
87 #elif (_WIN32_WINNT <= _WIN32_WINNT_WIN2K)
88 #define _WIN32_IE _WIN32_IE_IE501
89 #elif (_WIN32_WINNT <= _WIN32_WINNT_WINXP)
90 #define _WIN32_IE _WIN32_IE_IE60
91 #elif (_WIN32_WINNT <= _WIN32_WINNT_WS03)
92 #define _WIN32_IE 0x0602
93 #else
94 #define _WIN32_IE 0x0700
95 #endif
96 #else
97 #define _WIN32_IE 0x0700
98 #endif
99 #endif
100
101 #endif