Welcome to the new DelphiDabbler Code Library Documentation.

This is a new site that's currently running on alpha code. There are going to be bugs. If you discover any, please report them on the site's issues page (GitHub account required). Thanks.

Warning: Many URLs are going to change. Refer to the README file to discover which library project's documentation has been completed.

TPJWin10PlusVersion type

Project: System Information Unit.

Unit: PJSysInfo

Applies to: ~>5.30

type
  TPJWin10PlusVersion = (
    win10plusNA, win10plusUnknown,
    win10v1507, win10v1511, win10v1607, win10v1703, win10v1709, win10v1803,
    win10v1809, win10v1903, win10v1909, win10v2004, win10v20H2, win10v21H1,
    win10v21H2, win10v22H2,
    win11v21H2, win11v22H2, win11v23H2, win11v24H2
  );

Description

This is an enumeration of the various versions of Windows 10 and 11, e.g.s Windows 10 version 1809 and Windows 11 23H2, with some no-version values.

Values are:

Value Description
win10plusNA Used for all detected versions of Windows prior to Windows 10
win10plusUnknown Used for Windows 10 and later where the version can’t be detected
win10v1507 Windows 10 version 1507 (the original version)
win10v1511 Windows 10 version 1511
win10v1607 Windows 10 version 1607
win10v1703 Windows 10 version 1703
win10v1709 Windows 10 version 1709
win10v1803 Windows 10 version 1803
win10v1809 Windows 10 version 1809
win10v1903 Windows 10 version 1903
win10v1909 Windows 10 version 1909
win10v2004 Windows 10 version 2004
win10v20H2 Windows 10 version 20H2
win10v21H1 Windows 10 version 21H1
win10v21H2 Windows 10 version 21H2
win10v22H2 Windows 10 version 22H2
win11v21H2 Windows 11 version 21H2
win11v22H2 Windows 11 version 22H2
win11v23H2 Windows 11 version 23H2
win11v24H2 Windows 11 version 24H2

Notes

Values of this type are returned by the Windows10PlusVersion method.

IsWindows10VersionOrLater accepts a subset of these values as a parameter (i.e. win10v1507 to win10v22H2).

IsWindows11VersionOrLater accepts a subset of these values as a parameter (i.e. win11v21H2 to win11v24H2).

See Also