wshom.ocx: Implement IWshShortcut_put_TargetPath().

This commit is contained in:
Nikolay Sivov 2012-01-02 15:12:02 +03:00 committed by Alexandre Julliard
parent 033c18fce9
commit 34f1811d12
1 changed files with 2 additions and 2 deletions

View File

@ -462,8 +462,8 @@ static HRESULT WINAPI WshShortcut_get_TargetPath(IWshShortcut *iface, BSTR *Path
static HRESULT WINAPI WshShortcut_put_TargetPath(IWshShortcut *iface, BSTR Path) static HRESULT WINAPI WshShortcut_put_TargetPath(IWshShortcut *iface, BSTR Path)
{ {
WshShortcut *This = impl_from_IWshShortcut(iface); WshShortcut *This = impl_from_IWshShortcut(iface);
FIXME("(%p)->(%s): stub\n", This, debugstr_w(Path)); TRACE("(%p)->(%s)\n", This, debugstr_w(Path));
return E_NOTIMPL; return IShellLinkW_SetPath(This->link, Path);
} }
static HRESULT WINAPI WshShortcut_get_WindowStyle(IWshShortcut *iface, int *ShowCmd) static HRESULT WINAPI WshShortcut_get_WindowStyle(IWshShortcut *iface, int *ShowCmd)