Get winetest to detect windows server 2003 R2.
This commit is contained in:
parent
91861e44e7
commit
dc2e1399ef
|
@ -96,6 +96,7 @@ static void print_version (void)
|
|||
{
|
||||
OSVERSIONINFOEX ver;
|
||||
BOOL ext;
|
||||
int is_win2k3_r2;
|
||||
|
||||
ver.dwOSVersionInfoSize = sizeof(OSVERSIONINFOEX);
|
||||
if (!(ext = GetVersionEx ((OSVERSIONINFO *) &ver)))
|
||||
|
@ -112,6 +113,10 @@ static void print_version (void)
|
|||
ver.dwMajorVersion, ver.dwMinorVersion, ver.dwBuildNumber,
|
||||
ver.dwPlatformId, ver.szCSDVersion);
|
||||
|
||||
is_win2k3_r2 = GetSystemMetrics(SM_SERVERR2);
|
||||
if(is_win2k3_r2)
|
||||
xprintf(" R2 build number=%d\n", is_win2k3_r2);
|
||||
|
||||
if (!ext) return;
|
||||
|
||||
xprintf (" wServicePackMajor=%d\n wServicePackMinor=%d\n"
|
||||
|
|
Loading…
Reference in New Issue