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.

IsReallyWindows10OrGreater class method

Project: System Information Unit.

Unit: PJSysInfo.

Class: TPJOSInfo

Applies to: ~>5.1

class function IsReallyWindows10OrGreater: Boolean;

Description

Checks whether the OS is Windows 10 or greater.

Regardless of whether the program is running in compatibility this method will always return information about the installed operating system.

⚠️ For Windows 10, this method returns false unless the application contains a manifest that includes a compatibility section that contains the GUID that designates Windows 10.

This method is identical in function to the function with a similar name declared in versionhelpers.h: see https://learn.microsoft.com/en-gb/windows/win32/sysinfo/version-helper-apis for details.