mshtml/tests: Ignore QI(&IID_IWebBrowserPriv2IE8XP) calls.

oldstable
Jacek Caban 2013-11-25 16:21:55 +01:00 committed by Alexandre Julliard
parent d1cda1d4be
commit b1367f8a2c
1 changed files with 7 additions and 0 deletions

View File

@ -4947,6 +4947,8 @@ static IWebBrowser2 WebBrowser2 = { &WebBrowser2Vtbl };
static HRESULT wb_qi(REFIID riid, void **ppv)
{
static const IID IID_IWebBrowserPriv2IE8XP = {0x486f6159,0x9f3f,0x4827,{0x82,0xd4,0x28,0x3c,0xef,0x39,0x77,0x33}};
*ppv = NULL;
if(IsEqualGUID(&IID_IUnknown, riid) || IsEqualGUID(&IID_IWebBrowser, riid)
@ -4973,6 +4975,11 @@ static HRESULT wb_qi(REFIID riid, void **ppv)
return S_OK;
}
if(IsEqualGUID(riid, &IID_IWebBrowserPriv2IE8XP)) {
trace("QI(IID_IWebBrowserPriv2IE8XP)\n");
return E_NOINTERFACE;
}
ok(0, "unexpected call %s\n", debugstr_guid(riid));
return E_NOINTERFACE;
}