Rémi Bernon (@rbernon) commented about dlls/user32/win.c:
return LongToHandle( NtUserGetWindowDpiAwarenessContext( hwnd ) );
}
+/***********************************************************************
GetDpiAwarenessContextForProcess (USER32.@)
- */
+DPI_AWARENESS_CONTEXT WINAPI GetDpiAwarenessContextForProcess(HANDLE process) +{
- DPI_AWARENESS awareness;
- TRACE("(%p)\n", process);
- GetProcessDpiAwarenessInternal(process, &awareness);
- return LongToHandle(awareness);
+}
```suggestion:-9+0 DPI_AWARENESS_CONTEXT WINAPI GetDpiAwarenessContextForProcess( HANDLE process ) { return LongToHandle( NtUserGetProcessDpiAwarenessContext( process ) ); } ```