mshtml: Ignore IDispatchJS in QueryInterface.
This commit is contained in:
parent
e80c55c367
commit
b54f449e2d
|
@ -655,6 +655,8 @@ BOOL dispex_query_interface(DispatchEx *This, REFIID riid, void **ppv)
|
|||
{
|
||||
static const IID IID_UndocumentedScriptIface =
|
||||
{0x719c3050,0xf9d3,0x11cf,{0xa4,0x93,0x00,0x40,0x05,0x23,0xa8,0xa0}};
|
||||
static const IID IID_IDispatchJS =
|
||||
{0x719c3050,0xf9d3,0x11cf,{0xa4,0x93,0x00,0x40,0x05,0x23,0xa8,0xa6}};
|
||||
|
||||
if(IsEqualGUID(&IID_IDispatch, riid)) {
|
||||
TRACE("(%p)->(IID_IDispatch %p)\n", This, ppv);
|
||||
|
@ -662,6 +664,9 @@ BOOL dispex_query_interface(DispatchEx *This, REFIID riid, void **ppv)
|
|||
}else if(IsEqualGUID(&IID_IDispatchEx, riid)) {
|
||||
TRACE("(%p)->(IID_IDispatchEx %p)\n", This, ppv);
|
||||
*ppv = DISPATCHEX(This);
|
||||
}else if(IsEqualGUID(&IID_IDispatchJS, riid)) {
|
||||
TRACE("(%p)->(IID_IDispatchJS %p) returning NULL\n", This, ppv);
|
||||
*ppv = NULL;
|
||||
}else if(IsEqualGUID(&IID_UndocumentedScriptIface, riid)) {
|
||||
TRACE("(%p)->(IID_UndocumentedScriptIface %p) returning NULL\n", This, ppv);
|
||||
*ppv = NULL;
|
||||
|
|
Loading…
Reference in New Issue