Windows x64 also falls under VER_PLATFORM_WIN32_NT.

This commit is contained in:
Jeroen Ruigrok van der Werven 2008-04-21 20:15:39 +00:00
parent fa1814e1b6
commit aa3cadb01e
1 changed files with 11 additions and 11 deletions

View File

@ -456,17 +456,17 @@ always available.
*platform* may be one of the following values:
+-----------------------------------------+-----------------------+
| Constant | Platform |
+=========================================+=======================+
| :const:`0 (VER_PLATFORM_WIN32s)` | Win32s on Windows 3.1 |
+-----------------------------------------+-----------------------+
| :const:`1 (VER_PLATFORM_WIN32_WINDOWS)` | Windows 95/98/ME |
+-----------------------------------------+-----------------------+
| :const:`2 (VER_PLATFORM_WIN32_NT)` | Windows NT/2000/XP |
+-----------------------------------------+-----------------------+
| :const:`3 (VER_PLATFORM_WIN32_CE)` | Windows CE |
+-----------------------------------------+-----------------------+
+-----------------------------------------+-------------------------+
| Constant | Platform |
+=========================================+=========================+
| :const:`0 (VER_PLATFORM_WIN32s)` | Win32s on Windows 3.1 |
+-----------------------------------------+-------------------------+
| :const:`1 (VER_PLATFORM_WIN32_WINDOWS)` | Windows 95/98/ME |
+-----------------------------------------+-------------------------+
| :const:`2 (VER_PLATFORM_WIN32_NT)` | Windows NT/2000/XP/x64 |
+-----------------------------------------+-------------------------+
| :const:`3 (VER_PLATFORM_WIN32_CE)` | Windows CE |
+-----------------------------------------+-------------------------+
This function wraps the Win32 :cfunc:`GetVersionEx` function; see the Microsoft
documentation for more information about these fields.