Jacek Caban : hlink: Added HlinkTranslateURL tub implementation.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Aug 2 15:21:45 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 35a8c6a2511cfd1acd2f70fe490570d8e08646e4
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=35a8c6a2511cfd1acd2f70fe490570d8e08646e4

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Wed Aug  2 21:30:46 2006 +0200

hlink: Added HlinkTranslateURL tub implementation.

---

 dlls/hlink/hlink.spec   |    2 +-
 dlls/hlink/hlink_main.c |    6 ++++++
 include/hlink.idl       |    1 +
 3 files changed, 8 insertions(+), 1 deletions(-)

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 @@ HRESULT WINAPI HlinkIsShortcut(LPCWSTR p
     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 HlinkNavigateT
 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




More information about the wine-cvs mailing list