Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 1.06 KB

TPJOSInfo-IsWindows10VersionOrLater.md

File metadata and controls

33 lines (20 loc) · 1.06 KB

IsWindows10VersionOrLater class function

Project: System Information Unit.

Unit: PJSysInfo

Class: TPJOSInfo

Applies to: ~>5.30

class function IsWindows10VersionOrLater(
  const AVersion: TPJWin10PlusVersion): Boolean;

Description

Checks if the operating system is Windows 10 or later, with a release version identifier the same or later than the given version.

Parameter:

  • AVersion -- A version identifier of type TPJWin10PlusVersion that is Windows 10 release version identifier. Must be an identifier with a name beginning with win10v, i.e. win10v1507 to win10v22H2.

Exception:

  • EPJSysInfo -- raised if AVersion is not a valid Windows 10 version identifier.

See Also