[PATCH] Added support for Windows 2008
Alistair Leslie-Hughes
leslie_alistair at hotmail.com
Sun Mar 2 05:20:53 CST 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 */
};
--
1.5.4.1
--------------040709000407020701020409--
More information about the wine-patches
mailing list