hlink: Added HlinkTranslateURL tub implementation.
diff --git a/dlls/hlink/hlink.spec b/dlls/hlink/hlink.spec
index c0386b5..65ffd97 100644
--- a/dlls/hlink/hlink.spec
+++ b/dlls/hlink/hlink.spec
@@ -23,7 +23,7 @@
28 stub HlinkGetValueFromParams
29 stub HlinkCreateShortcutFromMoniker
30 stub HlinkResolveShortcutToMoniker
-31 stub HlinkTranslateURL
+31 stdcall HlinkTranslateURL(wstr long ptr)
32 stdcall HlinkCreateExtensionServices(wstr long wstr wstr ptr ptr ptr)
33 stub HlinkPreprocessMoniker
diff --git a/dlls/hlink/hlink_main.c b/dlls/hlink/hlink_main.c
index bd1ed6e..b710220 100644
--- a/dlls/hlink/hlink_main.c
+++ b/dlls/hlink/hlink_main.c
@@ -273,6 +273,12 @@
return strcmpiW(pwzFileName+len, url_ext) ? S_FALSE : S_OK;
}
+HRESULT WINAPI HlinkTranslateURL(LPCWSTR pwzURL, DWORD grfFlags, LPWSTR *ppwzTranslatedURL)
+{
+ FIXME("(%s %08lx %p)\n", debugstr_w(pwzURL), grfFlags, ppwzTranslatedURL);
+ return E_NOTIMPL;
+}
+
static HRESULT WINAPI HLinkCF_fnQueryInterface ( LPCLASSFACTORY iface,
REFIID riid, LPVOID *ppvObj)
{
diff --git a/include/hlink.idl b/include/hlink.idl
index 23873eb..884c4be 100644
--- a/include/hlink.idl
+++ b/include/hlink.idl
@@ -33,6 +33,7 @@
cpp_quote("HRESULT WINAPI HlinkNavigate(IHlink*, IHlinkFrame*, DWORD, LPBC, IBindStatusCallback*, IHlinkBrowseContext*);")
cpp_quote("HRESULT WINAPI HlinkOnNavigate(IHlinkFrame*, IHlinkBrowseContext*, DWORD, IMoniker*, LPCWSTR, LPCWSTR, ULONG*);")
cpp_quote("HRESULT WINAPI HlinkIsShortcut(LPCWSTR);")
+cpp_quote("HRESULT WINAPI HlinkTranslateURL(LPCWSTR,DWORD,LPWSTR*);")
/*****************************************************************************
* IHlink interface