Commit 24ba89c5 authored by Austin English's avatar Austin English Committed by Alexandre Julliard

ntdll: Add support for win2k8r2.

parent 5d9223cc
...@@ -53,6 +53,7 @@ typedef enum ...@@ -53,6 +53,7 @@ typedef enum
WIN2K3, /* Windows 2003 */ WIN2K3, /* Windows 2003 */
WINVISTA,/* Windows Vista */ WINVISTA,/* Windows Vista */
WIN2K8, /* Windows 2008 */ WIN2K8, /* Windows 2008 */
WIN2K8R2,/* Windows 2008 R2 */
WIN7, /* Windows 7 */ WIN7, /* Windows 7 */
NB_WINDOWS_VERSIONS NB_WINDOWS_VERSIONS
} WINDOWS_VERSION; } WINDOWS_VERSION;
...@@ -155,7 +156,14 @@ static const RTL_OSVERSIONINFOEXW VersionData[NB_WINDOWS_VERSIONS] = ...@@ -155,7 +156,14 @@ static const RTL_OSVERSIONINFOEXW VersionData[NB_WINDOWS_VERSIONS] =
sizeof(RTL_OSVERSIONINFOEXW), 6, 1, 0x1DB1, VER_PLATFORM_WIN32_NT, sizeof(RTL_OSVERSIONINFOEXW), 6, 1, 0x1DB1, VER_PLATFORM_WIN32_NT,
{'S','e','r','v','i','c','e',' ','P','a','c','k',' ','1',0}, {'S','e','r','v','i','c','e',' ','P','a','c','k',' ','1',0},
1, 0, VER_SUITE_SINGLEUSERTS, VER_NT_WORKSTATION, 0 1, 0, VER_SUITE_SINGLEUSERTS, VER_NT_WORKSTATION, 0
} },
/* WIN2K8 */
{
sizeof(RTL_OSVERSIONINFOEXW), 6, 1, 0x1DB1, 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
},
}; };
static const char * const WinVersionNames[NB_WINDOWS_VERSIONS] = static const char * const WinVersionNames[NB_WINDOWS_VERSIONS] =
...@@ -173,6 +181,7 @@ static const char * const WinVersionNames[NB_WINDOWS_VERSIONS] = ...@@ -173,6 +181,7 @@ static const char * const WinVersionNames[NB_WINDOWS_VERSIONS] =
"win2003,win2k3", /* WIN2K3 */ "win2003,win2k3", /* WIN2K3 */
"vista,winvista", /* WINVISTA*/ "vista,winvista", /* WINVISTA*/
"win2008,win2k8", /* WIN2K8 */ "win2008,win2k8", /* WIN2K8 */
"win2008r2,win2k8r2", /* WIN2K8R2 */
"win7", /* WIN7 */ "win7", /* WIN7 */
}; };
......
...@@ -49,6 +49,7 @@ static const struct ...@@ -49,6 +49,7 @@ static const struct
const char *szProductType; const char *szProductType;
} win_versions[] = } win_versions[] =
{ {
{ "win2008r2", "Windows 2008 R2", 6, 1, 0x1DB1,VER_PLATFORM_WIN32_NT, "Service Pack 1", 1, 0, "ServerNT"},
{ "win7", "Windows 7", 6, 1, 0x1DB1,VER_PLATFORM_WIN32_NT, "Service Pack 1", 1, 0, "WinNT"}, { "win7", "Windows 7", 6, 1, 0x1DB1,VER_PLATFORM_WIN32_NT, "Service Pack 1", 1, 0, "WinNT"},
{ "win2008", "Windows 2008", 6, 0, 0x1771,VER_PLATFORM_WIN32_NT, "Service Pack 1", 0, 0, "ServerNT"}, { "win2008", "Windows 2008", 6, 0, 0x1771,VER_PLATFORM_WIN32_NT, "Service Pack 1", 0, 0, "ServerNT"},
{ "vista", "Windows Vista", 6, 0, 0x1772,VER_PLATFORM_WIN32_NT, "Service Pack 2", 2, 0, "WinNT"}, { "vista", "Windows Vista", 6, 0, 0x1772,VER_PLATFORM_WIN32_NT, "Service Pack 2", 2, 0, "WinNT"},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment