user3540983
user3540983

Reputation: 141

How can I get GPU information?

I have a task to collect information about GPU in Windows with C++ and I don't know where to start! Any idea?

Update: I want name, vram, dac, manufacturer, version, clock.

update2: If I use win32_videocontroller class, I just got the currently used video card's properties, but I need all video card's properties if there are more.

Upvotes: 4

Views: 14978

Answers (2)

szulak
szulak

Reputation: 703

You might want to use WMI and Win32_VideoController class.

Win32_VideoController class

Upvotes: 4

selbie
selbie

Reputation: 104474

Start with: IDirect3D9::GetAdapterIdentifier

The perhaps: IDXGIAdapter::GetDesc

And if you are on Windows 8: IDXGIAdapter2::GetDesc2 returns some more information

This should at least get you some rudimentary information like name, vendor, and features of the graphics card. Not sure about vram/dac/clock.

Upvotes: 1

Related Questions