mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-28 03:20:11 +01:00
backport changes from 1.4.3 branch
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// Environment_WINCE.cpp
|
||||
//
|
||||
// $Id: //poco/1.4/Foundation/src/Environment_WINCE.cpp#1 $
|
||||
// $Id: //poco/1.4/Foundation/src/Environment_WINCE.cpp#2 $
|
||||
//
|
||||
// Library: Foundation
|
||||
// Package: Core
|
||||
@@ -84,9 +84,15 @@ std::string EnvironmentImpl::osNameImpl()
|
||||
}
|
||||
|
||||
|
||||
std::string EnvironmentImpl::osDisplayNameImpl()
|
||||
{
|
||||
return osNameImpl();
|
||||
}
|
||||
|
||||
|
||||
std::string EnvironmentImpl::osVersionImpl()
|
||||
{
|
||||
OSVERSIONINFOW vi;
|
||||
OSVERSIONINFOW vi;
|
||||
vi.dwOSVersionInfoSize = sizeof(vi);
|
||||
if (GetVersionExW(&vi) == 0) throw SystemException("Cannot get OS version information");
|
||||
std::ostringstream str;
|
||||
|
||||
Reference in New Issue
Block a user