shdocvw: WebBrowser_get_Busy implementation.
This commit is contained in:
parent
fd69ababec
commit
473010268d
|
@ -78,6 +78,7 @@ static void navigate_complete(DocHost *This)
|
|||
SysFreeString(V_BSTR(&url));
|
||||
if(disp)
|
||||
IDispatch_Release(disp);
|
||||
This->busy = VARIANT_FALSE;
|
||||
}
|
||||
|
||||
void object_available(DocHost *This)
|
||||
|
|
|
@ -427,6 +427,8 @@ static void on_before_navigate2(DocHost *This, LPCWSTR url, const BYTE *post_dat
|
|||
dispparams.rgdispidNamedArgs = NULL;
|
||||
dispparams.rgvarg = params;
|
||||
|
||||
This->busy = VARIANT_TRUE;
|
||||
|
||||
V_VT(params) = VT_BOOL|VT_BYREF;
|
||||
V_BOOLREF(params) = cancel;
|
||||
|
||||
|
|
|
@ -99,6 +99,7 @@ struct DocHost {
|
|||
|
||||
VARIANT_BOOL silent;
|
||||
VARIANT_BOOL offline;
|
||||
VARIANT_BOOL busy;
|
||||
|
||||
ConnectionPointContainer cps;
|
||||
};
|
||||
|
|
|
@ -462,8 +462,11 @@ static HRESULT WINAPI WebBrowser_get_LocationURL(IWebBrowser2 *iface, BSTR *Loca
|
|||
static HRESULT WINAPI WebBrowser_get_Busy(IWebBrowser2 *iface, VARIANT_BOOL *pBool)
|
||||
{
|
||||
WebBrowser *This = WEBBROWSER_THIS(iface);
|
||||
FIXME("(%p)->(%p)\n", This, pBool);
|
||||
return E_NOTIMPL;
|
||||
|
||||
TRACE("(%p)->(%p)\n", This, pBool);
|
||||
|
||||
*pBool = This->doc_host.busy;
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WebBrowser_Quit(IWebBrowser2 *iface)
|
||||
|
|
Loading…
Reference in New Issue