András Kovács : ntdll: Add Vista version option.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Apr 13 06:50:26 CDT 2007
Module: wine
Branch: master
Commit: 9f9b55d2fcfe62551957a1ea694c0afb3d02195d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9f9b55d2fcfe62551957a1ea694c0afb3d02195d
Author: András Kovács <andras at debian.sth.sze.hu>
Date: Thu Apr 12 16:10:50 2007 +0200
ntdll: Add Vista version option.
---
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 5879ff2..f29b495 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*/
};
More information about the wine-cvs
mailing list