Huw Davies (@huw) commented about dlls/winemac.drv/display.c:
DWORD i; dd.cb = sizeof(dd);
- for (i = 0; EnumDisplayDevicesW(NULL, i, &dd, 0); ++i)
- for (i = 0; NtUserEnumDisplayDevices(NULL, i, &dd, 0); ++i)
`NtUserEnumDisplayDevices()` returns NTSTATUS, so the test needs inverting. I've pushed an update (thanks for opening up your tree!)