Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 1.25 KB

TPJBiosInfo-BiosECFirmwareVersion.md

File metadata and controls

40 lines (24 loc) · 1.25 KB

BiosECFirmwareVersion method

Project: System Information Unit.

Unit: PJSysInfo.

Class: TPJBiosInfo

Applies to: ~>5.32

function BiosECFirmwareVersion: Word;

Description

Returns the release version number of the BIOS' Embedded Controller Firmware.

This 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 values:

    • $FFFF is returned if the system does not have field upgradeable embedded controller firmware.
    • 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.

Note

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.

See also