Based on ole32/defaulthandler.c implementation.
Signed-off-by: Dmitry Timoshkov dmitry@baikal.ru --- dlls/ieframe/oleobject.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/dlls/ieframe/oleobject.c b/dlls/ieframe/oleobject.c index face9d16e9..a3fdc060a8 100644 --- a/dlls/ieframe/oleobject.c +++ b/dlls/ieframe/oleobject.c @@ -791,7 +791,17 @@ static HRESULT WINAPI OleObject_Unadvise(IOleObject *iface, DWORD dwConnection) static HRESULT WINAPI OleObject_EnumAdvise(IOleObject *iface, IEnumSTATDATA **ppenumAdvise) { WebBrowser *This = impl_from_IOleObject(iface); - FIXME("(%p)->(%p)\n", This, ppenumAdvise); + + TRACE("(%p)->(%p)\n", This, ppenumAdvise); + + if(!ppenumAdvise) + return E_POINTER; + + *ppenumAdvise = NULL; + + if(This->advise_holder) + return IOleAdviseHolder_EnumAdvise(This->advise_holder, ppenumAdvise); + return S_OK; }