How to get the manufacturer and BIOS model in C ++ without using WMI?

We are launching a service pack for Windows xp pro 3, both 32-bit and 64-bit. We use WMI to get the manufacturer and model of the BIOS, but we would prefer an approach that uses either the Win32 API or assembly language, or something other than WMI or COM. Sample code is welcome.

+3
source share
4 answers

This is in the registry at HKEY_LOCAL_MACHINE / HARDWARE / DESCRIPTION / System

You have SystemBiosVersion, SystemBiosDate, etc.

In addition, there is an additional key called BIOS, which has even more information, such as BIOSVendor and BIOSVersion.

, , BaseBoardManufacturer .

UPDATE

. VB. , . HFE061 & HFFFF5 .

+2

SMBIOS . , , . , .

, Win32, SMBIOS.

+2

There is a source code entry in the codedecker that uses the GetSystemFirmwareTable API call to retrieve SMIBIOS information. link: http://www.codeproject.com/KB/system/SMBIOS_Peek.aspx

0
source

Source: https://habr.com/ru/post/1710366/


All Articles