Sept. 12, 2023
1:10 p.m.
Jacek Caban (@jacek) commented about dlls/mshtml/dispex.c:
return S_OK; }
+static HRESULT query_typeinfo_interface(DispatchEx *This, const func_info_t *func, void **ppv) +{ + if(This->info->desc->vtbl->query_interface) { + *ppv = This->info->desc->vtbl->query_interface(This, tid_ids[func->tid]); + if(*ppv) { + IUnknown_AddRef((IUnknown*)*ppv); + return S_OK; + } + } + + return E_NOINTERFACE; +} +
Why do you need it, isn't calling regular `QueryInterface` on This object essentially the same? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3796#note_45003