Is there any way to retrieve the port index of an attached display in Windows (7+)?
For example, I have a 4 DisplayPort graphics card, with 2 monitors attached. They are connected to ports 1 and 4. I would like to know which monitor is connected to which port.
I have a feeling that it might be possible using the OpenGL ICD functions but haven't found anything yet.
Would be interested to know how it can be done using the ADL, however I would prefer to use the windows api for compatibility.