The Runtime_GetOSInfo() function returns information about the operating system on which the application is being run.
Runtime_GetOSInfo(major_version, minor_version)
• major_version – A returned integer indicating the major version.
• minor_version – A returned integer indicating the minor version.
An integer indicating the specific type of operating system being used:
Constant |
Description |
---|---|
DEX_OS_UNKNOWN |
Unknown operating system |
DEX_OS_WINDOWS_NT |
Windows NT® |
DEX_OS_WINDOWS_95 |
Windows 95 |
DEX_OS_WINDOWS_98 |
Windows 98 |
DEX_OS_WINDOWS_MILLENNIUM |
Windows ME |
DEX_OS_WINDOWS_2000 |
Windows 2000 |
DEX_OS_WINDOWS_XP |
Windows XP |
DEX_OS_WINDOWS_VISTA |
Windows Vista |
DEX_OS_WINDOWS_SERVER_2003 |
Windows Server® 2003 |
DEX_OS_WINDOWS_SERVER_2008 |
Windows Server 2008 |
DEX_OS_WINDOWS_SERVER_2008R2 |
Windows Server 2008 R2 |
DEX_OS_WINDOWS_7 |
Windows 7 |