Nikolay Sivov : wshom.ocx: Implement IWshShortcut_put_TargetPath().

Alexandre Julliard julliard at winehq.org
Tue Jan 3 12:52:52 CST 2012


Module: wine
Branch: master
Commit: 34f1811d1263dc9ac5cac34376dcc59782821b00
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=34f1811d1263dc9ac5cac34376dcc59782821b00

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Mon Jan  2 15:12:02 2012 +0300

wshom.ocx: Implement IWshShortcut_put_TargetPath().

---

 dlls/wshom.ocx/shell.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/wshom.ocx/shell.c b/dlls/wshom.ocx/shell.c
index 7686284..121d3e7 100644
--- a/dlls/wshom.ocx/shell.c
+++ b/dlls/wshom.ocx/shell.c
@@ -462,8 +462,8 @@ static HRESULT WINAPI WshShortcut_get_TargetPath(IWshShortcut *iface, BSTR *Path
 static HRESULT WINAPI WshShortcut_put_TargetPath(IWshShortcut *iface, BSTR Path)
 {
     WshShortcut *This = impl_from_IWshShortcut(iface);
-    FIXME("(%p)->(%s): stub\n", This, debugstr_w(Path));
-    return E_NOTIMPL;
+    TRACE("(%p)->(%s)\n", This, debugstr_w(Path));
+    return IShellLinkW_SetPath(This->link, Path);
 }
 
 static HRESULT WINAPI WshShortcut_get_WindowStyle(IWshShortcut *iface, int *ShowCmd)




More information about the wine-cvs mailing list