Runtime_GetOSInfo()

Examples


The Runtime_GetOSInfo() function returns information about the operating system on which the application is being run.

Syntax

Runtime_GetOSInfo(major_version, minor_version)

Parameters

major_version – A returned integer indicating the major version.

minor_version – A returned integer indicating the minor version.

Return value

An integer indicating the specific type of operating system being used:

[spacer]

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



Documentation Feedback