使用 C++ 在 Windows 上查询特定于硬件的信息
具体来说,我想查询系统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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我建议使用以下 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