EnumDisplayDevices vs EnumDisplayMonitors

3k views Asked by At

I have noticed that EnumDisplayDevices and EnumDisplayMonitors report different information on which monitor is attached to which port.

For example, i have 4 monitors attached to my graphics card. 3 of them are 1920x1080 and one of them is 1280x768.

The information i get from EnumDisplayMonitors is:

1920 1080 \\.\DISPLAY1
1920 1080 \\.\DISPLAY2
1920 1080 \\.\DISPLAY3
1280 768 \\.\DISPLAY4

and the one from EnumDisplayDevices is:

1280 768 \\.\DISPLAY1
1920 1080 \\.\DISPLAY2
1920 1080 \\.\DISPLAY3
1920 1080 \\.\DISPLAY4

Also i noticed that the order in EnumDisplayDevices is sometimes shuffled, so it could also be:

1280 768 \\.\DISPLAY1
1920 1080 \\.\DISPLAY4
1920 1080 \\.\DISPLAY2
1920 1080 \\.\DISPLAY3

Anyways, which one is the correct one?

I am looking for this because i want to read the EDID data from the correct monitor.

0

There are 0 answers