We have Integrated system (all-in-one) configuration with an integrated display and 2 display ports.
The display ports are labelled OuterPort and InnerPort. We require that any display connected to InnerPort should extend the display and any display connected to OuterPort should clone the display.
We configure the displays to match the above requirement using windows display setting screen. When displays are connected to both the ports, the system works as intended.
Problem is:
When a single display is connected to just one of the ports, it always acts as if the display is connected to OuterPort i.e Clone. Even if we configure the display as required, it reverts back to this erroneous behaviour once we restart the system or unplug the display and plug it back.
Is anyone have idea why the windows display setting is not retaining to perticular display Ports?
Is there any way we can do in C++ to set this permanently or if you can tell any manual step also it is highly appreciated.
Thanks,