wine/dlls/ole32 defaulthandler.c
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Nov 28 05:05:00 CST 2005
ChangeSet ID: 21481
CVSROOT: /opt/cvs-commit
Module name: wine
Changes by: julliard at winehq.org 2005/11/28 05:05:00
Modified files:
dlls/ole32 : defaulthandler.c
Log message:
Robert Shearman <rob at codeweavers.com>
Implement IOleObject_DoVerb function by running the object and then
delegating to the remote IOleObject_DoVerb function.
Patch: http://cvs.winehq.org/patch.py?id=21481
Old revision New revision Changes Path
1.38 1.39 +11 -2 wine/dlls/ole32/defaulthandler.c
Index: wine/dlls/ole32/defaulthandler.c
diff -u -p wine/dlls/ole32/defaulthandler.c:1.38 wine/dlls/ole32/defaulthandler.c:1.39
--- wine/dlls/ole32/defaulthandler.c:1.38 28 Nov 2005 11: 5: 0 -0000
+++ wine/dlls/ole32/defaulthandler.c 28 Nov 2005 11: 5: 0 -0000
@@ -575,8 +575,17 @@ static HRESULT WINAPI DefaultHandler_DoV
HWND hwndParent,
LPCRECT lprcPosRect)
{
- FIXME(": Stub\n");
- return E_NOTIMPL;
+ DefaultHandler *This = impl_from_IOleObject(iface);
+ IRunnableObject *pRunnableObj = (IRunnableObject *)&This->lpvtblIRunnableObject;
+ HRESULT hr;
+
+ TRACE("(%ld, %p, %p, %ld, %p, %s)\n", iVerb, lpmsg, pActiveSite, lindex, hwndParent, wine_dbgstr_rect(lprcPosRect));
+
+ hr = IRunnableObject_Run(pRunnableObj, NULL);
+ if (FAILED(hr)) return hr;
+
+ return IOleObject_DoVerb(This->pOleDelegate, iVerb, lpmsg, pActiveSite,
+ lindex, hwndParent, lprcPosRect);
}
/************************************************************************
More information about the wine-cvs
mailing list