有没有办法在Windows上以编程方式找到芯片组的北桥,南桥名称和其他硬件信息? [英] Is there a way to programmatically find chipset's north bridge, south bridge names and other hardware info on windows?

查看:144
本文介绍了有没有办法在Windows上以编程方式找到芯片组的北桥,南桥名称和其他硬件信息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以通过编程方式在Windows上找到系统芯片组的北桥,南桥名称和其他硬件信息?我认为WMI无法提供此信息。我正在尝试找出 hwinfo

Is there a way to programmatically find system chipset's north bridge, south bridge names and other hardware info on windows ? I don't think WMI provides this information. I'm trying to find out how tools like hwinfo and cpuinfo find this information.

推荐答案

人们通常会执行这种操作是通过WMI进行的,但是很多次都无法提供有用的信息,甚至无法提供错误的信息,因为有时它依赖于BIOS中的供应商填写的信息(通过SMBIOS),该信息通常为空错误或错误,而不是与特定的硬件部分进行通信。

People normally do this kind of stuff through WMI, but it fails to provide useful information a lot of times, even providing "wrong" info because sometimes it relies on vendor filled info from the BIOS (via SMBIOS), which frequently comes empty or wrong, instead of going to communicate with the specific hardware part.

我在获得RAM信息之前已经经历了这种经验。 WMI提供了错误的BIOS信息,我发现RAM芯片随附了我需要与之通信的特殊SPD(串行状态检测)芯片。最后,我的雇主选择了CPUID API。

I've gone through this experience before to get RAM info. WMI provided wrong BIOS info and I've found that RAM chips comes with a special SPD (Serial Presence Detect) chip that I needed to communicate with. In the end my employer opted for the CPUID API.

在此,CPU-Z作者在采访中谈到了这个问题:

Here the CPU-Z author talks a little about this subject in an interview:

http://www.techpowerup.com/ mobile / reviews / Interviews / Franck_Delattre / 1.html

要获取此类信息,您需要搜索如何通过驱动程序与内核模式下的PCI配置空间进行通信,或者寻找一些替代API来为您完成此操作。

To get info like this you need to search on how communicate with the PCI Configuration Space in kernel mode through a driver or go for some alternative API which would do this for you.

以下是我当时浏览过的一些链接:

Here are some links I've gone through at that time:

http://www.codeproject.com/Articles/35378/Access-Physical -Memory-Port-and-PCI-Configuration

http://support.microsoft.com/?scid=kb;zh-cn;253232&x=3&y=13

http:/ /www.hollistech.com/Resources/Misc%20articles/getbusdata.htm

http://www.osronline.com/showThre ad.CFM?link = 176210#T4

此外,我认为值得一提的是Windows中的SetupDi函数,这些函数有时能够提供WMI无法。

Also, I think is worth to mention about the SetupDi functions in Windows which sometimes are able to provide info that WMI can't.

这篇关于有没有办法在Windows上以编程方式找到芯片组的北桥,南桥名称和其他硬件信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆