Jacek Caban : mshtml: Ignore &IID_IWebBrowserPriv2IE7 in wb_qi.

Alexandre Julliard julliard at winehq.org
Thu Apr 10 12:21:29 CDT 2014


Module: wine
Branch: master
Commit: e3383d1739f0a3ff9ebf1975f2cf6418bf125c2f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e3383d1739f0a3ff9ebf1975f2cf6418bf125c2f

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Thu Apr 10 17:14:50 2014 +0200

mshtml: Ignore &IID_IWebBrowserPriv2IE7 in wb_qi.

---

 dlls/mshtml/tests/htmldoc.c |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/dlls/mshtml/tests/htmldoc.c b/dlls/mshtml/tests/htmldoc.c
index 313fb78..bad7291 100644
--- a/dlls/mshtml/tests/htmldoc.c
+++ b/dlls/mshtml/tests/htmldoc.c
@@ -4977,6 +4977,7 @@ static IWebBrowser2 WebBrowser2 = { &WebBrowser2Vtbl };
 
 static HRESULT wb_qi(REFIID riid, void **ppv)
 {
+    static const IID IID_IWebBrowserPriv2IE7 = {0x1af32b6c, 0xa3ba,0x48b9,{0xb2,0x4e,0x8a,0xa9,0xc4,0x1f,0x6e,0xcd}};
     static const IID IID_IWebBrowserPriv2IE8XP = {0x486f6159,0x9f3f,0x4827,{0x82,0xd4,0x28,0x3c,0xef,0x39,0x77,0x33}};
 
     *ppv = NULL;
@@ -5006,6 +5007,11 @@ static HRESULT wb_qi(REFIID riid, void **ppv)
         return S_OK;
     }
 
+    if(IsEqualGUID(riid, &IID_IWebBrowserPriv2IE7)) {
+        trace("QI(IID_IWebBrowserPriv2IE7)\n");
+        return E_NOINTERFACE;
+    }
+
     if(IsEqualGUID(riid, &IID_IWebBrowserPriv2IE8XP)) {
         trace("QI(IID_IWebBrowserPriv2IE8XP)\n");
         return E_NOINTERFACE;




More information about the wine-cvs mailing list