Myah Caron : include: Add IShellLinkDual interface.

Alexandre Julliard julliard at winehq.org
Tue Jul 28 15:53:32 CDT 2020


Module: wine
Branch: master
Commit: 6d66efa3fee7f529bba6c478e71d54e0d66995f5
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=6d66efa3fee7f529bba6c478e71d54e0d66995f5

Author: Myah Caron <qsniyg at protonmail.com>
Date:   Mon Jul 27 07:30:25 2020 +0000

include: Add IShellLinkDual interface.

Signed-off-by: Myah Caron <qsniyg at protonmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 include/shldisp.idl | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 76 insertions(+)

diff --git a/include/shldisp.idl b/include/shldisp.idl
index 19f2d73ed0..9032b94ea0 100644
--- a/include/shldisp.idl
+++ b/include/shldisp.idl
@@ -738,6 +738,82 @@ coclass ShellFolderView
     [default, source] dispinterface DShellFolderViewEvents;
 }
 
+/*****************************************************************************
+ * IShellLinkDual interface
+ */
+[
+    uuid (88a05c00-f000-11ce-8350-444553540000),
+    oleautomation,
+    dual,
+    hidden
+ ]
+interface IShellLinkDual : IDispatch {
+    [propget]
+    HRESULT Path ([out, retval] BSTR *pbs);
+
+    [propput]
+    HRESULT Path ([in] BSTR bs);
+
+    [propget]
+    HRESULT Description ([out, retval] BSTR *pbs);
+
+    [propput]
+    HRESULT Description ([in] BSTR bs);
+
+    [propget]
+    HRESULT WorkingDirectory ([out, retval] BSTR *pbs);
+
+    [propput]
+    HRESULT WorkingDirectory ([in] BSTR bs);
+
+    [propget]
+    HRESULT Arguments ([out, retval] BSTR *pbs);
+
+    [propput]
+    HRESULT Arguments ([in] BSTR bs);
+
+    [propget]
+    HRESULT Hotkey ([out, retval] int *piHK);
+
+    [propput]
+    HRESULT Hotkey ([in] int iHK);
+
+    [propget]
+    HRESULT ShowCommand ([out, retval] int *piShowCommand);
+
+    [propput]
+    HRESULT ShowCommand ([in] int iShowCommand);
+
+    HRESULT Resolve ([in] int fFlags);
+
+    HRESULT GetIconLocation ([out] BSTR *pbs,
+                             [out, retval] int *piIcon);
+
+    HRESULT SetIconLocation ([in] BSTR bs,
+                             [in] int iIcon);
+
+    HRESULT Save ([in, optional] VARIANT vWhere);
+}
+
+[
+    uuid (317ee249-f12e-11d2-b1e4-00c04f8eeb3e),
+    oleautomation,
+    dual,
+    hidden
+]
+interface IShellLinkDual2 : IShellLinkDual {
+    [propget]
+    HRESULT Target ([out, retval] FolderItem **ppfi);
+}
+
+[
+    uuid (11219420-1768-11d1-95be-00609797ea4f),
+    noncreatable
+]
+coclass ShellLinkObject {
+    [default] interface IShellLinkDual2;
+}
+
 } /* library Shell32 */
 
 /*****************************************************************************




More information about the wine-cvs mailing list