13 Mar
2024
13 Mar
'24
9:55 a.m.
Zhiyi Zhang (@zhiyi) commented about dlls/user32/tests/monitor.c:
+ memset(&dm, 0, sizeof(dm)); + dm.dmSize = sizeof(dm); + dm.dmPelsWidth = 800; + dm.dmPelsHeight = 600; + dm.dmFields = DM_PELSWIDTH | DM_PELSHEIGHT; + expect_dm(&dm, devices[0].name, 0, TRUE); + expect_dm(&dm, devices[1].name, 0, TRUE); + + CloseHandle(process1); + CloseHandle(process0); + } + + CloseHandle(exit_event1); + CloseHandle(exit_event0); + + /* Restore all adapters to their original settings */ This part is duplicated. Could you move the tests up so that you don't have to restore them again?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/5060#note_64533