Implement IOleObject_DoVerb function by running the object and then
delegating to the remote IOleObject_DoVerb function.
This commit is contained in:
parent
5ed6dc2c1b
commit
5f7bb17cf4
|
@ -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);
|
||||
}
|
||||
|
||||
/************************************************************************
|
||||
|
|
Loading…
Reference in New Issue