[PATCH] Suppress IID_IRunnableObject FIXME since its not supported
Alistair Leslie-Hughes
leslie_alistair at hotmail.com
Tue Jan 8 19:26:51 CST 2008
---
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 d955926..e60fc74 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));
--
1.5.3.7
--------------010106080703030406080800--
More information about the wine-patches
mailing list