oleaut32 [7/10]: Add a proxy for oleidl.

Dan Hipschman dsh at linux.ucla.edu
Mon Oct 29 21:22:52 CDT 2007


Adds a proxy for oleidl.idl.  Note that we don't need the cpp_quote("#if 0")
hack for this one, but we need to include winuser.h for definitions of MSG.

---
 .gitignore                        |    2 ++
 dlls/oleaut32/Makefile.in         |    1 +
 dlls/oleaut32/oleaut32_oleidl.idl |   20 ++++++++++++++++++++
 dlls/oleaut32/usrmarshal.c        |    2 ++
 4 files changed, 25 insertions(+), 0 deletions(-)
 create mode 100644 dlls/oleaut32/oleaut32_oleidl.idl

diff --git a/.gitignore b/.gitignore
index ddbcb17..592c180 100644
--- a/.gitignore
+++ b/.gitignore
@@ -342,6 +342,8 @@ dlls/oleaut32/oleaut32_oaidl.h
 dlls/oleaut32/oleaut32_oaidl_p.c
 dlls/oleaut32/oleaut32_objidl.h
 dlls/oleaut32/oleaut32_objidl_p.c
+dlls/oleaut32/oleaut32_oleidl.h
+dlls/oleaut32/oleaut32_oleidl_p.c
 dlls/oleaut32/oleaut32_unknwn.h
 dlls/oleaut32/oleaut32_unknwn_p.c
 dlls/oleaut32/tests/*.ok
diff --git a/dlls/oleaut32/Makefile.in b/dlls/oleaut32/Makefile.in
index 2c6c2a2..a27496f 100644
--- a/dlls/oleaut32/Makefile.in
+++ b/dlls/oleaut32/Makefile.in
@@ -42,6 +42,7 @@ RC_SRCS = oleaut32.rc
 IDL_P_SRCS = \
 	oleaut32_oaidl.idl \
 	oleaut32_objidl.idl \
+	oleaut32_oleidl.idl \
 	oleaut32_unknwn.idl
 
 @MAKE_DLL_RULES@
diff --git a/dlls/oleaut32/oleaut32_oleidl.idl b/dlls/oleaut32/oleaut32_oleidl.idl
new file mode 100644
index 0000000..b9315b3
--- /dev/null
+++ b/dlls/oleaut32/oleaut32_oleidl.idl
@@ -0,0 +1,20 @@
+/*
+ * Copyright 2007 Google (Dan Hipschman)
+ *
+ * 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
+ */
+
+cpp_quote("#include <winuser.h>")
+#include "oleidl.idl"
diff --git a/dlls/oleaut32/usrmarshal.c b/dlls/oleaut32/usrmarshal.c
index ac0473d..d88c61d 100644
--- a/dlls/oleaut32/usrmarshal.c
+++ b/dlls/oleaut32/usrmarshal.c
@@ -51,11 +51,13 @@ CSTDSTUBBUFFERRELEASE(&PSFactoryBuffer)
 
 extern const ExtendedProxyFileInfo oleaut32_oaidl_ProxyFileInfo;
 extern const ExtendedProxyFileInfo oleaut32_objidl_ProxyFileInfo;
+extern const ExtendedProxyFileInfo oleaut32_oleidl_ProxyFileInfo;
 extern const ExtendedProxyFileInfo oleaut32_unknwn_ProxyFileInfo;
 
 static const ProxyFileInfo *OLEAUT32_ProxyFileList[] = {
   &oleaut32_oaidl_ProxyFileInfo,
   &oleaut32_objidl_ProxyFileInfo,
+  &oleaut32_oleidl_ProxyFileInfo,
   &oleaut32_unknwn_ProxyFileInfo,
   NULL
 };



More information about the wine-patches mailing list