Alistair Leslie-Hughes : msxml3: Suppress IID_IRunnableObject FIXME since its not supported.

Alexandre Julliard julliard at winehq.org
Wed Jan 9 07:02:10 CST 2008


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

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Wed Jan  9 12:26:51 2008 +1100

msxml3: Suppress IID_IRunnableObject FIXME since its not supported.

---

 dlls/msxml3/domdoc.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/dlls/msxml3/domdoc.c b/dlls/msxml3/domdoc.c
index 60a65d0..856fcb0 100644
--- a/dlls/msxml3/domdoc.c
+++ b/dlls/msxml3/domdoc.c
@@ -345,6 +345,8 @@ static HRESULT WINAPI domdoc_QueryInterface( IXMLDOMDocument2 *iface, REFIID rii
 
     TRACE("%p %s %p\n", This, debugstr_guid( riid ), ppvObject );
 
+    *ppvObject = NULL;
+
     if ( IsEqualGUID( riid, &IID_IUnknown ) ||
          IsEqualGUID( riid, &IID_IXMLDOMDocument ) ||
          IsEqualGUID( riid, &IID_IXMLDOMDocument2 ) )
@@ -360,6 +362,11 @@ static HRESULT WINAPI domdoc_QueryInterface( IXMLDOMDocument2 *iface, REFIID rii
     {
         *ppvObject = (IPersistStream*)&(This->lpvtblIPersistStream);
     }
+    else if(IsEqualGUID(&IID_IRunnableObject, riid))
+    {
+        TRACE("IID_IRunnableObject not supported returning NULL\n");
+        return E_NOINTERFACE;
+    }
     else
     {
         FIXME("interface %s not implemented\n", debugstr_guid(riid));




More information about the wine-cvs mailing list