ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

sdkddkver.h
Go to the documentation of this file.
00001 /* ReactOS PSDK/DDK
00002 
00003 This file is in the public domain.
00004 
00005 Header Name:
00006 
00007     sdkddkver.h
00008 
00009 Abstract:
00010 
00011     Version definitions for SDK and DDK.
00012 
00013 --*/
00014 
00015 #ifndef _INC_SDKDDKVER
00016 #define _INC_SDKDDKVER
00017 
00018 /* _WIN32_WINNT */
00019 #define _WIN32_WINNT_NT4                    0x0400
00020 #define _WIN32_WINNT_WIN2K                  0x0500
00021 #define _WIN32_WINNT_WINXP                  0x0501
00022 #define _WIN32_WINNT_WS03                   0x0502
00023 #define _WIN32_WINNT_WIN6                   0x0600
00024 #define _WIN32_WINNT_VISTA                  0x0600
00025 #define _WIN32_WINNT_WS08                   0x0600
00026 #define _WIN32_WINNT_LONGHORN               0x0600
00027 #define _WIN32_WINNT_WIN7                   0x0601
00028 
00029 /* _WIN32_IE */
00030 #define _WIN32_IE_IE20                      0x0200
00031 #define _WIN32_IE_IE30                      0x0300
00032 #define _WIN32_IE_IE302                     0x0302
00033 #define _WIN32_IE_IE40                      0x0400
00034 #define _WIN32_IE_IE401                     0x0401
00035 #define _WIN32_IE_IE50                      0x0500
00036 #define _WIN32_IE_IE501                     0x0501
00037 #define _WIN32_IE_IE55                      0x0550
00038 #define _WIN32_IE_IE60                      0x0600
00039 #define _WIN32_IE_IE60SP1                   0x0601
00040 #define _WIN32_IE_IE60SP2                   0x0603
00041 #define _WIN32_IE_IE70                      0x0700
00042 #define _WIN32_IE_IE80                      0x0800
00043 
00044 /* Mappings Between IE Version  and Windows Version */
00045 #define _WIN32_IE_NT4                       _WIN32_IE_IE20
00046 #define _WIN32_IE_NT4SP1                    _WIN32_IE_IE20
00047 #define _WIN32_IE_NT4SP2                    _WIN32_IE_IE20
00048 #define _WIN32_IE_NT4SP3                    _WIN32_IE_IE302
00049 #define _WIN32_IE_NT4SP4                    _WIN32_IE_IE401
00050 #define _WIN32_IE_NT4SP5                    _WIN32_IE_IE401
00051 #define _WIN32_IE_NT4SP6                    _WIN32_IE_IE50
00052 #define _WIN32_IE_WIN98                     _WIN32_IE_IE401
00053 #define _WIN32_IE_WIN98SE                   _WIN32_IE_IE50
00054 #define _WIN32_IE_WINME                     _WIN32_IE_IE55
00055 #define _WIN32_IE_WIN2K                     _WIN32_IE_IE501
00056 #define _WIN32_IE_WIN2KSP1                  _WIN32_IE_IE501
00057 #define _WIN32_IE_WIN2KSP2                  _WIN32_IE_IE501
00058 #define _WIN32_IE_WIN2KSP3                  _WIN32_IE_IE501
00059 #define _WIN32_IE_WIN2KSP4                  _WIN32_IE_IE501
00060 #define _WIN32_IE_XP                        _WIN32_IE_IE60
00061 #define _WIN32_IE_XPSP1                     _WIN32_IE_IE60SP1
00062 #define _WIN32_IE_XPSP2                     _WIN32_IE_IE60SP2
00063 #define _WIN32_IE_WS03                      0x0602
00064 #define _WIN32_IE_WS03SP1                   _WIN32_IE_IE60SP2
00065 #define _WIN32_IE_WIN6                      _WIN32_IE_IE70
00066 #define _WIN32_IE_LONGHORN                  _WIN32_IE_IE70
00067 #define _WIN32_IE_WIN7                      _WIN32_IE_IE80
00068 
00069 /* NTDDI_VERSION */
00070 #define NTDDI_WIN2K                         0x05000000
00071 #define NTDDI_WIN2KSP1                      0x05000100
00072 #define NTDDI_WIN2KSP2                      0x05000200
00073 #define NTDDI_WIN2KSP3                      0x05000300
00074 #define NTDDI_WIN2KSP4                      0x05000400
00075 #define NTDDI_WINXP                         0x05010000
00076 #define NTDDI_WINXPSP1                      0x05010100
00077 #define NTDDI_WINXPSP2                      0x05010200
00078 #define NTDDI_WINXPSP3                      0x05010300
00079 #define NTDDI_WINXPSP4                      0x05010400
00080 #define NTDDI_WS03                          0x05020000
00081 #define NTDDI_WS03SP1                       0x05020100
00082 #define NTDDI_WS03SP2                       0x05020200
00083 #define NTDDI_WS03SP3                       0x05020300
00084 #define NTDDI_WS03SP4                       0x05020400
00085 #define NTDDI_WIN6                          0x06000000
00086 #define NTDDI_WIN6SP1                       0x06000100
00087 #define NTDDI_WIN6SP2                       0x06000200
00088 #define NTDDI_WIN6SP3                       0x06000300
00089 #define NTDDI_WIN6SP4                       0x06000400
00090 #define NTDDI_LONGHORN                      NTDDI_WIN6
00091 #define NTDDI_VISTA                         NTDDI_WIN6
00092 #define NTDDI_VISTASP1                      NTDDI_WIN6SP1
00093 #define NTDDI_VISTASP2                      NTDDI_WIN6SP2
00094 #define NTDDI_VISTASP3                      NTDDI_WIN6SP3
00095 #define NTDDI_VISTASP4                      NTDDI_WIN6SP4
00096 #define NTDDI_WS08                          NTDDI_WIN6SP1
00097 #define NTDDI_WS08SP2                       NTDDI_WIN6SP2
00098 #define NTDDI_WS08SP3                       NTDDI_WIN6SP3
00099 #define NTDDI_WS08SP4                       NTDDI_WIN6SP4
00100 #define NTDDI_WIN7                          0x06010000
00101 
00102 /* Version Fields in NTDDI_VERSION */
00103 #define OSVERSION_MASK                      0xFFFF0000UL
00104 #define SPVERSION_MASK                      0x0000FF00UL
00105 #define SUBVERSION_MASK                     0x000000FFUL
00106 
00107 /* Macros to Extract Version Fields From NTDDI_VERSION */
00108 #define OSVER(Version)                      ((Version) & OSVERSION_MASK)
00109 #define SPVER(Version)                      (((Version) & SPVERSION_MASK) >> 8)
00110 #define SUBVER(Version)                     (((Version) & SUBVERSION_MASK))
00111 
00112 /* Macros to get the NTDDI for a given WIN32 */
00113 #define NTDDI_VERSION_FROM_WIN32_WINNT2(Version) Version##0000
00114 #define NTDDI_VERSION_FROM_WIN32_WINNT(Version)  NTDDI_VERSION_FROM_WIN32_WINNT2(Version)
00115 
00116 /* Select Default WIN32_WINNT Value */
00117 #if !defined(_WIN32_WINNT) && !defined(_CHICAGO_)
00118 #define _WIN32_WINNT    0x0600
00119 #endif
00120 
00121 /* Choose NTDDI Version */
00122 #ifndef NTDDI_VERSION
00123 #ifdef _WIN32_WINNT
00124 #define NTDDI_VERSION   NTDDI_VERSION_FROM_WIN32_WINNT(_WIN32_WINNT)
00125 #else
00126 #define NTDDI_VERSION   0x06000000
00127 #endif
00128 #endif
00129 
00130 /* Choose WINVER Value */
00131 #ifndef WINVER
00132 #ifdef _WIN32_WINNT
00133 #define WINVER          _WIN32_WINNT
00134 #else
00135 #define WINVER          0x0600
00136 #endif
00137 #endif
00138 
00139 /* Choose IE Version */
00140 #ifndef _WIN32_IE
00141 #ifdef _WIN32_WINNT
00142 #if (_WIN32_WINNT <= _WIN32_WINNT_NT4)
00143 #define _WIN32_IE       _WIN32_IE_IE50
00144 #elif (_WIN32_WINNT <= _WIN32_WINNT_WIN2K)
00145 #define _WIN32_IE       _WIN32_IE_IE501
00146 #elif (_WIN32_WINNT <= _WIN32_WINNT_WINXP)
00147 #define _WIN32_IE       _WIN32_IE_IE60
00148 #elif (_WIN32_WINNT <= _WIN32_WINNT_WS03)
00149 #define _WIN32_IE       0x0602
00150 #else
00151 #define _WIN32_IE       0x0700
00152 #endif
00153 #else
00154 #define _WIN32_IE       0x0700
00155 #endif
00156 #endif
00157 
00158 /* Make Sure NTDDI_VERSION and _WIN32_WINNT Match */
00159 #if ((OSVER(NTDDI_VERSION) == NTDDI_WIN2K) && (_WIN32_WINNT != _WIN32_WINNT_WIN2K)) || \
00160     ((OSVER(NTDDI_VERSION) == NTDDI_WINXP) && (_WIN32_WINNT != _WIN32_WINNT_WINXP)) || \
00161     ((OSVER(NTDDI_VERSION) == NTDDI_WS03) && (_WIN32_WINNT != _WIN32_WINNT_WS03))   || \
00162     ((OSVER(NTDDI_VERSION) == NTDDI_WINXP) && (_WIN32_WINNT != _WIN32_WINNT_WINXP))
00163 #error NTDDI_VERSION and _WIN32_WINNT mismatch!
00164 #endif
00165 
00166 #endif

Generated on Sun May 27 2012 04:32:17 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.