[Predef-contribute] Windows version
Brought to you by:
breese,
tahonermann
From: Darko Kolaković <dar...@ya...> - 2007-10-16 14:28:21
|
Hi Bjørn, I extracted following tables from http://babylonlib.cvs.sourceforge.net/babylonlib/_SrcPool/Cpp/KDbgMacr.h. Some other tables could be found in the same project http://babylonlib.cvs.sourceforge.net/babylonlib/ -like KDbgMAns.h for ISO/ANSI C. I hope you will make some use of it. Darko See KDbgMacr.h: /*Microsoft eMbedded Visual C++ Compiler variable $(CePlatform) values: Platform CePlatform value H/PC 2000 WIN32_PLATFORM_HPC2000 H/PC Pro 2.11 WIN32_PLATFORM_HPCPRO Pocket PC WIN32_PLATFORM_PSPC Pocket PC 2002 WIN32_PLATFORM_PSPC=310 Smartphone 2002 WIN32_PLATFORM_WFSP=100 */ /*Current version of Microsoft compiler. The _MSC_VER macro will have one of the following values depending upon the particular Microsoft compiler: Compiler _MSC_VER value C Compiler version 6.0 600 C/C++ compiler version 7.0 700 Visual C++, Windows, version 1.0 800 Visual C++, 32-bit, version 1.0 800 Visual C++, Windows, version 1.5 850 Visual C++, Windows, version 2.0 900 Visual C++, 32-bit, version 2.x 900 Visual C++, 32-bit, version 4.0 1000 Visual C++, 32-bit, version 4.2 1020 Visual C++, 32-bit, version 5.0 1100 Visual C++, 32-bit, version 6.0 1200 Visual C++ .Net 2002, 32-bit, version 7.0 1300 Visual C++ .Net 2003, 32-bit, version 7.1 1310 Visual C/C++ 2005, version 8.0 1400 See also: Q65472 */ /*Windows Target Version Macros +---------------------+---------------------------------+ | Macros to Define | Minimum System Required | +---------------------+---------------------------------+ | WINVER=0x030A |Windows 3.1 | | | | | WINVER=0x0400 |Windows 95 and Windows NT 4.0 | | | | |_WIN32_WINDOWS=0x0410|Windows 98 and Windows NT 4.0 | |WINVER=0x0400 | | | | | |_WIN32_WINNT=0x0400 |Windows NT 4.0 | |WINVER=0x0400 | | | | | |_WIN32_WINDOWS=0x0410|Windows 98 | | | | |_WIN32_WINDOWS=0x0490|Windows Millenium | | | | |WINVER=0x040A |Windows 98 4.10 | | | | |WINVER=0x045A |Windows Millenium 4.90 | | | | |WINVER=0x0500 |Windows 98 and Windows 2000 | | | | |_WIN32_WINNT=0x0500 |Windows 2000 | |WINVER=0x0500 | | | | | |_WIN32_WINNT=0x0501 |Windows XP | |WINVER=0x0501 | | | | | |_WIN32_WINNT=0x0502 |Windows Server 2003 family | | | | |WINVER=0x0600 |Windows Vista | | | | |_WIN64 | | +---------------------+---------------------------------+ |_WIN32_IE=0x0300 |Internet Explorer 3.0, 3.01, 3.02| | | | |_WIN32_IE=0x0400 |Internet Explorer 4.0 | | | | |_WIN32_IE=0x0401 |Internet Explorer 4.01 | | | | |_WIN32_IE=0x0500 |Internet Explorer 5.0, 5.0a, 5.0b| | | | |_WIN32_IE=0x0501 |Internet Explorer 5.01 | | | | |_WIN32_IE=0x0532 |Internet Explorer 5.5 | | | | |_WIN32_IE=0x0600 |Internet Explorer 6.00 | | | | |_WIN32_IE=0x0700 |Internet Explorer 7.00 | +---------------------+---------------------------------+ Note: Setting WINVER to 0x0500 implies _WIN32_IE=0x0400 */ /*Supported version of Microsoft Internet Explorer. Browser _WIN32_IE value Internet Explorer 3.0, 3.01, 3.02 0x0300 Internet Explorer 4.0 0x0400 Internet Explorer 5.0, 5.0a, 5.0b 0x0500 Internet Explorer 5.01, 5.5 0x0501 Internet Explorer 6.0 0x0600 Internet Explorer 7.0 0x0700 _WIN32_IE value Description 0x0200 The application will be compatible with Comctl32.dll and Shell32.dll version 4.00 and later. The application will not be able to implement features that were added after version 4.00 of Comctl32.dll. 0x0300 The application will be compatible with Comctl32.dll and Shell32.dll version 4.70 and later. The application will not be able to implement features that were added after version 4.70 of Comctl32.dll. 0x0400 The application will be compatible with Comctl32.dll and Shell32.dll version 4.71 and later. The application will not be able to implement features that were added after version 4.71 of Comctl32.dll. 0x0401 The application will be compatible with Comctl32.dll and Shell32.dll version 4.72 and later. The application will not be able to implement features that were added after version 4.72 of Comctl32.dll. 0x0500 The application will be compatible with Comctl32.dll version 5.80 and later, and Shell32.dll and Shlwapi.dll version 5.0 and later. The application will not be able to implement features that were added after version 5.80 of Comctl32.dll or version 5.0 of Shell32.dll and Shlwapi.dll. 0x0501 The application will be compatible with Comctl32.dll version 5.81 and later and Shell32.dll and Shlwapi.dll version 5.0 and later. The application will not be able to implement features that were added after version 5.81 of Comctl32.dll or version 5.0 of Shell32.dll and Shlwapi.dll. */ http://babylonlib.cvs.sourceforge.net/babylonlib/ |