MFC中的0x0500

来源:互联网 发布:2017网络黄金egd登陆 编辑:程序博客网 时间:2024/06/06 19:36
#if _WIN32_WINNT >= 0x0400 Windows NT 4.0 and later. It is not implemented in Windows 95. 
#if _WIN32_WINDOWS >= 0x0410 Windows 98. The image may not run on Windows 95.  
#if _WIN32_WINDOWS >= 0x0490 Windows Me. The image may not run on Windows 95/98, Windows NT, or Windows 2000. 
#if _WIN32_WINNT >= 0x0500 Windows 2000. The image may not run on Windows 95/98 or Windows NT. 
#if _WIN32_WINNT >= 0x0501 Windows XP. The image may not run on Windows 95/98, Windows NT, Windows Me, or Windows 2000. 
#if _WIN32_IE >= 0x0300 Internet Explorer 3.0 and later. 
#if _WIN32_IE >= 0x0400 Internet Explorer 4.0 and later. 
#if _WIN32_IE >= 0x0401 Internet Explorer 4.01 and later. 
#if _WIN32_IE >= 0x0500 Internet Explorer 5.0 and later. 
#if _WIN32_IE >= 0x0501 Internet Explorer 5.01 and later. 
#if _WIN32_IE >= 0x0560 Internet Explorer 6.0 and later  
#if _WIN32_IE >= 0x0600 Internet Explorer 6.0 and later  

如果在win32中没有包含,需要定义_WIN32_WINNT 为0x0500在你的头文件中
For example, if you do not include Win32.mak in your makefile, you need to explicitly define _WIN32_WINNT as 0x0500 to use the Windows 2000-specific material in the header files.
0 0
原创粉丝点击