From 527208215068dfe86e7a666988b36bdf811a427f Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sun, 9 Nov 2014 20:26:05 +0000 Subject: removed detect not supported OS git-svn-id: http://svn.miranda-ng.org/main/trunk@10940 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/CrashDumper/src/utils.cpp | 45 --------------------------------------- 1 file changed, 45 deletions(-) (limited to 'plugins/CrashDumper/src') diff --git a/plugins/CrashDumper/src/utils.cpp b/plugins/CrashDumper/src/utils.cpp index 1647def7a1..9092f3e543 100644 --- a/plugins/CrashDumper/src/utils.cpp +++ b/plugins/CrashDumper/src/utils.cpp @@ -189,19 +189,6 @@ void GetOSDisplayString(CMString &buffer) buffer.Append(TEXT("Professional")); } - if (osvi.dwMajorVersion == 5 && osvi.dwMinorVersion == 0) { - buffer.Append(TEXT("Windows 2000 ")); - - if (osvi.wProductType == VER_NT_WORKSTATION) - buffer.Append(TEXT("Professional")); - else if (osvi.wSuiteMask & VER_SUITE_DATACENTER) - buffer.Append(TEXT("Datacenter Server")); - else if (osvi.wSuiteMask & VER_SUITE_ENTERPRISE) - buffer.Append(TEXT("Advanced Server")); - else - buffer.Append(TEXT("Server")); - } - if (osvi.szCSDVersion[0] != 0) { buffer.Append(TEXT(" ")); buffer.Append(osvi.szCSDVersion); @@ -209,38 +196,6 @@ void GetOSDisplayString(CMString &buffer) buffer.AppendFormat(TEXT(" (build %d)"), osvi.dwBuildNumber); } - else { - if (VER_PLATFORM_WIN32_NT == osvi.dwPlatformId) { - buffer.Append(TEXT("Microsoft Windows NT ")); - if (osvi.wProductType == VER_NT_WORKSTATION) - buffer.Append(TEXT("Workstation 4.0 ")); - else if (osvi.wSuiteMask & VER_SUITE_ENTERPRISE) - buffer.Append(TEXT("Server 4.0, Enterprise Edition ")); - else - buffer.Append(TEXT("Server 4.0 ")); - } - - if (osvi.dwPlatformId == VER_PLATFORM_WIN32_WINDOWS && osvi.dwMajorVersion == 4) { - if (osvi.dwMinorVersion == 0) { - buffer.Append(TEXT("Microsoft Windows 95 ")); - if (osvi.szCSDVersion[1] == TEXT('C') || osvi.szCSDVersion[1] == TEXT('B')) - buffer.Append(TEXT("OSR2 ")); - } - - if (osvi.dwMinorVersion == 10) { - buffer.Append(TEXT("Microsoft Windows 98 ")); - if (osvi.szCSDVersion[1] == TEXT('A') || osvi.szCSDVersion[1] == TEXT('B')) - buffer.Append(TEXT("SE ")); - } - - if (osvi.dwMinorVersion == 90) - buffer.Append(TEXT("Microsoft Windows Millennium Edition")); - - buffer.AppendFormat(TEXT("(build %d)"), LOWORD(osvi.dwBuildNumber)); - } - else if (osvi.dwPlatformId == VER_PLATFORM_WIN32s) - buffer.Append(TEXT("Microsoft Win32s")); - } } int GetTZOffset(void) -- cgit v1.2.3