Module: wine Branch: refs/heads/master Commit: a9cdfa99527197ec102dfcee92179bab4a4f59e9 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=a9cdfa99527197ec102dfcee...
Author: Jacek Caban jacek@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,