From 9f9b55d2fcfe62551957a1ea694c0afb3d02195d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A1s=20Kov=C3=A1cs?= <andras@debian.sth.sze.hu>
Date: Thu, 12 Apr 2007 16:10:50 +0200
Subject: [PATCH] ntdll: Add Vista version option.

---
 dlls/ntdll/version.c | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/dlls/ntdll/version.c b/dlls/ntdll/version.c
index 5879ff27ce3..f29b49563d6 100644
--- a/dlls/ntdll/version.c
+++ b/dlls/ntdll/version.c
@@ -50,6 +50,7 @@ typedef enum
     NT2K,    /* Windows 2000 */
     WINXP,   /* Windows XP */
     WIN2K3,  /* Windows 2003 */
+    WINVISTA,/* Windows Vista */
     NB_WINDOWS_VERSIONS
 } WINDOWS_VERSION;
 
@@ -135,6 +136,12 @@ static const RTL_OSVERSIONINFOEXW VersionData[NB_WINDOWS_VERSIONS] =
         sizeof(RTL_OSVERSIONINFOEXW), 5, 2, 0xECE, VER_PLATFORM_WIN32_NT,
         {'S','e','r','v','i','c','e',' ','P','a','c','k',' ','1',0},
         1, 0, VER_SUITE_SINGLEUSERTS, VER_NT_SERVER, 0
+    },
+    /* WINVISTA */
+    {
+        sizeof(RTL_OSVERSIONINFOEXW), 6, 0, 0x1770, VER_PLATFORM_WIN32_NT,
+        {' ',0},
+        0, 0, VER_SUITE_SINGLEUSERTS, VER_NT_WORKSTATION, 0
     }
 };
 
@@ -150,7 +157,8 @@ static const char * const WinVersionNames[NB_WINDOWS_VERSIONS] =
     "nt40",                       /* NT40 */
     "win2000,win2k,nt2k,nt2000",  /* NT2K */
     "winxp",                      /* WINXP */
-    "win2003,win2k3"              /* WIN2K3 */
+    "win2003,win2k3",             /* WIN2K3 */
+    "vista,winvista"              /* WINVISTA*/
 };
 
 
-- 
GitLab