[PATCH v2 4/5] ieframe: IOleObject::Close() should notify OnClose() advise sink.
29 Jul
2020
29 Jul
'20
8:57 a.m.
Signed-off-by: Dmitry Timoshkov <dmitry(a)baikal.ru> --- dlls/ieframe/oleobject.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dlls/ieframe/oleobject.c b/dlls/ieframe/oleobject.c index a3fa645334..031994caa5 100644 --- a/dlls/ieframe/oleobject.c +++ b/dlls/ieframe/oleobject.c @@ -610,6 +610,10 @@ static HRESULT WINAPI OleObject_Close(IOleObject *iface, DWORD dwSaveOption) IOleClientSite_AddRef(This->client); hres = IOleObject_SetClientSite(iface, NULL); This->client_closed = client; + + if(This->advise_holder) + IOleAdviseHolder_SendOnClose(This->advise_holder); + return hres; } -- 2.26.2
1965
Age (days ago)
1965
Last active (days ago)
1 comments
2 participants
participants (2)
-
Dmitry Timoshkov -
Jacek Caban