mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
wshom.ocx: Implement IWshShortcut::Save().
This commit is contained in:
parent
34f1811d12
commit
06c0b139f5
1 changed files with 10 additions and 2 deletions
|
@ -504,8 +504,16 @@ static HRESULT WINAPI WshShortcut_Load(IWshShortcut *iface, BSTR PathLink)
|
|||
static HRESULT WINAPI WshShortcut_Save(IWshShortcut *iface)
|
||||
{
|
||||
WshShortcut *This = impl_from_IWshShortcut(iface);
|
||||
FIXME("(%p): stub\n", This);
|
||||
return E_NOTIMPL;
|
||||
IPersistFile *file;
|
||||
HRESULT hr;
|
||||
|
||||
TRACE("(%p)\n", This);
|
||||
|
||||
IShellLinkW_QueryInterface(This->link, &IID_IPersistFile, (void**)&file);
|
||||
hr = IPersistFile_Save(file, This->path_link, TRUE);
|
||||
IPersistFile_Release(file);
|
||||
|
||||
return hr;
|
||||
}
|
||||
|
||||
static const IWshShortcutVtbl WshShortcutVtbl = {
|
||||
|
|
Loading…
Reference in a new issue