Commit 07923da1 authored by Gabriel Ivăncescu's avatar Gabriel Ivăncescu Committed by Alexandre Julliard

mshtml: Rename dispex_query_interface to dispex_query_interface_no_cc.

The new dispex_query_interface will use the cycle collector later. Signed-off-by: 's avatarGabriel Ivăncescu <gabrielopcode@gmail.com>
parent 965040f0
...@@ -798,7 +798,7 @@ static HRESULT WINAPI Function_QueryInterface(IUnknown *iface, REFIID riid, void ...@@ -798,7 +798,7 @@ static HRESULT WINAPI Function_QueryInterface(IUnknown *iface, REFIID riid, void
if(IsEqualGUID(&IID_IUnknown, riid)) { if(IsEqualGUID(&IID_IUnknown, riid)) {
*ppv = &This->IUnknown_iface; *ppv = &This->IUnknown_iface;
}else if(dispex_query_interface(&This->dispex, riid, ppv)) { }else if(dispex_query_interface_no_cc(&This->dispex, riid, ppv)) {
return *ppv ? S_OK : E_NOINTERFACE; return *ppv ? S_OK : E_NOINTERFACE;
}else { }else {
*ppv = NULL; *ppv = NULL;
...@@ -1969,7 +1969,7 @@ static IDispatchExVtbl DispatchExVtbl = { ...@@ -1969,7 +1969,7 @@ static IDispatchExVtbl DispatchExVtbl = {
DispatchEx_GetNameSpaceParent DispatchEx_GetNameSpaceParent
}; };
BOOL dispex_query_interface(DispatchEx *This, REFIID riid, void **ppv) BOOL dispex_query_interface_no_cc(DispatchEx *This, REFIID riid, void **ppv)
{ {
if(IsEqualGUID(&IID_IDispatch, riid)) if(IsEqualGUID(&IID_IDispatch, riid))
*ppv = &This->IDispatchEx_iface; *ppv = &This->IDispatchEx_iface;
......
...@@ -50,7 +50,7 @@ static HRESULT WINAPI HTMLDOMAttribute_QueryInterface(IHTMLDOMAttribute *iface, ...@@ -50,7 +50,7 @@ static HRESULT WINAPI HTMLDOMAttribute_QueryInterface(IHTMLDOMAttribute *iface,
*ppv = &This->IHTMLDOMAttribute_iface; *ppv = &This->IHTMLDOMAttribute_iface;
}else if(IsEqualGUID(&IID_IHTMLDOMAttribute2, riid)) { }else if(IsEqualGUID(&IID_IHTMLDOMAttribute2, riid)) {
*ppv = &This->IHTMLDOMAttribute2_iface; *ppv = &This->IHTMLDOMAttribute2_iface;
}else if(dispex_query_interface(&This->dispex, riid, ppv)) { }else if(dispex_query_interface_no_cc(&This->dispex, riid, ppv)) {
return *ppv ? S_OK : E_NOINTERFACE; return *ppv ? S_OK : E_NOINTERFACE;
}else { }else {
WARN("%s not supported\n", debugstr_mshtml_guid(riid)); WARN("%s not supported\n", debugstr_mshtml_guid(riid));
......
...@@ -553,7 +553,7 @@ static HRESULT WINAPI HTMLRect_QueryInterface(IHTMLRect *iface, REFIID riid, voi ...@@ -553,7 +553,7 @@ static HRESULT WINAPI HTMLRect_QueryInterface(IHTMLRect *iface, REFIID riid, voi
*ppv = &This->IHTMLRect_iface; *ppv = &This->IHTMLRect_iface;
}else if (IsEqualGUID(&IID_IHTMLRect2, riid)) { }else if (IsEqualGUID(&IID_IHTMLRect2, riid)) {
*ppv = &This->IHTMLRect2_iface; *ppv = &This->IHTMLRect2_iface;
}else if(dispex_query_interface(&This->dispex, riid, ppv)) { }else if(dispex_query_interface_no_cc(&This->dispex, riid, ppv)) {
return *ppv ? S_OK : E_NOINTERFACE; return *ppv ? S_OK : E_NOINTERFACE;
}else { }else {
FIXME("(%p)->(%s %p)\n", This, debugstr_mshtml_guid(riid), ppv); FIXME("(%p)->(%s %p)\n", This, debugstr_mshtml_guid(riid), ppv);
...@@ -1055,7 +1055,7 @@ static HRESULT WINAPI HTMLRectCollection_QueryInterface(IHTMLRectCollection *ifa ...@@ -1055,7 +1055,7 @@ static HRESULT WINAPI HTMLRectCollection_QueryInterface(IHTMLRectCollection *ifa
*ppv = &This->IHTMLRectCollection_iface; *ppv = &This->IHTMLRectCollection_iface;
}else if(IsEqualGUID(&IID_IHTMLRectCollection, riid)) { }else if(IsEqualGUID(&IID_IHTMLRectCollection, riid)) {
*ppv = &This->IHTMLRectCollection_iface; *ppv = &This->IHTMLRectCollection_iface;
}else if(dispex_query_interface(&This->dispex, riid, ppv)) { }else if(dispex_query_interface_no_cc(&This->dispex, riid, ppv)) {
return *ppv ? S_OK : E_NOINTERFACE; return *ppv ? S_OK : E_NOINTERFACE;
}else { }else {
FIXME("(%p)->(%s %p)\n", This, debugstr_mshtml_guid(riid), ppv); FIXME("(%p)->(%s %p)\n", This, debugstr_mshtml_guid(riid), ppv);
...@@ -7390,7 +7390,7 @@ static HRESULT WINAPI token_list_QueryInterface(IWineDOMTokenList *iface, REFIID ...@@ -7390,7 +7390,7 @@ static HRESULT WINAPI token_list_QueryInterface(IWineDOMTokenList *iface, REFIID
*ppv = &token_list->IWineDOMTokenList_iface; *ppv = &token_list->IWineDOMTokenList_iface;
}else if(IsEqualGUID(&IID_IWineDOMTokenList, riid)) { }else if(IsEqualGUID(&IID_IWineDOMTokenList, riid)) {
*ppv = &token_list->IWineDOMTokenList_iface; *ppv = &token_list->IWineDOMTokenList_iface;
}else if(dispex_query_interface(&token_list->dispex, riid, ppv)) { }else if(dispex_query_interface_no_cc(&token_list->dispex, riid, ppv)) {
return *ppv ? S_OK : E_NOINTERFACE; return *ppv ? S_OK : E_NOINTERFACE;
}else { }else {
WARN("(%p)->(%s %p)\n", token_list, debugstr_mshtml_guid(riid), ppv); WARN("(%p)->(%s %p)\n", token_list, debugstr_mshtml_guid(riid), ppv);
...@@ -8097,7 +8097,7 @@ static HRESULT WINAPI HTMLFiltersCollection_QueryInterface(IHTMLFiltersCollectio ...@@ -8097,7 +8097,7 @@ static HRESULT WINAPI HTMLFiltersCollection_QueryInterface(IHTMLFiltersCollectio
}else if(IsEqualGUID(&IID_IHTMLFiltersCollection, riid)) { }else if(IsEqualGUID(&IID_IHTMLFiltersCollection, riid)) {
TRACE("(%p)->(IID_IHTMLFiltersCollection %p)\n", This, ppv); TRACE("(%p)->(IID_IHTMLFiltersCollection %p)\n", This, ppv);
*ppv = &This->IHTMLFiltersCollection_iface; *ppv = &This->IHTMLFiltersCollection_iface;
}else if(dispex_query_interface(&This->dispex, riid, ppv)) { }else if(dispex_query_interface_no_cc(&This->dispex, riid, ppv)) {
return *ppv ? S_OK : E_NOINTERFACE; return *ppv ? S_OK : E_NOINTERFACE;
}else { }else {
*ppv = NULL; *ppv = NULL;
...@@ -8554,7 +8554,7 @@ static HRESULT WINAPI HTMLAttributeCollection_QueryInterface(IHTMLAttributeColle ...@@ -8554,7 +8554,7 @@ static HRESULT WINAPI HTMLAttributeCollection_QueryInterface(IHTMLAttributeColle
*ppv = &This->IHTMLAttributeCollection2_iface; *ppv = &This->IHTMLAttributeCollection2_iface;
}else if(IsEqualGUID(&IID_IHTMLAttributeCollection3, riid)) { }else if(IsEqualGUID(&IID_IHTMLAttributeCollection3, riid)) {
*ppv = &This->IHTMLAttributeCollection3_iface; *ppv = &This->IHTMLAttributeCollection3_iface;
}else if(dispex_query_interface(&This->dispex, riid, ppv)) { }else if(dispex_query_interface_no_cc(&This->dispex, riid, ppv)) {
return *ppv ? S_OK : E_NOINTERFACE; return *ppv ? S_OK : E_NOINTERFACE;
}else { }else {
*ppv = NULL; *ppv = NULL;
......
...@@ -223,7 +223,7 @@ static HRESULT WINAPI HTMLElementCollection_QueryInterface(IHTMLElementCollectio ...@@ -223,7 +223,7 @@ static HRESULT WINAPI HTMLElementCollection_QueryInterface(IHTMLElementCollectio
*ppv = &This->IHTMLElementCollection_iface; *ppv = &This->IHTMLElementCollection_iface;
}else if(IsEqualGUID(&IID_IHTMLElementCollection, riid)) { }else if(IsEqualGUID(&IID_IHTMLElementCollection, riid)) {
*ppv = &This->IHTMLElementCollection_iface; *ppv = &This->IHTMLElementCollection_iface;
}else if(dispex_query_interface(&This->dispex, riid, ppv)) { }else if(dispex_query_interface_no_cc(&This->dispex, riid, ppv)) {
return *ppv ? S_OK : E_NOINTERFACE; return *ppv ? S_OK : E_NOINTERFACE;
}else { }else {
*ppv = NULL; *ppv = NULL;
......
...@@ -356,7 +356,7 @@ static HRESULT WINAPI HTMLEventObj_QueryInterface(IHTMLEventObj *iface, REFIID r ...@@ -356,7 +356,7 @@ static HRESULT WINAPI HTMLEventObj_QueryInterface(IHTMLEventObj *iface, REFIID r
*ppv = &This->IHTMLEventObj_iface; *ppv = &This->IHTMLEventObj_iface;
}else if(IsEqualGUID(&IID_IHTMLEventObj, riid)) { }else if(IsEqualGUID(&IID_IHTMLEventObj, riid)) {
*ppv = &This->IHTMLEventObj_iface; *ppv = &This->IHTMLEventObj_iface;
}else if(dispex_query_interface(&This->dispex, riid, ppv)) { }else if(dispex_query_interface_no_cc(&This->dispex, riid, ppv)) {
return *ppv ? S_OK : E_NOINTERFACE; return *ppv ? S_OK : E_NOINTERFACE;
}else { }else {
*ppv = NULL; *ppv = NULL;
...@@ -958,7 +958,7 @@ static HRESULT WINAPI DOMEvent_QueryInterface(IDOMEvent *iface, REFIID riid, voi ...@@ -958,7 +958,7 @@ static HRESULT WINAPI DOMEvent_QueryInterface(IDOMEvent *iface, REFIID riid, voi
*ppv = &This->IDOMEvent_iface; *ppv = &This->IDOMEvent_iface;
else if(IsEqualGUID(&IID_IDOMEvent, riid)) else if(IsEqualGUID(&IID_IDOMEvent, riid))
*ppv = &This->IDOMEvent_iface; *ppv = &This->IDOMEvent_iface;
else if(dispex_query_interface(&This->dispex, riid, ppv)) else if(dispex_query_interface_no_cc(&This->dispex, riid, ppv))
return *ppv ? S_OK : E_NOINTERFACE; return *ppv ? S_OK : E_NOINTERFACE;
else if(!This->query_interface || !(*ppv = This->query_interface(This, riid))) { else if(!This->query_interface || !(*ppv = This->query_interface(This, riid))) {
*ppv = NULL; *ppv = NULL;
...@@ -4491,7 +4491,7 @@ HRESULT EventTarget_QI(EventTarget *event_target, REFIID riid, void **ppv) ...@@ -4491,7 +4491,7 @@ HRESULT EventTarget_QI(EventTarget *event_target, REFIID riid, void **ppv)
return S_OK; return S_OK;
} }
if(dispex_query_interface(&event_target->dispex, riid, ppv)) if(dispex_query_interface_no_cc(&event_target->dispex, riid, ppv))
return *ppv ? S_OK : E_NOINTERFACE; return *ppv ? S_OK : E_NOINTERFACE;
WARN("(%p)->(%s %p)\n", event_target, debugstr_mshtml_guid(riid), ppv); WARN("(%p)->(%s %p)\n", event_target, debugstr_mshtml_guid(riid), ppv);
......
...@@ -771,7 +771,7 @@ static HRESULT WINAPI HTMLImageElementFactory_QueryInterface(IHTMLImageElementFa ...@@ -771,7 +771,7 @@ static HRESULT WINAPI HTMLImageElementFactory_QueryInterface(IHTMLImageElementFa
*ppv = &This->IHTMLImageElementFactory_iface; *ppv = &This->IHTMLImageElementFactory_iface;
}else if(IsEqualGUID(&IID_IHTMLImageElementFactory, riid)) { }else if(IsEqualGUID(&IID_IHTMLImageElementFactory, riid)) {
*ppv = &This->IHTMLImageElementFactory_iface; *ppv = &This->IHTMLImageElementFactory_iface;
}else if(dispex_query_interface(&This->dispex, riid, ppv)) { }else if(dispex_query_interface_no_cc(&This->dispex, riid, ppv)) {
return *ppv ? S_OK : E_NOINTERFACE; return *ppv ? S_OK : E_NOINTERFACE;
}else { }else {
*ppv = NULL; *ppv = NULL;
......
...@@ -78,7 +78,7 @@ static HRESULT WINAPI HTMLLocation_QueryInterface(IHTMLLocation *iface, REFIID r ...@@ -78,7 +78,7 @@ static HRESULT WINAPI HTMLLocation_QueryInterface(IHTMLLocation *iface, REFIID r
*ppv = NULL; *ppv = NULL;
FIXME("(%p)->(IID_IMarshal %p)\n", This, ppv); FIXME("(%p)->(IID_IMarshal %p)\n", This, ppv);
return E_NOINTERFACE; return E_NOINTERFACE;
}else if(dispex_query_interface(&This->dispex, riid, ppv)) { }else if(dispex_query_interface_no_cc(&This->dispex, riid, ppv)) {
return *ppv ? S_OK : E_NOINTERFACE; return *ppv ? S_OK : E_NOINTERFACE;
}else { }else {
*ppv = NULL; *ppv = NULL;
......
...@@ -210,7 +210,7 @@ static HRESULT WINAPI HTMLDOMChildrenCollection_QueryInterface(IHTMLDOMChildrenC ...@@ -210,7 +210,7 @@ static HRESULT WINAPI HTMLDOMChildrenCollection_QueryInterface(IHTMLDOMChildrenC
*ppv = &This->IHTMLDOMChildrenCollection_iface; *ppv = &This->IHTMLDOMChildrenCollection_iface;
}else if(IsEqualGUID(&IID_IHTMLDOMChildrenCollection, riid)) { }else if(IsEqualGUID(&IID_IHTMLDOMChildrenCollection, riid)) {
*ppv = &This->IHTMLDOMChildrenCollection_iface; *ppv = &This->IHTMLDOMChildrenCollection_iface;
}else if(dispex_query_interface(&This->dispex, riid, ppv)) { }else if(dispex_query_interface_no_cc(&This->dispex, riid, ppv)) {
return *ppv ? S_OK : E_NOINTERFACE; return *ppv ? S_OK : E_NOINTERFACE;
}else { }else {
*ppv = NULL; *ppv = NULL;
......
...@@ -449,7 +449,7 @@ static HRESULT WINAPI HTMLOptionElementFactory_QueryInterface(IHTMLOptionElement ...@@ -449,7 +449,7 @@ static HRESULT WINAPI HTMLOptionElementFactory_QueryInterface(IHTMLOptionElement
*ppv = &This->IHTMLOptionElementFactory_iface; *ppv = &This->IHTMLOptionElementFactory_iface;
}else if(IsEqualGUID(&IID_IHTMLOptionElementFactory, riid)) { }else if(IsEqualGUID(&IID_IHTMLOptionElementFactory, riid)) {
*ppv = &This->IHTMLOptionElementFactory_iface; *ppv = &This->IHTMLOptionElementFactory_iface;
}else if(dispex_query_interface(&This->dispex, riid, ppv)) { }else if(dispex_query_interface_no_cc(&This->dispex, riid, ppv)) {
return *ppv ? S_OK : E_NOINTERFACE; return *ppv ? S_OK : E_NOINTERFACE;
}else { }else {
*ppv = NULL; *ppv = NULL;
......
...@@ -370,7 +370,7 @@ static HRESULT WINAPI HTMLStorage_QueryInterface(IHTMLStorage *iface, REFIID rii ...@@ -370,7 +370,7 @@ static HRESULT WINAPI HTMLStorage_QueryInterface(IHTMLStorage *iface, REFIID rii
*ppv = &This->IHTMLStorage_iface; *ppv = &This->IHTMLStorage_iface;
}else if(IsEqualGUID(&IID_IHTMLStorage, riid)) { }else if(IsEqualGUID(&IID_IHTMLStorage, riid)) {
*ppv = &This->IHTMLStorage_iface; *ppv = &This->IHTMLStorage_iface;
}else if(dispex_query_interface(&This->dispex, riid, ppv)) { }else if(dispex_query_interface_no_cc(&This->dispex, riid, ppv)) {
return *ppv ? S_OK : E_NOINTERFACE; return *ppv ? S_OK : E_NOINTERFACE;
}else { }else {
*ppv = NULL; *ppv = NULL;
......
...@@ -4743,7 +4743,7 @@ static HRESULT WINAPI HTMLCSSStyleDeclaration_QueryInterface(IHTMLCSSStyleDeclar ...@@ -4743,7 +4743,7 @@ static HRESULT WINAPI HTMLCSSStyleDeclaration_QueryInterface(IHTMLCSSStyleDeclar
*ppv = &This->IHTMLCSSStyleDeclaration_iface; *ppv = &This->IHTMLCSSStyleDeclaration_iface;
}else if(IsEqualGUID(&IID_IHTMLCSSStyleDeclaration2, riid)) { }else if(IsEqualGUID(&IID_IHTMLCSSStyleDeclaration2, riid)) {
*ppv = &This->IHTMLCSSStyleDeclaration2_iface; *ppv = &This->IHTMLCSSStyleDeclaration2_iface;
}else if(dispex_query_interface(&This->dispex, riid, ppv)) { }else if(dispex_query_interface_no_cc(&This->dispex, riid, ppv)) {
return *ppv ? S_OK : E_NOINTERFACE; return *ppv ? S_OK : E_NOINTERFACE;
}else if(!This->qi || !(*ppv = This->qi(This, riid))) { }else if(!This->qi || !(*ppv = This->qi(This, riid))) {
*ppv = NULL; *ppv = NULL;
......
...@@ -93,7 +93,7 @@ static HRESULT WINAPI HTMLStyleSheetRule_QueryInterface(IHTMLStyleSheetRule *ifa ...@@ -93,7 +93,7 @@ static HRESULT WINAPI HTMLStyleSheetRule_QueryInterface(IHTMLStyleSheetRule *ifa
*ppv = &This->IHTMLStyleSheetRule_iface; *ppv = &This->IHTMLStyleSheetRule_iface;
else if (IsEqualGUID(&IID_IHTMLStyleSheetRule, riid)) else if (IsEqualGUID(&IID_IHTMLStyleSheetRule, riid))
*ppv = &This->IHTMLStyleSheetRule_iface; *ppv = &This->IHTMLStyleSheetRule_iface;
else if (dispex_query_interface(&This->dispex, riid, ppv)) else if (dispex_query_interface_no_cc(&This->dispex, riid, ppv))
return *ppv ? S_OK : E_NOINTERFACE; return *ppv ? S_OK : E_NOINTERFACE;
else else
{ {
...@@ -279,7 +279,7 @@ static HRESULT WINAPI HTMLStyleSheetRulesCollection_QueryInterface(IHTMLStyleShe ...@@ -279,7 +279,7 @@ static HRESULT WINAPI HTMLStyleSheetRulesCollection_QueryInterface(IHTMLStyleShe
*ppv = &This->IHTMLStyleSheetRulesCollection_iface; *ppv = &This->IHTMLStyleSheetRulesCollection_iface;
}else if(IsEqualGUID(&IID_IHTMLStyleSheetRulesCollection, riid)) { }else if(IsEqualGUID(&IID_IHTMLStyleSheetRulesCollection, riid)) {
*ppv = &This->IHTMLStyleSheetRulesCollection_iface; *ppv = &This->IHTMLStyleSheetRulesCollection_iface;
}else if(dispex_query_interface(&This->dispex, riid, ppv)) { }else if(dispex_query_interface_no_cc(&This->dispex, riid, ppv)) {
return *ppv ? S_OK : E_NOINTERFACE; return *ppv ? S_OK : E_NOINTERFACE;
}else { }else {
*ppv = NULL; *ppv = NULL;
...@@ -673,7 +673,7 @@ static HRESULT WINAPI HTMLStyleSheetsCollection_QueryInterface(IHTMLStyleSheetsC ...@@ -673,7 +673,7 @@ static HRESULT WINAPI HTMLStyleSheetsCollection_QueryInterface(IHTMLStyleSheetsC
*ppv = &This->IHTMLStyleSheetsCollection_iface; *ppv = &This->IHTMLStyleSheetsCollection_iface;
}else if(IsEqualGUID(&IID_IHTMLStyleSheetsCollection, riid)) { }else if(IsEqualGUID(&IID_IHTMLStyleSheetsCollection, riid)) {
*ppv = &This->IHTMLStyleSheetsCollection_iface; *ppv = &This->IHTMLStyleSheetsCollection_iface;
}else if(dispex_query_interface(&This->dispex, riid, ppv)) { }else if(dispex_query_interface_no_cc(&This->dispex, riid, ppv)) {
return *ppv ? S_OK : E_NOINTERFACE; return *ppv ? S_OK : E_NOINTERFACE;
}else { }else {
*ppv = NULL; *ppv = NULL;
...@@ -986,7 +986,7 @@ static HRESULT WINAPI HTMLStyleSheet_QueryInterface(IHTMLStyleSheet *iface, REFI ...@@ -986,7 +986,7 @@ static HRESULT WINAPI HTMLStyleSheet_QueryInterface(IHTMLStyleSheet *iface, REFI
*ppv = &This->IHTMLStyleSheet_iface; *ppv = &This->IHTMLStyleSheet_iface;
}else if(IsEqualGUID(&IID_IHTMLStyleSheet4, riid)) { }else if(IsEqualGUID(&IID_IHTMLStyleSheet4, riid)) {
*ppv = &This->IHTMLStyleSheet4_iface; *ppv = &This->IHTMLStyleSheet4_iface;
}else if(dispex_query_interface(&This->dispex, riid, ppv)) { }else if(dispex_query_interface_no_cc(&This->dispex, riid, ppv)) {
return *ppv ? S_OK : E_NOINTERFACE; return *ppv ? S_OK : E_NOINTERFACE;
}else { }else {
*ppv = NULL; *ppv = NULL;
......
...@@ -427,7 +427,7 @@ extern void (__cdecl *note_cc_edge)(nsISupports*,const char*,nsCycleCollectionTr ...@@ -427,7 +427,7 @@ extern void (__cdecl *note_cc_edge)(nsISupports*,const char*,nsCycleCollectionTr
void init_dispatch(DispatchEx*,IUnknown*,dispex_static_data_t*,compat_mode_t); void init_dispatch(DispatchEx*,IUnknown*,dispex_static_data_t*,compat_mode_t);
void release_dispex(DispatchEx*); void release_dispex(DispatchEx*);
BOOL dispex_query_interface(DispatchEx*,REFIID,void**); BOOL dispex_query_interface_no_cc(DispatchEx*,REFIID,void**);
HRESULT change_type(VARIANT*,VARIANT*,VARTYPE,IServiceProvider*); HRESULT change_type(VARIANT*,VARIANT*,VARTYPE,IServiceProvider*);
HRESULT dispex_get_dprop_ref(DispatchEx*,const WCHAR*,BOOL,VARIANT**); HRESULT dispex_get_dprop_ref(DispatchEx*,const WCHAR*,BOOL,VARIANT**);
HRESULT get_dispids(tid_t,DWORD*,DISPID**); HRESULT get_dispids(tid_t,DWORD*,DISPID**);
......
...@@ -1098,7 +1098,7 @@ static HRESULT WINAPI MutationObserver_QueryInterface(IWineMSHTMLMutationObserve ...@@ -1098,7 +1098,7 @@ static HRESULT WINAPI MutationObserver_QueryInterface(IWineMSHTMLMutationObserve
if(IsEqualGUID(&IID_IUnknown, riid) || IsEqualGUID(&IID_IWineMSHTMLMutationObserver, riid)) { if(IsEqualGUID(&IID_IUnknown, riid) || IsEqualGUID(&IID_IWineMSHTMLMutationObserver, riid)) {
*ppv = &This->IWineMSHTMLMutationObserver_iface; *ppv = &This->IWineMSHTMLMutationObserver_iface;
} else if(dispex_query_interface(&This->dispex, riid, ppv)) { } else if(dispex_query_interface_no_cc(&This->dispex, riid, ppv)) {
return *ppv ? S_OK : E_NOINTERFACE; return *ppv ? S_OK : E_NOINTERFACE;
} else { } else {
WARN("(%p)->(%s %p)\n", This, debugstr_mshtml_guid(riid), ppv); WARN("(%p)->(%s %p)\n", This, debugstr_mshtml_guid(riid), ppv);
...@@ -1293,7 +1293,7 @@ static HRESULT WINAPI mutation_observer_ctor_QueryInterface(IUnknown *iface, REF ...@@ -1293,7 +1293,7 @@ static HRESULT WINAPI mutation_observer_ctor_QueryInterface(IUnknown *iface, REF
if(IsEqualGUID(&IID_IUnknown, riid)) { if(IsEqualGUID(&IID_IUnknown, riid)) {
*ppv = &This->IUnknown_iface; *ppv = &This->IUnknown_iface;
}else if(dispex_query_interface(&This->dispex, riid, ppv)) { }else if(dispex_query_interface_no_cc(&This->dispex, riid, ppv)) {
return *ppv ? S_OK : E_NOINTERFACE; return *ppv ? S_OK : E_NOINTERFACE;
}else { }else {
WARN("(%p)->(%s %p)\n", This, debugstr_mshtml_guid(riid), ppv); WARN("(%p)->(%s %p)\n", This, debugstr_mshtml_guid(riid), ppv);
......
...@@ -70,7 +70,7 @@ static HRESULT WINAPI HTMLDOMImplementation_QueryInterface(IHTMLDOMImplementatio ...@@ -70,7 +70,7 @@ static HRESULT WINAPI HTMLDOMImplementation_QueryInterface(IHTMLDOMImplementatio
*ppv = &This->IHTMLDOMImplementation_iface; *ppv = &This->IHTMLDOMImplementation_iface;
}else if(IsEqualGUID(&IID_IHTMLDOMImplementation2, riid)) { }else if(IsEqualGUID(&IID_IHTMLDOMImplementation2, riid)) {
*ppv = &This->IHTMLDOMImplementation2_iface; *ppv = &This->IHTMLDOMImplementation2_iface;
}else if(dispex_query_interface(&This->dispex, riid, ppv)) { }else if(dispex_query_interface_no_cc(&This->dispex, riid, ppv)) {
return *ppv ? S_OK : E_NOINTERFACE; return *ppv ? S_OK : E_NOINTERFACE;
}else { }else {
WARN("Unsupported interface %s\n", debugstr_mshtml_guid(riid)); WARN("Unsupported interface %s\n", debugstr_mshtml_guid(riid));
...@@ -389,7 +389,7 @@ static HRESULT WINAPI HTMLScreen_QueryInterface(IHTMLScreen *iface, REFIID riid, ...@@ -389,7 +389,7 @@ static HRESULT WINAPI HTMLScreen_QueryInterface(IHTMLScreen *iface, REFIID riid,
*ppv = &This->IHTMLScreen_iface; *ppv = &This->IHTMLScreen_iface;
}else if(IsEqualGUID(&IID_IHTMLScreen, riid)) { }else if(IsEqualGUID(&IID_IHTMLScreen, riid)) {
*ppv = &This->IHTMLScreen_iface; *ppv = &This->IHTMLScreen_iface;
}else if(dispex_query_interface(&This->dispex, riid, ppv)) { }else if(dispex_query_interface_no_cc(&This->dispex, riid, ppv)) {
return *ppv ? S_OK : E_NOINTERFACE; return *ppv ? S_OK : E_NOINTERFACE;
}else { }else {
*ppv = NULL; *ppv = NULL;
...@@ -627,7 +627,7 @@ static HRESULT WINAPI OmHistory_QueryInterface(IOmHistory *iface, REFIID riid, v ...@@ -627,7 +627,7 @@ static HRESULT WINAPI OmHistory_QueryInterface(IOmHistory *iface, REFIID riid, v
*ppv = &This->IOmHistory_iface; *ppv = &This->IOmHistory_iface;
}else if(IsEqualGUID(&IID_IOmHistory, riid)) { }else if(IsEqualGUID(&IID_IOmHistory, riid)) {
*ppv = &This->IOmHistory_iface; *ppv = &This->IOmHistory_iface;
}else if(dispex_query_interface(&This->dispex, riid, ppv)) { }else if(dispex_query_interface_no_cc(&This->dispex, riid, ppv)) {
return *ppv ? S_OK : E_NOINTERFACE; return *ppv ? S_OK : E_NOINTERFACE;
}else { }else {
WARN("Unsupported interface %s\n", debugstr_mshtml_guid(riid)); WARN("Unsupported interface %s\n", debugstr_mshtml_guid(riid));
...@@ -816,7 +816,7 @@ static HRESULT WINAPI HTMLPluginsCollection_QueryInterface(IHTMLPluginsCollectio ...@@ -816,7 +816,7 @@ static HRESULT WINAPI HTMLPluginsCollection_QueryInterface(IHTMLPluginsCollectio
*ppv = &This->IHTMLPluginsCollection_iface; *ppv = &This->IHTMLPluginsCollection_iface;
}else if(IsEqualGUID(&IID_IHTMLPluginsCollection, riid)) { }else if(IsEqualGUID(&IID_IHTMLPluginsCollection, riid)) {
*ppv = &This->IHTMLPluginsCollection_iface; *ppv = &This->IHTMLPluginsCollection_iface;
}else if(dispex_query_interface(&This->dispex, riid, ppv)) { }else if(dispex_query_interface_no_cc(&This->dispex, riid, ppv)) {
return *ppv ? S_OK : E_NOINTERFACE; return *ppv ? S_OK : E_NOINTERFACE;
}else { }else {
*ppv = NULL; *ppv = NULL;
...@@ -993,7 +993,7 @@ static HRESULT WINAPI HTMLMimeTypesCollection_QueryInterface(IHTMLMimeTypesColle ...@@ -993,7 +993,7 @@ static HRESULT WINAPI HTMLMimeTypesCollection_QueryInterface(IHTMLMimeTypesColle
*ppv = &This->IHTMLMimeTypesCollection_iface; *ppv = &This->IHTMLMimeTypesCollection_iface;
}else if(IsEqualGUID(&IID_IHTMLMimeTypesCollection, riid)) { }else if(IsEqualGUID(&IID_IHTMLMimeTypesCollection, riid)) {
*ppv = &This->IHTMLMimeTypesCollection_iface; *ppv = &This->IHTMLMimeTypesCollection_iface;
}else if(dispex_query_interface(&This->dispex, riid, ppv)) { }else if(dispex_query_interface_no_cc(&This->dispex, riid, ppv)) {
return *ppv ? S_OK : E_NOINTERFACE; return *ppv ? S_OK : E_NOINTERFACE;
}else { }else {
WARN("Unsupported interface %s\n", debugstr_mshtml_guid(riid)); WARN("Unsupported interface %s\n", debugstr_mshtml_guid(riid));
...@@ -1150,7 +1150,7 @@ static HRESULT WINAPI OmNavigator_QueryInterface(IOmNavigator *iface, REFIID rii ...@@ -1150,7 +1150,7 @@ static HRESULT WINAPI OmNavigator_QueryInterface(IOmNavigator *iface, REFIID rii
*ppv = &This->IOmNavigator_iface; *ppv = &This->IOmNavigator_iface;
}else if(IsEqualGUID(&IID_IOmNavigator, riid)) { }else if(IsEqualGUID(&IID_IOmNavigator, riid)) {
*ppv = &This->IOmNavigator_iface; *ppv = &This->IOmNavigator_iface;
}else if(dispex_query_interface(&This->dispex, riid, ppv)) { }else if(dispex_query_interface_no_cc(&This->dispex, riid, ppv)) {
return *ppv ? S_OK : E_NOINTERFACE; return *ppv ? S_OK : E_NOINTERFACE;
}else { }else {
WARN("Unsupported interface %s\n", debugstr_mshtml_guid(riid)); WARN("Unsupported interface %s\n", debugstr_mshtml_guid(riid));
...@@ -1599,7 +1599,7 @@ static HRESULT WINAPI HTMLPerformanceTiming_QueryInterface(IHTMLPerformanceTimin ...@@ -1599,7 +1599,7 @@ static HRESULT WINAPI HTMLPerformanceTiming_QueryInterface(IHTMLPerformanceTimin
*ppv = &This->IHTMLPerformanceTiming_iface; *ppv = &This->IHTMLPerformanceTiming_iface;
}else if(IsEqualGUID(&IID_IHTMLPerformanceTiming, riid)) { }else if(IsEqualGUID(&IID_IHTMLPerformanceTiming, riid)) {
*ppv = &This->IHTMLPerformanceTiming_iface; *ppv = &This->IHTMLPerformanceTiming_iface;
}else if(dispex_query_interface(&This->dispex, riid, ppv)) { }else if(dispex_query_interface_no_cc(&This->dispex, riid, ppv)) {
return *ppv ? S_OK : E_NOINTERFACE; return *ppv ? S_OK : E_NOINTERFACE;
}else { }else {
WARN("Unsupported interface %s\n", debugstr_mshtml_guid(riid)); WARN("Unsupported interface %s\n", debugstr_mshtml_guid(riid));
...@@ -2006,7 +2006,7 @@ static HRESULT WINAPI HTMLPerformanceNavigation_QueryInterface(IHTMLPerformanceN ...@@ -2006,7 +2006,7 @@ static HRESULT WINAPI HTMLPerformanceNavigation_QueryInterface(IHTMLPerformanceN
*ppv = &This->IHTMLPerformanceNavigation_iface; *ppv = &This->IHTMLPerformanceNavigation_iface;
}else if(IsEqualGUID(&IID_IHTMLPerformanceNavigation, riid)) { }else if(IsEqualGUID(&IID_IHTMLPerformanceNavigation, riid)) {
*ppv = &This->IHTMLPerformanceNavigation_iface; *ppv = &This->IHTMLPerformanceNavigation_iface;
}else if(dispex_query_interface(&This->dispex, riid, ppv)) { }else if(dispex_query_interface_no_cc(&This->dispex, riid, ppv)) {
return *ppv ? S_OK : E_NOINTERFACE; return *ppv ? S_OK : E_NOINTERFACE;
}else { }else {
WARN("Unsupported interface %s\n", debugstr_mshtml_guid(riid)); WARN("Unsupported interface %s\n", debugstr_mshtml_guid(riid));
...@@ -2188,7 +2188,7 @@ static HRESULT WINAPI HTMLPerformance_QueryInterface(IHTMLPerformance *iface, RE ...@@ -2188,7 +2188,7 @@ static HRESULT WINAPI HTMLPerformance_QueryInterface(IHTMLPerformance *iface, RE
*ppv = &This->IHTMLPerformance_iface; *ppv = &This->IHTMLPerformance_iface;
}else if(IsEqualGUID(&IID_IHTMLPerformance, riid)) { }else if(IsEqualGUID(&IID_IHTMLPerformance, riid)) {
*ppv = &This->IHTMLPerformance_iface; *ppv = &This->IHTMLPerformance_iface;
}else if(dispex_query_interface(&This->dispex, riid, ppv)) { }else if(dispex_query_interface_no_cc(&This->dispex, riid, ppv)) {
return *ppv ? S_OK : E_NOINTERFACE; return *ppv ? S_OK : E_NOINTERFACE;
}else { }else {
WARN("Unsupported interface %s\n", debugstr_mshtml_guid(riid)); WARN("Unsupported interface %s\n", debugstr_mshtml_guid(riid));
...@@ -2412,7 +2412,7 @@ static HRESULT WINAPI HTMLNamespaceCollection_QueryInterface(IHTMLNamespaceColle ...@@ -2412,7 +2412,7 @@ static HRESULT WINAPI HTMLNamespaceCollection_QueryInterface(IHTMLNamespaceColle
*ppv = &This->IHTMLNamespaceCollection_iface; *ppv = &This->IHTMLNamespaceCollection_iface;
}else if(IsEqualGUID(&IID_IHTMLNamespaceCollection, riid)) { }else if(IsEqualGUID(&IID_IHTMLNamespaceCollection, riid)) {
*ppv = &This->IHTMLNamespaceCollection_iface; *ppv = &This->IHTMLNamespaceCollection_iface;
}else if(dispex_query_interface(&This->dispex, riid, ppv)) { }else if(dispex_query_interface_no_cc(&This->dispex, riid, ppv)) {
return *ppv ? S_OK : E_NOINTERFACE; return *ppv ? S_OK : E_NOINTERFACE;
}else { }else {
WARN("Unsupported interface %s\n", debugstr_mshtml_guid(riid)); WARN("Unsupported interface %s\n", debugstr_mshtml_guid(riid));
...@@ -2580,7 +2580,7 @@ static HRESULT WINAPI console_QueryInterface(IWineMSHTMLConsole *iface, REFIID r ...@@ -2580,7 +2580,7 @@ static HRESULT WINAPI console_QueryInterface(IWineMSHTMLConsole *iface, REFIID r
*ppv = &console->IWineMSHTMLConsole_iface; *ppv = &console->IWineMSHTMLConsole_iface;
}else if(IsEqualGUID(&IID_IWineMSHTMLConsole, riid)) { }else if(IsEqualGUID(&IID_IWineMSHTMLConsole, riid)) {
*ppv = &console->IWineMSHTMLConsole_iface; *ppv = &console->IWineMSHTMLConsole_iface;
}else if(dispex_query_interface(&console->dispex, riid, ppv)) { }else if(dispex_query_interface_no_cc(&console->dispex, riid, ppv)) {
return *ppv ? S_OK : E_NOINTERFACE; return *ppv ? S_OK : E_NOINTERFACE;
}else { }else {
WARN("(%p)->(%s %p)\n", console, debugstr_mshtml_guid(riid), ppv); WARN("(%p)->(%s %p)\n", console, debugstr_mshtml_guid(riid), ppv);
...@@ -2865,7 +2865,7 @@ static HRESULT WINAPI media_query_list_QueryInterface(IWineMSHTMLMediaQueryList ...@@ -2865,7 +2865,7 @@ static HRESULT WINAPI media_query_list_QueryInterface(IWineMSHTMLMediaQueryList
if(IsEqualGUID(&IID_IUnknown, riid) || IsEqualGUID(&IID_IWineMSHTMLMediaQueryList, riid)) { if(IsEqualGUID(&IID_IUnknown, riid) || IsEqualGUID(&IID_IWineMSHTMLMediaQueryList, riid)) {
*ppv = &media_query_list->IWineMSHTMLMediaQueryList_iface; *ppv = &media_query_list->IWineMSHTMLMediaQueryList_iface;
}else if(dispex_query_interface(&media_query_list->dispex, riid, ppv)) { }else if(dispex_query_interface_no_cc(&media_query_list->dispex, riid, ppv)) {
return *ppv ? S_OK : E_NOINTERFACE; return *ppv ? S_OK : E_NOINTERFACE;
}else { }else {
*ppv = NULL; *ppv = NULL;
......
...@@ -826,7 +826,7 @@ static HRESULT WINAPI HTMLTxtRange_QueryInterface(IHTMLTxtRange *iface, REFIID r ...@@ -826,7 +826,7 @@ static HRESULT WINAPI HTMLTxtRange_QueryInterface(IHTMLTxtRange *iface, REFIID r
*ppv = &This->IHTMLTxtRange_iface; *ppv = &This->IHTMLTxtRange_iface;
}else if(IsEqualGUID(&IID_IOleCommandTarget, riid)) { }else if(IsEqualGUID(&IID_IOleCommandTarget, riid)) {
*ppv = &This->IOleCommandTarget_iface; *ppv = &This->IOleCommandTarget_iface;
}else if(dispex_query_interface(&This->dispex, riid, ppv)) { }else if(dispex_query_interface_no_cc(&This->dispex, riid, ppv)) {
return *ppv ? S_OK : E_NOINTERFACE; return *ppv ? S_OK : E_NOINTERFACE;
}else { }else {
*ppv = NULL; *ppv = NULL;
...@@ -1790,7 +1790,7 @@ static HRESULT WINAPI HTMLDOMRange_QueryInterface(IHTMLDOMRange *iface, REFIID r ...@@ -1790,7 +1790,7 @@ static HRESULT WINAPI HTMLDOMRange_QueryInterface(IHTMLDOMRange *iface, REFIID r
*ppv = &This->IHTMLDOMRange_iface; *ppv = &This->IHTMLDOMRange_iface;
}else if(IsEqualGUID(&IID_IHTMLDOMRange, riid)) { }else if(IsEqualGUID(&IID_IHTMLDOMRange, riid)) {
*ppv = &This->IHTMLDOMRange_iface; *ppv = &This->IHTMLDOMRange_iface;
}else if(dispex_query_interface(&This->dispex, riid, ppv)) { }else if(dispex_query_interface_no_cc(&This->dispex, riid, ppv)) {
return *ppv ? S_OK : E_NOINTERFACE; return *ppv ? S_OK : E_NOINTERFACE;
}else { }else {
*ppv = NULL; *ppv = NULL;
......
...@@ -64,7 +64,7 @@ static HRESULT WINAPI HTMLSelectionObject_QueryInterface(IHTMLSelectionObject *i ...@@ -64,7 +64,7 @@ static HRESULT WINAPI HTMLSelectionObject_QueryInterface(IHTMLSelectionObject *i
*ppv = &This->IHTMLSelectionObject_iface; *ppv = &This->IHTMLSelectionObject_iface;
}else if(IsEqualGUID(&IID_IHTMLSelectionObject2, riid)) { }else if(IsEqualGUID(&IID_IHTMLSelectionObject2, riid)) {
*ppv = &This->IHTMLSelectionObject2_iface; *ppv = &This->IHTMLSelectionObject2_iface;
}else if(dispex_query_interface(&This->dispex, riid, ppv)) { }else if(dispex_query_interface_no_cc(&This->dispex, riid, ppv)) {
return *ppv ? S_OK : E_NOINTERFACE; return *ppv ? S_OK : E_NOINTERFACE;
}else { }else {
*ppv = NULL; *ppv = NULL;
......
...@@ -1632,7 +1632,7 @@ static HRESULT WINAPI HTMLXMLHttpRequestFactory_QueryInterface(IHTMLXMLHttpReque ...@@ -1632,7 +1632,7 @@ static HRESULT WINAPI HTMLXMLHttpRequestFactory_QueryInterface(IHTMLXMLHttpReque
*ppv = &This->IHTMLXMLHttpRequestFactory_iface; *ppv = &This->IHTMLXMLHttpRequestFactory_iface;
}else if(IsEqualGUID(&IID_IHTMLXMLHttpRequestFactory, riid)) { }else if(IsEqualGUID(&IID_IHTMLXMLHttpRequestFactory, riid)) {
*ppv = &This->IHTMLXMLHttpRequestFactory_iface; *ppv = &This->IHTMLXMLHttpRequestFactory_iface;
}else if(dispex_query_interface(&This->dispex, riid, ppv)) { }else if(dispex_query_interface_no_cc(&This->dispex, riid, ppv)) {
return *ppv ? S_OK : E_NOINTERFACE; return *ppv ? S_OK : E_NOINTERFACE;
}else { }else {
*ppv = NULL; *ppv = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment