Jacek Caban : mshtml: Added GetConnectionPointContainer implementation.

Alexandre Julliard julliard at wine.codeweavers.com
Fri May 5 12:10:34 CDT 2006


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Fri Apr 28 20:02:14 2006 +0200

mshtml: Added GetConnectionPointContainer implementation.

---

 dlls/mshtml/conpoint.c |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/dlls/mshtml/conpoint.c b/dlls/mshtml/conpoint.c
index 0ea47d0..a2eaf57 100644
--- a/dlls/mshtml/conpoint.c
+++ b/dlls/mshtml/conpoint.c
@@ -91,8 +91,15 @@ static HRESULT WINAPI ConnectionPoint_Ge
         IConnectionPointContainer **ppCPC)
 {
     ConnectionPoint *This = CONPOINT_THIS(iface);
-    FIXME("(%p)->(%p)\n", This, ppCPC);
-    return E_NOTIMPL;
+
+    TRACE("(%p)->(%p)\n", This, ppCPC);
+
+    if(!ppCPC)
+        return E_POINTER;
+
+    *ppCPC = CONPTCONT(This->doc);
+    IConnectionPointContainer_AddRef(*ppCPC);
+    return S_OK;
 }
 
 static HRESULT WINAPI ConnectionPoint_Advise(IConnectionPoint *iface, IUnknown *pUnkSink,




More information about the wine-cvs mailing list