falahati / WindowsDisplayAPI

WindowsDisplayAPI is a .Net wrapper for Windows Display and Windows CCD APIs
GNU Lesser General Public License v3.0
104 stars 21 forks source link

Windows 11 compatibility #23

Closed PryAl closed 1 year ago

PryAl commented 1 year ago

Hi!

It seems like wrapper have some troubles with detecting displays on Win11.

Display.GetDisplays() returned empty collection.

Could you clarify, it is compatibility issue or it's on my side?

falahati commented 1 year ago

For anything over and including Win7, consider using "Windows CCD API" - DisplayConfig namespace. (Path, Target, Source, etc...)

For older versions, Windows CCD is not available and you have to use "Windows Display API". But it lacks a lot of features that is introduced with new versions of Windows and can't represent the real topology of screens in many cases.