What are real minimum version requirements for AttachConsole?

后端 未结 2 1926
清酒与你
清酒与你 2021-01-20 11:52

Online PSDK documentation states 5.1 (WinXP):

To compile an application that uses this function, define _WIN32_WINNT as 0x0501 or later. For more informa

2条回答
  •  礼貌的吻别
    2021-01-20 12:41

    The minimum required client is Windows 2000 (0x0500). The reason for the mismatching information is, that the MSDN gets updated. Depending on whether the update happened before or after the EOL of Windows 2000, the client requirements either list Windows XP or Windows 2000.

    If in doubt, the header files are authoritative. The Windows 8.0 SDK still has #if(_WIN32_WINNT >= 0x0500) around the declaration for AttachConsole.

提交回复
热议问题