Commit 29d37bd7 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

hlink: Implement IHlinkBrowseContext_SetCurrentHlink().

parent 8e9af286
......@@ -295,11 +295,19 @@ static HRESULT WINAPI IHlinkBC_GetHlink(IHlinkBrowseContext* iface, ULONG hlid,
return S_OK;
}
static HRESULT WINAPI IHlinkBC_SetCurrentHlink( IHlinkBrowseContext* iface,
ULONG uHLID)
static HRESULT WINAPI IHlinkBC_SetCurrentHlink(IHlinkBrowseContext* iface, ULONG hlid)
{
FIXME("\n");
return E_NOTIMPL;
HlinkBCImpl *This = impl_from_IHlinkBrowseContext(iface);
struct link_entry *link;
TRACE("(%p)->(0x%08x)\n", This, hlid);
link = context_get_entry(This, hlid);
if (!link)
return E_FAIL;
This->current = link;
return S_OK;
}
static HRESULT WINAPI IHlinkBC_Clone( IHlinkBrowseContext* iface,
......
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