[PATCH 03/12] Add ::GetConnectionInterface()

Nikolay Sivov nsivov at codeweavers.com
Sat Oct 23 08:31:52 CDT 2010


---
 dlls/msxml3/domdoc.c |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/dlls/msxml3/domdoc.c b/dlls/msxml3/domdoc.c
index e594224..f574cbe 100644
--- a/dlls/msxml3/domdoc.c
+++ b/dlls/msxml3/domdoc.c
@@ -2888,11 +2888,16 @@ static ULONG WINAPI ConnectionPoint_Release(IConnectionPoint *iface)
     return IConnectionPointContainer_Release(This->container);
 }
 
-static HRESULT WINAPI ConnectionPoint_GetConnectionInterface(IConnectionPoint *iface, IID *pIID)
+static HRESULT WINAPI ConnectionPoint_GetConnectionInterface(IConnectionPoint *iface, IID *iid)
 {
     ConnectionPoint *This = impl_from_IConnectionPoint(iface);
-    FIXME("(%p)->(%p): stub\n", This, pIID);
-    return E_NOTIMPL;
+
+    TRACE("(%p)->(%p)\n", This, iid);
+
+    if (!iid) return E_POINTER;
+
+    *iid = *This->iid;
+    return S_OK;
 }
 
 static HRESULT WINAPI ConnectionPoint_GetConnectionPointContainer(IConnectionPoint *iface,
-- 
1.5.6.5



--------------040102010609050106090601--



More information about the wine-patches mailing list