shdocvw: Added UpdateUI implementation.

This commit is contained in:
Jacek Caban 2007-09-09 20:11:03 +02:00 committed by Alexandre Julliard
parent b21cd5885f
commit 8bafc2b67b
2 changed files with 9 additions and 3 deletions

View File

@ -337,8 +337,13 @@ static HRESULT WINAPI DocHostUIHandler_HideUI(IDocHostUIHandler2 *iface)
static HRESULT WINAPI DocHostUIHandler_UpdateUI(IDocHostUIHandler2 *iface)
{
DocHost *This = DOCHOSTUI_THIS(iface);
FIXME("(%p)\n", This);
return E_NOTIMPL;
TRACE("(%p)\n", This);
if(!This->hostui)
return S_FALSE;
return IDocHostUIHandler_UpdateUI(This->hostui);
}
static HRESULT WINAPI DocHostUIHandler_EnableModeless(IDocHostUIHandler2 *iface,

View File

@ -80,6 +80,7 @@ DEFINE_EXPECT(GetHostInfo);
DEFINE_EXPECT(GetOptionKeyPath);
DEFINE_EXPECT(GetOverridesKeyPath);
DEFINE_EXPECT(SetStatusText);
DEFINE_EXPECT(UpdateUI);
static const WCHAR wszItem[] = {'i','t','e','m',0};
@ -678,7 +679,7 @@ static HRESULT WINAPI DocHostUIHandler_HideUI(IDocHostUIHandler2 *iface)
static HRESULT WINAPI DocHostUIHandler_UpdateUI(IDocHostUIHandler2 *iface)
{
ok(0, "unexpected call\n");
CHECK_EXPECT(UpdateUI);
return E_NOTIMPL;
}