Huw Davies : ole32: Call the object's IOleObject_IsUpToData() if the object is running.
Alexandre Julliard
julliard at winehq.org
Tue Oct 21 07:07:05 CDT 2008
Module: wine
Branch: master
Commit: ed28886f9dca9104cdf412dd9928245383c3a6d3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ed28886f9dca9104cdf412dd9928245383c3a6d3
Author: Huw Davies <huw at codeweavers.com>
Date: Mon Oct 20 14:51:39 2008 +0100
ole32: Call the object's IOleObject_IsUpToData() if the object is running.
---
dlls/ole32/defaulthandler.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/dlls/ole32/defaulthandler.c b/dlls/ole32/defaulthandler.c
index 899ae41..87eb932 100644
--- a/dlls/ole32/defaulthandler.c
+++ b/dlls/ole32/defaulthandler.c
@@ -642,9 +642,13 @@ static HRESULT WINAPI DefaultHandler_Update(
static HRESULT WINAPI DefaultHandler_IsUpToDate(
IOleObject* iface)
{
- TRACE("(%p)\n", iface);
+ DefaultHandler *This = impl_from_IOleObject(iface);
+ TRACE("(%p)\n", iface);
- return OLE_E_NOTRUNNING;
+ if (object_is_running(This))
+ return IOleObject_IsUpToDate(This->pOleDelegate);
+
+ return OLE_E_NOTRUNNING;
}
/************************************************************************
More information about the wine-cvs
mailing list