detect the video card in use

  • Thread starter Thread starter Vegan Fanatic
  • Start date Start date
V

Vegan Fanatic

Guest
http://msdn.microsoft.com/en-us/library/windows/desktop/bb174317(v=vs.85).aspx

right now I have this much code

std::string getGPUvendor(void) {
DWORD vendorID = 0;
IDirect3D9* direct3D9 = Direct3DCreate9(D3D_SDK_VERSION);
if (0 != direct3D9) {
D3DADAPTER_IDENTIFIER9 adapterIdentifier;
HRESULT hr = direct3D9->GetAdapterIdentifier(0, 0, &adapterIdentifier);
if (S_OK == hr) {
vendorID = adapterIdentifier.VendorId;
}
direct3D9->Release();
}
}


So lets see, AMD, Intel and NVIDIA are almost all that remain in the GPU sector

Then the fun, how about the actual model of card

http://msdn.microsoft.com/en-us/library/windows/desktop/bb174317(v=vs.85).aspx






Corsair Carbide 300R with window & Corsair TX850V2 70A@12V

Asus M5A99FX PRO R2.0 CFX/SLI & AMD Phenom II 965 C3 Black Edition @ 4.0 GHz & G.SKILL RipjawsX DDR3-2133 8 GB

GTX 260 SLI 216 core (GT200 Tesla) & Asus PA238QR IPS LED HDMI DP 1080p

ST2000DM001 & Windows 7 x64 Enterprise

Microsoft Wireless Desktop 2000 & Wacom Bamboo CHT470M

Place your rig specifics into your signature like I have, makes it 100x easier to understand!


Hardcore Games, Legendary is the Only Way to Play

Continue reading...
 

Similar threads

V
Replies
0
Views
70
Vegan Fanatic
V
V
Replies
0
Views
76
Vegan Fanatic
V
V
Replies
0
Views
59
Vegan Fanatic
V
V
Replies
0
Views
66
Vegan Fanatic
V
Back
Top