Huw Davies : ole32: Partial implementation of IOleObject_Update().

Alexandre Julliard julliard at winehq.org
Tue Oct 21 07:07:04 CDT 2008


Module: wine
Branch: master
Commit: f2cf617f006e2184fd7c3956606041221ae0dbca
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=f2cf617f006e2184fd7c3956606041221ae0dbca

Author: Huw Davies <huw at codeweavers.com>
Date:   Mon Oct 20 14:45:56 2008 +0100

ole32: Partial implementation of IOleObject_Update().

---

 dlls/ole32/defaulthandler.c |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/dlls/ole32/defaulthandler.c b/dlls/ole32/defaulthandler.c
index fcff476..a744718 100644
--- a/dlls/ole32/defaulthandler.c
+++ b/dlls/ole32/defaulthandler.c
@@ -621,8 +621,15 @@ static HRESULT WINAPI DefaultHandler_EnumVerbs(
 static HRESULT WINAPI DefaultHandler_Update(
 	    IOleObject*        iface)
 {
-  FIXME(": Stub\n");
-  return E_NOTIMPL;
+    DefaultHandler *This = impl_from_IOleObject(iface);
+    TRACE("(%p)\n", iface);
+
+    if (!object_is_running(This))
+    {
+        FIXME("Should run object\n");
+        return E_NOTIMPL;
+    }
+    return IOleObject_Update(This->pOleDelegate);
 }
 
 /************************************************************************




More information about the wine-cvs mailing list