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, ...@@ -295,11 +295,19 @@ static HRESULT WINAPI IHlinkBC_GetHlink(IHlinkBrowseContext* iface, ULONG hlid,
return S_OK; return S_OK;
} }
static HRESULT WINAPI IHlinkBC_SetCurrentHlink( IHlinkBrowseContext* iface, static HRESULT WINAPI IHlinkBC_SetCurrentHlink(IHlinkBrowseContext* iface, ULONG hlid)
ULONG uHLID)
{ {
FIXME("\n"); HlinkBCImpl *This = impl_from_IHlinkBrowseContext(iface);
return E_NOTIMPL; 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, 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