Skip to content
Snippets Groups Projects
Commit b498ffd8 authored by chrfranke's avatar chrfranke
Browse files

os_win32.cpp: Decode Windows 10 20H2 and Server 2004, 20H2 build numbers.

git-svn-id: https://svn.code.sf.net/p/smartmontools/code/trunk@5105 4ea69e1a-61f1-4043-bf83-b5c94c648137
parent d0fc28ff
No related branches found
No related tags found
No related merge requests found
$Id$
2020-11-01 Christian Franke <franke@computer.org>
os_win32.cpp: Decode Windows 10 20H2 and Server 2004, 20H2
build numbers.
2020-10-29 Alex Samorukov <samm@os2.kiev.ua>
os_freebsd.cpp: skip SCSI subenclosure devices on scan (#1299)
......
......@@ -4006,6 +4006,7 @@ std::string win_smart_interface::get_os_version_str()
case 18362: w = "w10-1903"; break;
case 18363: w = "w10-1909"; break;
case 19041: w = "w10-2004"; break;
case 19042: w = "w10-20H2"; break;
default: w = "w10";
build = vi.dwBuildNumber; break;
} break;
......@@ -4017,6 +4018,8 @@ std::string win_smart_interface::get_os_version_str()
case 17763: w = "2019"; break;
case 18362: w = "2019-1903"; break;
case 18363: w = "2019-1909"; break;
case 19041: w = "2019-2004"; break;
case 19042: w = "2019-20H2"; break;
default: w = (vi.dwBuildNumber < 17763
? "2016"
: "2019");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment