summaryrefslogtreecommitdiff
path: root/plugins/CrashDumper/src/utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CrashDumper/src/utils.cpp')
-rw-r--r--plugins/CrashDumper/src/utils.cpp45
1 files changed, 0 insertions, 45 deletions
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)