From 7dc48d2787a3c74e043f75c32cb994a658f3029d Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Sun, 1 Jul 2012 19:37:19 +0400 Subject: [PATCH] wshom: Implement WindowStyle property for IWshShortcut. --- dlls/wshom.ocx/shell.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/wshom.ocx/shell.c b/dlls/wshom.ocx/shell.c index 204f91d2fbf..1973e2ddb16 100644 --- a/dlls/wshom.ocx/shell.c +++ b/dlls/wshom.ocx/shell.c @@ -469,15 +469,15 @@ static HRESULT WINAPI WshShortcut_put_TargetPath(IWshShortcut *iface, BSTR Path) static HRESULT WINAPI WshShortcut_get_WindowStyle(IWshShortcut *iface, int *ShowCmd) { WshShortcut *This = impl_from_IWshShortcut(iface); - FIXME("(%p)->(%p): stub\n", This, ShowCmd); - return E_NOTIMPL; + TRACE("(%p)->(%p)\n", This, ShowCmd); + return IShellLinkW_GetShowCmd(This->link, ShowCmd); } static HRESULT WINAPI WshShortcut_put_WindowStyle(IWshShortcut *iface, int ShowCmd) { WshShortcut *This = impl_from_IWshShortcut(iface); - FIXME("(%p)->(%d): stub\n", This, ShowCmd); - return E_NOTIMPL; + TRACE("(%p)->(%d)\n", This, ShowCmd); + return IShellLinkW_SetShowCmd(This->link, ShowCmd); } static HRESULT WINAPI WshShortcut_get_WorkingDirectory(IWshShortcut *iface, BSTR *WorkingDirectory)