I've updated my SDK to the Win10 Anniversary Edition and still it won't compile. Has this functionality not been released yet? Google just gives me the announcement of the function being available now, so I'm confused.
The EnableNonClientDpiScaling function is declared in "C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\um\WinUser.h"
the following:
WINUSERAPI
BOOL
WINAPI
EnableNonClientDpiScaling(
_In_ HWND hwnd);
In the options of your project, set the Target Platform Version
to 10.0.14393.0
you'll we able to compile the code when you include the winsuer.h in your solution and call EnableNonClientDpiScaling.