When we want to change the display setting, we can use the display setting UI.
But besides UI, can I directly change the setting in the registry so that I can programmatically do it?
For instance, I want to switch between "Duplicate these displays" and "Show desktop only on 1" via code.
How could I do so?