Query Hardware-Specific Information on Windows With C++

和自甴很熟 提交于 2019-12-06 06:27:37

问题


Specifically, I want to query a system's GPU for the following:

The name of the GPU, the series (e.g. ATI Radion 5800, NVIDIA GeForce 4 MX, etc.), the BIOS version, the driver version, the GPU clock speed, the GPU memory speed, the memory type, the memory size, the bus width, the bandwidth, the type of bus being used, the vendor.

Any ideas? The application I'm developing just has to display this information to the user.


回答1:


I suggest querying WMI, using the following WMI objects:

Win32_DisplayConfiguration
- name of GPU

Win32_VideoController
- DAC type, speed
- video RAM size

also try:

CIM_VideoBIOSFeature
CIM_VideoBIOSElement



来源:https://stackoverflow.com/questions/3722384/query-hardware-specific-information-on-windows-with-c

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!