I have a Windows desktop app using Direct2D. On systems with both integrated and discrete GPUs it's possible for the user to configure the app to use the more powerful discrete GPU via Display Settings, as described here. https://www.amd.com/en/support/kb/faq/gpu-110
Is there a way of adjusting this setting programmatically, so that the application is automatically configured to use the "high performance" GPU without user fettling? Possibly thought a manifest or version resource?