System.SysUtils.Win32MajorVersion

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

Win32MajorVersion: Integer = 0;

C++

extern DELPHI_PACKAGE int Win32MajorVersion;

Properties

Type Visibility Source Unit Parent
variable public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils System.SysUtils

Description

Specifies which major Windows Operating System version is operating.

Win32MajorVersion specifies the major version of the Operating System. The unique identifier for a Windows Operating System is Win32MajorVersion.Win32MinorVersion.Win32BuildNumber.

Note: Win32MajorVersion is available on Windows only.

The following table lists recent major versions of Windows:

Major Version Windows Version

6

  • Windows 8 (version 6.2)
  • Windows 7 (version 6.1)
  • Windows Vista (version 6.0)

5

  • Windows XP (version 5.1)
  • Windows 2000 (version 5.0)   


See Also