|
|
|
|
|
|
|
|
|
|
|
|||||||
#include <winstl_system_version.h>
Static Public Methods | |
| ws_bool_t | winnt () |
Returns true if the operating system is one of the NT family (NT, 2000, XP, .NET). | |
| ws_bool_t | win9x () |
Returns true if the operating system is one of the 95 family (95, 98, ME). | |
| ws_bool_t | win32s () |
Returns true if the operating system is Win32s. | |
| ws_uint_t | major () |
| Returns the operating system major version. | |
| ws_uint_t | minor () |
| Returns the operating system minor version. | |
| ws_uint32_t | build_number () |
| Returns the operating system build number. | |
| const OSVERSIONINFO & | get_versioninfo () |
Provides a non-mutable (const) reference to the OSVERSIONINFO instance. | |
This class wraps the GetSystemInfo() API function. Since the information that this function provides is constant for any particular active system for its lifetime, the function is called only once, as implemented via the get_versioninfo_() method.
|
|
Returns the operating system build number.
|
|
|
Provides a non-mutable (const) reference to the
|
|
|
Returns the operating system major version.
|
|
|
Returns the operating system minor version.
|
|
|
Returns
|
|
|
Returns
|
|
|
Returns
|
|
|
| STLSoft Libraries documentation © Synesis Software Pty Ltd, 2001-2004 |