My Project
Static Public Member Functions | List of all members
ParaEngine::COSInfo Class Reference

operating system info More...

#include <OSWindows.h>

Static Public Member Functions

static BOOL GetOSDisplayString (LPTSTR pszOS)
 
static void DumpSystemInfo ()
 dump os info to log More...
 
static DWORD GetOSMajorVersion ()
 
static const std::string & GetSystemInfoString (bool bRefresh=false)
 fetch OS information string. More...
 

Detailed Description

operating system info

Member Function Documentation

§ DumpSystemInfo()

void COSInfo::DumpSystemInfo ( )
static

dump os info to log

dump system info

§ GetOSMajorVersion()

DWORD ParaEngine::COSInfo::GetOSMajorVersion ( )
static
Returns
value > 5 if it is win vista or 7

§ GetSystemInfoString()

const std::string & ParaEngine::COSInfo::GetSystemInfoString ( bool  bRefresh = false)
static

fetch OS information string.

Parameters
bRefreshtrue to force all parameters to be refreshed.
Returns
: the output string. each attribute is printed on a single line, such as "Processor type: 586"

The documentation for this class was generated from the following files: