Show: Object Pascal C++
Display Preferences

System.SysUtils.CheckWin32Version

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function CheckWin32Version(AMajor: Integer; AMinor: Integer = 0): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall CheckWin32Version(int AMajor, int AMinor = 0x0);

Properties

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

Description

Check to see whether you are running on a specific level (or higher) of the Windows 32 bit Operating System.

The Windows Operating System Major.Minor version number is compared with the passed AMajor and AMinor values. AMinor defaults to 0 if not supplied.

CheckWin32Version Returns True if the Windows OS Major.Minor version number is >= the passed AMajor.AMinor value.

Note: Prior to Object Pascal 7, this routine returned a different result.

See Also

Personal tools
Translations