mshtml: Silence common invalid FIXME.
This commit is contained in:
parent
4fdbdaf0b9
commit
4171385cd9
|
@ -134,6 +134,9 @@ static HRESULT WINAPI HTMLDocument_QueryInterface(IHTMLDocument2 *iface, REFIID
|
|||
}else if(IsEqualGUID(&IID_IRunnableObject, riid)) {
|
||||
TRACE("(%p)->(IID_IRunnableObject %p) returning NULL\n", This, ppvObject);
|
||||
return E_NOINTERFACE;
|
||||
}else if(IsEqualGUID(&IID_IPersistPropertyBag, riid)) {
|
||||
TRACE("(%p)->(IID_IPersistPropertyBag %p) returning NULL\n", This, ppvObject);
|
||||
return E_NOINTERFACE;
|
||||
}else if(dispex_query_interface(&This->dispex, riid, ppvObject)) {
|
||||
return *ppvObject ? S_OK : E_NOINTERFACE;
|
||||
}
|
||||
|
|
|
@ -3719,6 +3719,11 @@ static void test_QueryInterface(IUnknown *unk)
|
|||
ok(hres == E_NOINTERFACE, "QueryInterface returned %08x, expected E_NOINTERFACE\n", hres);
|
||||
ok(qi == NULL, "qi=%p, ezpected NULL\n", qi);
|
||||
|
||||
qi = (void*)0xdeadbeef;
|
||||
hres = IUnknown_QueryInterface(unk, &IID_IPersistPropertyBag, (void**)&qi);
|
||||
ok(hres == E_NOINTERFACE, "QueryInterface returned %08x, expected E_NOINTERFACE\n", hres);
|
||||
ok(qi == NULL, "qi=%p, ezpected NULL\n", qi);
|
||||
|
||||
qi = (void*)0xdeadbeef;
|
||||
hres = IUnknown_QueryInterface(unk, &IID_UndocumentedScriptIface, (void**)&qi);
|
||||
ok(hres == E_NOINTERFACE, "QueryInterface returned %08x, expected E_NOINTERFACE\n", hres);
|
||||
|
|
Loading…
Reference in New Issue