urlmon: Implement HlinkSimpleNavigateToMoniker.

This commit is contained in:
André Hentschel 2010-07-01 17:20:10 +02:00 committed by Alexandre Julliard
parent 63430a826f
commit 83cdc223e6
1 changed files with 12 additions and 2 deletions

View File

@ -733,8 +733,18 @@ HRESULT WINAPI HlinkSimpleNavigateToMoniker(IMoniker *pmkTarget,
LPCWSTR szLocation, LPCWSTR szTargetFrameName, IUnknown *pUnk,
IBindCtx *pbc, IBindStatusCallback *pbsc, DWORD grfHLNF, DWORD dwReserved)
{
FIXME("stub\n");
return E_NOTIMPL;
LPWSTR target;
HRESULT hres;
TRACE("\n");
hres = IMoniker_GetDisplayName(pmkTarget, pbc, 0, &target);
if(hres == S_OK)
hres = HlinkSimpleNavigateToString( target, szLocation, szTargetFrameName,
pUnk, pbc, pbsc, grfHLNF, dwReserved );
CoTaskMemFree(target);
return hres;
}
/***********************************************************************