diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2014-11-09 20:26:05 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2014-11-09 20:26:05 +0000 |
commit | 527208215068dfe86e7a666988b36bdf811a427f (patch) | |
tree | 9cebe6a1751998a45b6e5d86ed2c9d4c07e33975 /plugins/CrashDumper/src/utils.cpp | |
parent | 50524f7e1cecb90a522a9e0eac7c45df38c132c6 (diff) |
removed detect not supported OS
git-svn-id: http://svn.miranda-ng.org/main/trunk@10940 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CrashDumper/src/utils.cpp')
-rw-r--r-- | plugins/CrashDumper/src/utils.cpp | 45 |
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)
|