From: Jacek Caban Subject: mshtml: Ignore QI(&IID_IWebBrowserPriv2IE8XP) calls. Message-Id: <52936B13.3050007@codeweavers.com> Date: Mon, 25 Nov 2013 16:21:55 +0100 With this patch, most failures are fixed. There are some crashes left to fix. --- dlls/mshtml/tests/htmldoc.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dlls/mshtml/tests/htmldoc.c b/dlls/mshtml/tests/htmldoc.c index 1e872f3..c3990bf 100644 --- a/dlls/mshtml/tests/htmldoc.c +++ b/dlls/mshtml/tests/htmldoc.c @@ -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; }