No, \\.\display1 is NOT always the same screen....sometimes \\.\display1 is the primary and screen #1 in "screen resolution" is #2 (the secondary)....sometimes \\.\display2 is the primary and screen #1 in "screen resolution" is primary! Sometimes they match (not often though!). Sometimes...
Thank you for responding! I certainly have tried that. It returns the same information as GetMonitorInfo. In both function calls, the device name that is returned rarely correlates with the "display numbers" as seen on the Windows 7 "screen resolution" window. Most times the device names...
In Xp and Vista it was easy to retrieve the display device ID (I.E. \\.\Display1, \\.\Display2, etc). The returned deviced ID's matched the display numbers as depicted on screens with the "identify" button....where a big '1' and '2' would appear on the monitors if clicked. In Windows 7, this...