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?