1 /**
2  * Windows API header module
3  *
4  * Translated from Windows SDK API
5  *
6  * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
7  * Source: $(DRUNTIMESRC core/sys/windows/sdkddkver.d)
8  */
9 module core.sys.windows.sdkddkver;
10 
11 version (Windows):
12 
13 enum _WIN32_WINNT_NT4                    = 0x0400;
14 enum _WIN32_WINNT_WIN2K                  = 0x0500;
15 enum _WIN32_WINNT_WINXP                  = 0x0501;
16 enum _WIN32_WINNT_WS03                   = 0x0502;
17 enum _WIN32_WINNT_WIN6                   = 0x0600;
18 enum _WIN32_WINNT_VISTA                  = 0x0600;
19 enum _WIN32_WINNT_WS08                   = 0x0600;
20 enum _WIN32_WINNT_LONGHORN               = 0x0600;
21 enum _WIN32_WINNT_WIN7                   = 0x0601;
22 enum _WIN32_WINNT_WIN8                   = 0x0602;
23 enum _WIN32_WINNT_WINBLUE                = 0x0603;
24 enum _WIN32_WINNT_WIN10                  = 0x0A00;
25 
26 enum _WIN32_IE_IE20                      = 0x0200;
27 enum _WIN32_IE_IE30                      = 0x0300;
28 enum _WIN32_IE_IE302                     = 0x0302;
29 enum _WIN32_IE_IE40                      = 0x0400;
30 enum _WIN32_IE_IE401                     = 0x0401;
31 enum _WIN32_IE_IE50                      = 0x0500;
32 enum _WIN32_IE_IE501                     = 0x0501;
33 enum _WIN32_IE_IE55                      = 0x0550;
34 enum _WIN32_IE_IE60                      = 0x0600;
35 enum _WIN32_IE_IE60SP1                   = 0x0601;
36 enum _WIN32_IE_IE60SP2                   = 0x0603;
37 enum _WIN32_IE_IE70                      = 0x0700;
38 enum _WIN32_IE_IE80                      = 0x0800;
39 enum _WIN32_IE_IE90                      = 0x0900;
40 enum _WIN32_IE_IE100                     = 0x0A00;
41 
42 enum _WIN32_IE_NT4                    =  _WIN32_IE_IE20;
43 enum _WIN32_IE_NT4SP1                 =  _WIN32_IE_IE20;
44 enum _WIN32_IE_NT4SP2                 =  _WIN32_IE_IE20;
45 enum _WIN32_IE_NT4SP3                 =  _WIN32_IE_IE302;
46 enum _WIN32_IE_NT4SP4                 =  _WIN32_IE_IE401;
47 enum _WIN32_IE_NT4SP5                 =  _WIN32_IE_IE401;
48 enum _WIN32_IE_NT4SP6                 =  _WIN32_IE_IE50;
49 enum _WIN32_IE_WIN98                  =  _WIN32_IE_IE401;
50 enum _WIN32_IE_WIN98SE                =  _WIN32_IE_IE50;
51 enum _WIN32_IE_WINME                  =  _WIN32_IE_IE55;
52 enum _WIN32_IE_WIN2K                  =  _WIN32_IE_IE501;
53 enum _WIN32_IE_WIN2KSP1               =  _WIN32_IE_IE501;
54 enum _WIN32_IE_WIN2KSP2               =  _WIN32_IE_IE501;
55 enum _WIN32_IE_WIN2KSP3               =  _WIN32_IE_IE501;
56 enum _WIN32_IE_WIN2KSP4               =  _WIN32_IE_IE501;
57 enum _WIN32_IE_XP                     =  _WIN32_IE_IE60;
58 enum _WIN32_IE_XPSP1                  =  _WIN32_IE_IE60SP1;
59 enum _WIN32_IE_XPSP2                  =  _WIN32_IE_IE60SP2;
60 enum _WIN32_IE_WS03                   =  0x0602;
61 enum _WIN32_IE_WS03SP1                =  _WIN32_IE_IE60SP2;
62 enum _WIN32_IE_WIN6                   =  _WIN32_IE_IE70;
63 enum _WIN32_IE_LONGHORN               =  _WIN32_IE_IE70;
64 enum _WIN32_IE_WIN7                   =  _WIN32_IE_IE80;
65 enum _WIN32_IE_WIN8                   =  _WIN32_IE_IE100;
66 enum _WIN32_IE_WINBLUE                =  _WIN32_IE_IE100;
67 
68 
69 enum NTDDI_WIN2K                         = 0x05000000;
70 enum NTDDI_WIN2KSP1                      = 0x05000100;
71 enum NTDDI_WIN2KSP2                      = 0x05000200;
72 enum NTDDI_WIN2KSP3                      = 0x05000300;
73 enum NTDDI_WIN2KSP4                      = 0x05000400;
74 
75 enum NTDDI_WINXP                         = 0x05010000;
76 enum NTDDI_WINXPSP1                      = 0x05010100;
77 enum NTDDI_WINXPSP2                      = 0x05010200;
78 enum NTDDI_WINXPSP3                      = 0x05010300;
79 enum NTDDI_WINXPSP4                      = 0x05010400;
80 
81 enum NTDDI_WS03                          = 0x05020000;
82 enum NTDDI_WS03SP1                       = 0x05020100;
83 enum NTDDI_WS03SP2                       = 0x05020200;
84 enum NTDDI_WS03SP3                       = 0x05020300;
85 enum NTDDI_WS03SP4                       = 0x05020400;
86 
87 enum NTDDI_WIN6                          = 0x06000000;
88 enum NTDDI_WIN6SP1                       = 0x06000100;
89 enum NTDDI_WIN6SP2                       = 0x06000200;
90 enum NTDDI_WIN6SP3                       = 0x06000300;
91 enum NTDDI_WIN6SP4                       = 0x06000400;
92 
93 enum NTDDI_VISTA                       = NTDDI_WIN6;
94 enum NTDDI_VISTASP1                    = NTDDI_WIN6SP1;
95 enum NTDDI_VISTASP2                    = NTDDI_WIN6SP2;
96 enum NTDDI_VISTASP3                    = NTDDI_WIN6SP3;
97 enum NTDDI_VISTASP4                    = NTDDI_WIN6SP4;
98 
99 enum NTDDI_LONGHORN                    = NTDDI_VISTA;
100 
101 enum NTDDI_WS08                        = NTDDI_WIN6SP1;
102 enum NTDDI_WS08SP2                     = NTDDI_WIN6SP2;
103 enum NTDDI_WS08SP3                     = NTDDI_WIN6SP3;
104 enum NTDDI_WS08SP4                     = NTDDI_WIN6SP4;
105 
106 enum NTDDI_WIN7                          = 0x06010000;
107 enum NTDDI_WIN8                          = 0x06020000;
108 enum NTDDI_WINBLUE                       = 0x06030000;
109 
110 enum OSVERSION_MASK      = 0xFFFF0000;
111 enum SPVERSION_MASK      = 0x0000FF00;
112 enum SUBVERSION_MASK     = 0x000000FF;
113 
114 enum _WIN32_WINNT    = 0x0603;
115 
116 enum NTDDI_VERSION   = 0x06030000;
117 enum WINVER          =  _WIN32_WINNT;