I need to detect in code (C++) how the graphics card is connected to the monitor/s, i.e. vga or dvi etc.
I found two ways that I could do this:
but both of these are only supported in Windows Vista or higher.
There must surely be a way of doing this in XP, but after much searching I just can't find one and it's becoming quite urgent that I find a way.
Any ideas?
Possibly you can use EnumDisplayDevices
(link to MSDN) and parse some informations as described here. It's basically about matching physical displays with logical ones.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With