zoukankan      html  css  js  c++  java
  • 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

  • 相关阅读:
    Best Time to Buy and Sell Stock
    Remove Nth Node From End of List
    Unique Paths
    Swap Nodes in Pairs
    Convert Sorted Array to Binary Search Tree
    Populating Next Right Pointers in Each Node
    Maximum Subarray
    Climbing Stairs
    Unique Binary Search Trees
    Remove Duplicates from Sorted Array
  • 原文地址:https://www.cnblogs.com/huhu0013/p/1897824.html
Copyright © 2011-2022 走看看