I've been able to setup and run the application but found out that it is limited to only main and second screen, on a 3-screens setup it will only duplicate the main on the second one. I found this stackoverflow thread where the OP is having similar issues and had to change SetDisplayConfig parameters to actually factor in the extra monitor.
https://stackoverflow.com/questions/57136638/how-to-properly-use-setdisplayconfig-with-multiple-monitors
Edit: after unistalling all gpu drivers and removing all related registry keys and proceeding with a clean install with just the main monitor plugged everything worked as expected without any code change once the 2nd and 3rd monitors got plugged back in.
I've been able to setup and run the application but found out that it is limited to only main and second screen, on a 3-screens setup it will only duplicate the main on the second one. I found this stackoverflow thread where the OP is having similar issues and had to change SetDisplayConfig parameters to actually factor in the extra monitor.
https://stackoverflow.com/questions/57136638/how-to-properly-use-setdisplayconfig-with-multiple-monitors
Edit: after unistalling all gpu drivers and removing all related registry keys and proceeding with a clean install with just the main monitor plugged everything worked as expected without any code change once the 2nd and 3rd monitors got plugged back in.