[PATCH v2 0/6] MR117: winemac: PE conversion preparation

Huw Davies (@huw) wine at gitlab.winehq.org
Mon May 23 07:50:51 CDT 2022


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!)

-- 
https://gitlab.winehq.org/wine/wine/-/merge_requests/117#note_1103



More information about the wine-devel mailing list