-1

I have an old piece of C++ code which displays animations, and expects a runtime environment which has an ATI graphics card, and uses the ATI Catalyst Control Center SDK to get information about the graphics card, and monitors attached. The rendering itself is all done with Direct3D.

I need to get this code to work with an nVidia graphics card, so I need a way of finding out whether the graphics card uses VGA, DVI or HDMI output, and whether the monitor/s support HDMI output and what their max resolutions are.

The second one should be easy, but I don't know where to start with the first...

Thanks.

MSalters
  • 173,980
  • 10
  • 155
  • 350
Bill Walton
  • 811
  • 1
  • 16
  • 31
  • Have you looked at the official direct-x documentation? 10 years ago, there would always be examples about enumerating video modes and cards. – Sebastian Mach Mar 27 '12 at 10:25
  • 1
    I realise you haven't even searched SO hard enough: duplicate of [Get the graphics card model?](http://stackoverflow.com/questions/1090261/get-the-graphics-card-model) – Sebastian Mach Mar 27 '12 at 10:25
  • perhaps you should specify what OS you're using? – Alnitak Mar 27 '12 at 10:26
  • Ok, I can get the D3DFORMAT and screen size with GetAdapterDisplayMode but this doesn't give me any information about the output type of the card. I'm running windows 7 64 bit. – Bill Walton Mar 27 '12 at 11:21

0 Answers0