Alistair Leslie-Hughes : ntdll: Added support for Windows 2008.

Alexandre Julliard julliard at winehq.org
Wed Mar 5 06:24:10 CST 2008


Module: wine
Branch: master
Commit: 24433c36c271263180244c95d6868822466b17ae
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=24433c36c271263180244c95d6868822466b17ae

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Sun Mar  2 22:20:53 2008 +1100

ntdll: Added support for Windows 2008.

---

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

diff --git a/dlls/ntdll/version.c b/dlls/ntdll/version.c
index e519144..09b338f 100644
--- a/dlls/ntdll/version.c
+++ b/dlls/ntdll/version.c
@@ -52,6 +52,7 @@ typedef enum
     WINXP,   /* Windows XP */
     WIN2K3,  /* Windows 2003 */
     WINVISTA,/* Windows Vista */
+    WIN2K8,  /* Windows 2008 */
     NB_WINDOWS_VERSIONS
 } WINDOWS_VERSION;
 
@@ -141,6 +142,12 @@ static const RTL_OSVERSIONINFOEXW VersionData[NB_WINDOWS_VERSIONS] =
         sizeof(RTL_OSVERSIONINFOEXW), 6, 0, 0x1770, VER_PLATFORM_WIN32_NT,
         {' ',0},
         0, 0, VER_SUITE_SINGLEUSERTS, VER_NT_WORKSTATION, 0
+    },
+    /* WIN2K8 */
+    {
+        sizeof(RTL_OSVERSIONINFOEXW), 6, 0, 0x1771, VER_PLATFORM_WIN32_NT,
+        {'S','e','r','v','i','c','e',' ','P','a','c','k',' ','1',0},
+        0, 0, VER_SUITE_SINGLEUSERTS, VER_NT_SERVER, 0
     }
 };
 
@@ -157,7 +164,8 @@ static const char * const WinVersionNames[NB_WINDOWS_VERSIONS] =
     "win2000,win2k,nt2k,nt2000",  /* NT2K */
     "winxp",                      /* WINXP */
     "win2003,win2k3",             /* WIN2K3 */
-    "vista,winvista"              /* WINVISTA*/
+    "vista,winvista",             /* WINVISTA*/
+    "win2008,win2k8",             /* WIN2K8 */
 };
 
 




More information about the wine-cvs mailing list