Project: System Information Unit.
Unit: PJSysInfo.
Class: TPJBiosInfo
Applies to: ~>5.32
function BiosVersion: Word;
Returns the release version number of the BIOS.
This version number returned by this method may be different to that returned by the BiosVersionStr method.
Requires support for SMBIOS reference specification v2.4 or later.
Returns:
-
The version number encoded into a Word value. The high byte contains the major version number and the low byte contains the minor version number.
Special return value:
0
is returned if any of the following conditions apply:- the BIOS is not supported;
- the BIOS does not support SMBIOS reference specification v2.4 or later;
- the BIOS does not provide the required information.
Assuming that the return value of BiosECFirmwareVersion has been stored in variable V of type type Word then V shr 8
extracts the major version number and V and $FF
extracts the minor version number.