Getting graphics card connetion type in XP

So I need to be able to find out in code how the graphics card is connected, whether VGA, DVI etc. You can do this by querying the Windows Management Instrumentation, but the WmiMonitorConnectionParams class you need to do this wasn't introduced until Windows Vista. Similarly the nVidia API didn't introduce the NvAPI_DISP_GetMonitorCapabilities function until Vista.

Surely there must be a way of doing this, but I really can't find a way in XP, any ideas?

Topic archived. No new replies allowed.