Commit 7dc48d27 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

wshom: Implement WindowStyle property for IWshShortcut.

parent b61a1ba3
...@@ -469,15 +469,15 @@ static HRESULT WINAPI WshShortcut_put_TargetPath(IWshShortcut *iface, BSTR Path) ...@@ -469,15 +469,15 @@ static HRESULT WINAPI WshShortcut_put_TargetPath(IWshShortcut *iface, BSTR Path)
static HRESULT WINAPI WshShortcut_get_WindowStyle(IWshShortcut *iface, int *ShowCmd) static HRESULT WINAPI WshShortcut_get_WindowStyle(IWshShortcut *iface, int *ShowCmd)
{ {
WshShortcut *This = impl_from_IWshShortcut(iface); WshShortcut *This = impl_from_IWshShortcut(iface);
FIXME("(%p)->(%p): stub\n", This, ShowCmd); TRACE("(%p)->(%p)\n", This, ShowCmd);
return E_NOTIMPL; return IShellLinkW_GetShowCmd(This->link, ShowCmd);
} }
static HRESULT WINAPI WshShortcut_put_WindowStyle(IWshShortcut *iface, int ShowCmd) static HRESULT WINAPI WshShortcut_put_WindowStyle(IWshShortcut *iface, int ShowCmd)
{ {
WshShortcut *This = impl_from_IWshShortcut(iface); WshShortcut *This = impl_from_IWshShortcut(iface);
FIXME("(%p)->(%d): stub\n", This, ShowCmd); TRACE("(%p)->(%d)\n", This, ShowCmd);
return E_NOTIMPL; return IShellLinkW_SetShowCmd(This->link, ShowCmd);
} }
static HRESULT WINAPI WshShortcut_get_WorkingDirectory(IWshShortcut *iface, BSTR *WorkingDirectory) static HRESULT WINAPI WshShortcut_get_WorkingDirectory(IWshShortcut *iface, BSTR *WorkingDirectory)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment