Commit 5c4eee13 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

Added GetHostInfo implementation.

parent 2f57b9f3
......@@ -54,8 +54,25 @@ static HRESULT WINAPI DocHostUIHandler_GetHostInfo(IDocHostUIHandler2 *iface,
DOCHOSTUIINFO *pInfo)
{
WebBrowser *This = DOCHOSTUI_THIS(iface);
FIXME("(%p)->(%p)\n", This, pInfo);
return E_NOTIMPL;
IDocHostUIHandler *handler;
HRESULT hres;
TRACE("(%p)->(%p)\n", This, pInfo);
if(This->client) {
hres = IOleClientSite_QueryInterface(This->client, &IID_IDocHostUIHandler, (void**)&handler);
if(SUCCEEDED(hres)) {
hres = IDocHostUIHandler_GetHostInfo(handler, pInfo);
IDocHostUIHandler_Release(handler);
if(SUCCEEDED(hres))
return hres;
}
}
pInfo->dwFlags = DOCHOSTUIFLAG_DISABLE_HELP_MENU | DOCHOSTUIFLAG_OPENNEWWIN
| DOCHOSTUIFLAG_URL_ENCODING_ENABLE_UTF8 | DOCHOSTUIFLAG_ENABLE_INPLACE_NAVIGATION
| DOCHOSTUIFLAG_IME_ENABLE_RECONVERSION;
return S_OK;
}
static HRESULT WINAPI DocHostUIHandler_ShowUI(IDocHostUIHandler2 *iface, DWORD dwID,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment