13 Mar
2024
13 Mar
'24
9:55 a.m.
Zhiyi Zhang (@zhiyi) commented about dlls/user32/tests/monitor.c:
- EnumDisplayMonitors(NULL, NULL, MonitorEnumProc, 0); - return; + if (strcmp(myARGV[2], "info") == 0) + { + printf("Monitor information:\n"); + EnumDisplayMonitors(NULL, NULL, MonitorEnumProc, 0); + return; + } + else if (strcmp(myARGV[2], "fullscreen") == 0) + { + HANDLE event0, event1; + DWORD wait_result; + DEVMODEA dm; + LONG res; + + if (myARGC < 6) Place the following code into a helper so it remains clean in the main function.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/5060#note_64534