PDA

View Full Version : Obtaining Video Card Desc/Driver


MattInglot
11-28-2004, 01:53 PM
I'm trying to obtain video card information like that found on http://steampowered.com/status/survey.html Does anybody have any idea how to the videocard info?

I've tried


DISPLAY_DEVICE Display;
Display.cb = sizeof(DISPLAY_DEVICE);

// obtain display driver
EnumDisplayDevices( NULL, 0, &Display, 0 );
cout << Display.DeviceString;


for the name but the result I get on my own system, NVIDIA GeForce2 GTS/GeForce2 Pro, is different from anything listed on the steam site. The driver I have no idea on how to get at all.

Any help? :)

Matthew
11-28-2004, 03:06 PM
I'm not much of a programmer, myself, but perhaps this might help you:

http://www.midwinter.com/~lch/programming/dx8diagnostics/

Jack Norton
11-28-2004, 11:58 PM
I know patrice made such a tool. Look here:
http://www.phelios.net/updatevideodrivers.html

seems to work well for me. No clue how he made it, sorry :)

george
11-29-2004, 12:41 AM
I think GetDeviceCaps() is what you are looking for:

http://msdn.microsoft.com/library/en-us/gdi/devcons_88s3.asp

MattInglot
11-29-2004, 05:00 AM
Matthew - I want to avoid using DirectX, since the rest of my application doesn't.

Jack - this is perfect, if only he released source. If no one here knows how to do it I'll contact him and ask.

George - I'm using GetDeviceCaps for other info but it does not return any strings.