Nikolay Sivov (@nsivov) commented about dlls/mf/tests/mf.c:
}
#define wait_media_event(a, b, c, d, e) wait_media_event_(__LINE__, a, b, c, d, e) -static HRESULT wait_media_event_(int line, IMFMediaSession *session, IMFAsyncCallback *callback, - MediaEventType expect_type, DWORD timeout, PROPVARIANT *value) +static HRESULT wait_media_event_(int line, IMFMediaEventGenerator *event_generator, + IMFAsyncCallback *callback, MediaEventType expect_type, DWORD timeout, PROPVARIANT *value) To get this diff down you could use "void *" for event_generator here, and query for it inside this helper. Note that it's not really necessary for session objects, because those are already event generators.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/3369#note_40349