Add some strings for Windows 8 and 8.1
And server '12 and server '12 R2
This commit is contained in:
parent
0a3d71aead
commit
211e698a29
@ -1574,13 +1574,30 @@ void CIrrDeviceWin32::getWindowsVersion(core::stringc& out)
|
||||
else
|
||||
out.append("Microsoft Windows Server 2008 ");
|
||||
}
|
||||
else if (osvi.dwMinorVersion == 1)
|
||||
else
|
||||
if (osvi.dwMinorVersion == 1)
|
||||
{
|
||||
if (osvi.wProductType == VER_NT_WORKSTATION)
|
||||
out.append("Microsoft Windows 7 ");
|
||||
else
|
||||
out.append("Microsoft Windows Server 2008 R2 ");
|
||||
}
|
||||
else
|
||||
if (osvi.dwMinorVersion == 2)
|
||||
{
|
||||
if (osvi.wProductType == VER_NT_WORKSTATION)
|
||||
out.append("Microsoft Windows 8 ");
|
||||
else
|
||||
out.append("Microsoft Windows Server 2012 ");
|
||||
}
|
||||
else
|
||||
if (osvi.dwMinorVersion == 3)
|
||||
{
|
||||
if (osvi.wProductType == VER_NT_WORKSTATION)
|
||||
out.append("Microsoft Windows 8.1 ");
|
||||
else
|
||||
out.append("Microsoft Windows Server 2012 R2 ");
|
||||
}
|
||||
}
|
||||
|
||||
if (bOsVersionInfoEx)
|
||||
|
Loading…
x
Reference in New Issue
Block a user