它们是用于定义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
Windows与IE版本宏定义

本文介绍了不同版本的Windows操作系统及Internet Explorer浏览器对应的宏定义,这些宏定义在编译程序时用于链接相应的函数和参数,确保软件能在目标环境中正确运行。
6179

被折叠的 条评论
为什么被折叠?



