hlink: Add partial implementation of IHlinkBrowseContext::GetHlink.

This commit is contained in:
Andrew Eikum 2009-12-22 17:43:29 -06:00 committed by Alexandre Julliard
parent fc4a9e2e69
commit 7ba2434975
1 changed files with 13 additions and 2 deletions

View File

@ -223,8 +223,19 @@ static HRESULT WINAPI IHlinkBC_QueryHlink( IHlinkBrowseContext* iface,
static HRESULT WINAPI IHlinkBC_GetHlink( IHlinkBrowseContext* iface,
ULONG uHLID, IHlink** ppihl)
{
FIXME("\n");
return E_NOTIMPL;
HlinkBCImpl *This = (HlinkBCImpl*)iface;
TRACE("(%p)->(%x %p)\n", This, uHLID, ppihl);
if(uHLID != HLID_CURRENT) {
FIXME("Only HLID_CURRENT implemented, given: %x\n", uHLID);
return E_NOTIMPL;
}
*ppihl = This->CurrentPage;
IHlink_AddRef(*ppihl);
return S_OK;
}
static HRESULT WINAPI IHlinkBC_SetCurrentHlink( IHlinkBrowseContext* iface,