I posted a test code with EnumDisplaySettingsEx in your thread on Github : https://github.com/microsoft/microsoft-ui-xaml/issues/8437
How to fetch data of display resolution and display orientation in Winui3
mohan Raj
6
Reputation points
Hi i am working on an winui3 application , My requirement is that i have two combo box name display resolution and display orientation.
For the both combo box i need to add values from display setting like need to fetch the value of display resolution and orientation from the settings.
thanks in advance