mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
hlink: Implement IHlinkBrowseContext_SetCurrentHlink().
This commit is contained in:
parent
8e9af2869c
commit
29d37bd714
1 changed files with 12 additions and 4 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue