WINVER和_WIN32_IE等宏的含义
它們是用于定義windows和Internet Explorer版本號的,用于區分不用版本的函數和參數。
在你編譯程序時會根據不同的版本系統號,鏈接不同的函數和參數。
Minimum System Required?????????????????? Macros to Define
------------------------------------------------------------------------------------------
Windows 95 and Windows NT 4.0???????????? WINVER=0x0400
Windows 98 and Windows NT 4.0???????????? _WIN32_WINDOWS=0x0410 and WINVER=0x0400
Windows NT 4.0??????????????????????????? ? _WIN32_WINNT=0x0400 and WINVER=0x0400
Windows 98??????????????????????????????? ?? _WIN32_WINDOWS=0x0410
Windows 2000????????????????????????????? _WIN32_WINNT=0x0500 and WINVER=0x0500
Windows Me??????????????????????????????? ?? _WIN32_WINDOWS=0x0490
Windows XP and Windows .NET Server???????? _WIN32_WINNT=0x0501 and WINVER=0x0501
Internet Explorer 3.0,3.01,3.02?????????? _WIN32_IE=0x0300
Internet Explorer 4.0???????????????????? _WIN32_IE=0x0400
Internet Explorer 4.01??????????????????? _WIN32_IE=0x0401
Internet Explorer 5.0,5.0a,5.0b?????????? _WIN32_IE=0x0500
Internet Explorer 5.01,5.5??????????????? _WIN32_IE=0x0501
Internet Explorer 6.0???????????????????? ? _WIN32_IE=0x0560 or _WIN32_IE=0x0600
總結
以上是生活随笔為你收集整理的WINVER和_WIN32_IE等宏的含义的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: _MSC_VER详细介绍
- 下一篇: 数据库的同步和复制----sql语句方法