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
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
.