Skip to content

Latest commit

 

History

History
43 lines (26 loc) · 1.36 KB

TPJBiosInfo-BiosVersion.md

File metadata and controls

43 lines (26 loc) · 1.36 KB

BiosVersion method

Project: System Information Unit.

Unit: PJSysInfo.

Class: TPJBiosInfo

Applies to: ~>5.32

function BiosVersion: Word;

Description

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.

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