[PATCH v3 3/5] ieproxy: Add proxy/stub for IInternetExplorerManager.

Zebediah Figura zfigura at codeweavers.com
Thu Aug 10 13:52:31 CDT 2017


v2: don't use custom marshalling (thanks Nikolay)
Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
---
 dlls/ieframe/ieframe.rgs              |  7 +++++++
 dlls/ieproxy/Makefile.in              |  5 +++++
 dlls/ieproxy/ieproxy.spec             | 10 +++++-----
 dlls/ieproxy/ieproxy_ieautomation.idl | 31 +++++++++++++++++++++++++++++++
 4 files changed, 48 insertions(+), 5 deletions(-)
 create mode 100644 dlls/ieproxy/ieproxy_ieautomation.idl

diff --git a/dlls/ieframe/ieframe.rgs b/dlls/ieframe/ieframe.rgs
index f99e6b63523..0b48600321e 100644
--- a/dlls/ieframe/ieframe.rgs
+++ b/dlls/ieframe/ieframe.rgs
@@ -42,6 +42,13 @@ HKCR
             Control
         }
     }
+    NoRemove Interface
+    {
+        '{acc84351-04ff-44f9-b23f-655ed168c6d5}'
+        {
+            ProxyStubClsid32 = s '{a4a1a128-768f-41e0-bf75-e4fddd701cba}'
+        }
+    }
     'InternetShortcut'
     {
         val 'EditFlags' = s '2'
diff --git a/dlls/ieproxy/Makefile.in b/dlls/ieproxy/Makefile.in
index ec5f8f7070e..c36a7f6a149 100644
--- a/dlls/ieproxy/Makefile.in
+++ b/dlls/ieproxy/Makefile.in
@@ -1,2 +1,7 @@
 MODULE = ieproxy.dll
+IMPORTS = uuid rpcrt4
 
+IDL_SRCS = \
+	ieproxy_ieautomation.idl
+
+dlldata_EXTRADEFS = -DWINE_REGISTER_DLL -DPROXY_CLSID=CLSID_PSFactoryBuffer
diff --git a/dlls/ieproxy/ieproxy.spec b/dlls/ieproxy/ieproxy.spec
index 98b01323734..a1096f14f2b 100644
--- a/dlls/ieproxy/ieproxy.spec
+++ b/dlls/ieproxy/ieproxy.spec
@@ -1,5 +1,5 @@
-3 stub GetProxyDllInfo
-@ stub DllCanUnloadNow
-@ stub DllGetClassObject
-@ stub DllRegisterServer
-@ stub DllUnregisterServer
+3 stdcall -private GetProxyDllInfo(ptr ptr)
+@ stdcall -private DllCanUnloadNow()
+@ stdcall -private DllGetClassObject(ptr ptr ptr)
+@ stdcall -private DllRegisterServer()
+@ stdcall -private DllUnregisterServer()
diff --git a/dlls/ieproxy/ieproxy_ieautomation.idl b/dlls/ieproxy/ieproxy_ieautomation.idl
new file mode 100644
index 00000000000..b53bcd78a54
--- /dev/null
+++ b/dlls/ieproxy/ieproxy_ieautomation.idl
@@ -0,0 +1,31 @@
+/*
+ * Copyright 2017 Zebediah Figura for Codeweavers
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+/* just a wrapper for ieautomation.idl */
+
+#pragma makedep ident
+#pragma makedep proxy
+#pragma makedep register
+
+#include "ieautomation.idl"
+
+[
+    threading(both),
+    uuid(a4a1a128-768f-41e0-bf75-e4fddd701cba)  /* IInternetExplorerManager */
+]
+coclass PSFactoryBuffer { interface IFactoryBuffer; }
-- 
2.13.4




More information about the wine-patches mailing list