问题描述
对于我的 3ds max 插件中的错误报告功能,我想显示有关视频卡的信息(型号、驱动程序信息等).
For a bug reporting function in my 3ds max Plugin I want to display information about the video card (model, driver info etc.).
我已经发现可以从注册表中获取有关图形卡的信息:
I've already found out that information about the graphic card can be achieved from the registry:
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E968-E325-11CE-BFC1-08002BE10318}}\
然后每个图形卡都有一个以0000
开头的密钥.在我的笔记本上有两个这样的键,第一个代表我的板载显卡,我的插件可以忽略它.
Then there is a key for each graphic card beginning with 0000
.On my notebook there are two such keys where the first one represents my on-board graphic card which can be ignored by my plugin.
如何确定当前使用的显卡名称?
How can I determine the name of the currently used graphics card?
推荐答案
这可以使用 DirectX 10+ 完成,如文档所述 在 MSDN 上.
This can be accomplished using DirectX 10+ as is documented here on MSDN.
Windows Vista 中默认包含 DirectX 10,Windows7 中包含 DirectX 11,Windows 8 中包含 DirectX 11.1.
DirectX 10 is in included by default in Windows Vista, DirectX 11 is included in Windows7, and DirectX 11.1 is included with Windows 8.
这篇关于如何确定正在使用的图形卡 (Win32)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!