Duplicate two displays optionally

Nouman 1 Reputation point
2021-10-30T01:36:45.71+00:00

I have an issue duplicating two displays optionally, I followed this solution:

https://learn.microsoft.com/en-us/answers/questions/58261/display-duplicate-optionally-with-three-monitors-c.html

it seems to work when duplicating any two external displays into each other, but it does not work/duplicate the host/main display into an external one. could you please help me on this one.

Windows development | Windows API - Win32
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.