Rémi Bernon (@rbernon) commented about dlls/win32u/input.c:
+{ + UINT dpi = get_system_dpi(); + RECT monitor; + + TRACE( "%p, %p, %p\n", handle, pointerDeviceRect, displayRect ); + + if (handle != INVALID_HANDLE_VALUE) + { + FIXME( "Pointer devices are not implemented!\n" ); + RtlSetLastWin32Error( ERROR_NO_DATA ); + return FALSE; + } + + monitor = get_virtual_screen_rect( dpi, MDT_DEFAULT ); + + dpi = HIMETRIC / dpi; That'll probably cause rounding errors, you can / should use map_dpi_rect instead. Also it might be better to use `get_thread_dpi()`, or pass the desired target DPI to `get_virtual_screen_rect`, and/or use `MDR_RAW_DPI`, instead of `get_system_dpi()`, to avoid unnecessary conversion. But tests could say otherwise.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10649#note_136263