From: Brendan Shanks <bshanks@codeweavers.com> --- dlls/win32u/sysparams.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/win32u/sysparams.c b/dlls/win32u/sysparams.c index a5b7e6adbe6..85e5df8e188 100644 --- a/dlls/win32u/sysparams.c +++ b/dlls/win32u/sysparams.c @@ -4765,7 +4765,7 @@ MONITORINFO monitor_info_from_window( HWND hwnd, UINT flags ) */ ULONG WINAPI NtUserGetSystemDpiForProcess( HANDLE process ) { - if (process && process != GetCurrentProcess()) + if (process && process != GetCurrentProcess() && NtCompareObjects( GetCurrentProcess(), process )) { FIXME( "not supported on other process %p\n", process ); return 0; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10102