12 Feb
2024
12 Feb
'24
9:16 p.m.
Alexandre Julliard (@julliard) commented about dlls/user32/tests/sysparams.c:
} if (real_dpi != USER_DEFAULT_SCREEN_DPI) test_dpi_stock_objects( hdc ); ReleaseDC( 0, hdc ); + + /* Test DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2 */ + awareness = pGetAwarenessFromDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2); + ok (awareness == DPI_AWARENESS_PER_MONITOR_AWARE || broken (awareness == DPI_AWARENESS_INVALID), "wrong value %x\n", awareness); /* Win10 1709+ */
We already have tests for this a few lines above, please adapt them instead. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5064#note_60918