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 ) ); } ``` -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6802#note_87286