Implement IOleObject_DoVerb function by running the object and then

delegating to the remote IOleObject_DoVerb function.
This commit is contained in:
Robert Shearman 2005-11-28 11:24:31 +01:00 committed by Alexandre Julliard
parent 5ed6dc2c1b
commit 5f7bb17cf4
1 changed files with 11 additions and 2 deletions

View File

@ -575,8 +575,17 @@ static HRESULT WINAPI DefaultHandler_DoVerb(
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);
}
/************************************************************************