使用 C++ 在 Windows 上查询特定于硬件的信息

发布于 2024-09-19 18:21:33 字数 187 浏览 4 评论 0原文

具体来说,我想查询系统GPU的以下信息:

GPU的名称、系列(例如ATI Radion 5800、NVIDIA GeForce 4 MX等)、BIOS版本、驱动程序版本、GPU时钟速度、 GPU 内存速度、内存类型、内存大小、总线宽度、带宽、所使用的总线类型、供应商。

有什么想法吗?我正在开发的应用程序只需向用户显示此信息。

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

薯片软お妹 2024-09-26 18:21:33

我建议使用以下 WMI 对象查询 WMI:

Win32_DisplayConfiguration
- GPU名称

Win32_VideoController
- DAC 类型、速度
- 视频 RAM 大小

也可尝试:

CIM_VideoBIOSFeature
CIM_VideoBIOSElement

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文