Nikolay Sivov : wshom: Implement WindowStyle property for IWshShortcut.

Alexandre Julliard julliard at winehq.org
Mon Jul 2 13:22:01 CDT 2012


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Sun Jul  1 19:37:19 2012 +0400

wshom: Implement WindowStyle property for IWshShortcut.

---

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

diff --git a/dlls/wshom.ocx/shell.c b/dlls/wshom.ocx/shell.c
index 204f91d..1973e2d 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)




More information about the wine-cvs mailing list