I\'m developing audio plugins that run within a host such as Cubase, and I\'m looking to add High DPI support. This is problematic because all host applications that I know
Per window DPI awareness is now possible, since Windows 10 anniversary update. A new API SetThreadDpiAwarenessContext() can be used to set per window,and per thread DPI awareness. This is accomplished as follows.
Read the following references.
You are out of luck here. DPI awareness is a process wide setting. In Windows 8.1 you can declare the process to be DPI aware on a per monitor basis.
And as Raymond comments above, no amount of engineering would enable API functions like GetCursorPos
to have per-window DPI awareness, since such functions are not passed windows.