theroadtodelphi.com
How distinguish when Windows was installed in Legacy BIOS or UEFI mode using Delphi?
As part of the TSMBIOS project, I needed a method to distinguish when Windows was installed in Legacy BIOS or UEFI mode. The solution was provided by the GetFirmwareEnvironmentVariable function. Th…