I just remembered. I have an important question, now you mention manifest.
How can you disable "fullscreen optimizations" in an .exe ? Using the manifest, the startup options i.e. maximize,minimize,run as admin etc or is there some Windows API?
If it's your own code, you can use ShowWindow
No, the "fullscreen optimizations".
As far as I can tell there's no way to turn it off programmatically or as a simple compilation option or commandline i.e. startup options
JJ is right, ShowWindow() can be set to fullscreen, a sized window or minimised at startup.
There is some Win10 feature available for DirectX 9+ based games and applications, that apparently can be a problem sometimes:
https://www.minitool.com/news/disable-fullscreen-optimizations.html