Based on ole32/defaulthandler.c implementation.
Signed-off-by: Dmitry Timoshkov dmitry@baikal.ru --- dlls/ieframe/view.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/dlls/ieframe/view.c b/dlls/ieframe/view.c index 7bd9429c3d..f7b0765a5a 100644 --- a/dlls/ieframe/view.c +++ b/dlls/ieframe/view.c @@ -233,8 +233,13 @@ static HRESULT WINAPI DataObject_DAdvise(LPDATAOBJECT iface, FORMATETC *pformate static HRESULT WINAPI DataObject_DUnadvise(LPDATAOBJECT iface, DWORD dwConnection) { WebBrowser *This = impl_from_IDataObject(iface); - FIXME("(%p)->()\n", This); - return E_NOTIMPL; + + TRACE("(%p)->(%d)\n", This, dwConnection); + + if(!This->data_advise_holder) + return OLE_E_NOCONNECTION; + + return IDataAdviseHolder_Unadvise(This->data_advise_holder, dwConnection); }
static HRESULT WINAPI DataObject_EnumDAdvise(LPDATAOBJECT iface, IEnumSTATDATA **ppenumAdvise)