Alexandre Julliard : actxprxy: Add proxies for comcat.idl.

Alexandre Julliard julliard at winehq.org
Fri Sep 11 10:52:45 CDT 2009


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Sep 11 12:31:26 2009 +0200

actxprxy: Add proxies for comcat.idl.

---

 .gitignore                        |    2 +
 dlls/actxprxy/Makefile.in         |    1 +
 dlls/actxprxy/actxprxy_comcat.idl |   21 ++++++++++++++
 dlls/actxprxy/usrmarshal.c        |   53 +++++++++++++++++++++++++++++++++++++
 4 files changed, 77 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore
index 944a896..8234ac7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -23,6 +23,8 @@ dlls/Makeimplib.rules
 dlls/Maketest.rules
 dlls/actxprxy/actxprxy_activscp.h
 dlls/actxprxy/actxprxy_activscp_p.c
+dlls/actxprxy/actxprxy_comcat.h
+dlls/actxprxy/actxprxy_comcat_p.c
 dlls/actxprxy/actxprxy_servprov.h
 dlls/actxprxy/actxprxy_servprov_p.c
 dlls/advapi32/svcctl.h
diff --git a/dlls/actxprxy/Makefile.in b/dlls/actxprxy/Makefile.in
index da142ae..4f2d7c3 100644
--- a/dlls/actxprxy/Makefile.in
+++ b/dlls/actxprxy/Makefile.in
@@ -13,6 +13,7 @@ C_SRCS = \
 
 IDL_P_SRCS = \
 	actxprxy_activscp.idl \
+	actxprxy_comcat.idl \
 	actxprxy_servprov.idl
 
 @MAKE_DLL_RULES@
diff --git a/dlls/actxprxy/actxprxy_comcat.idl b/dlls/actxprxy/actxprxy_comcat.idl
new file mode 100644
index 0000000..6c8155f
--- /dev/null
+++ b/dlls/actxprxy/actxprxy_comcat.idl
@@ -0,0 +1,21 @@
+/*
+ * Copyright 2009 Alexandre Julliard
+ *
+ * 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 comcat.idl */
+
+#include "comcat.idl"
diff --git a/dlls/actxprxy/usrmarshal.c b/dlls/actxprxy/usrmarshal.c
index 9d5318f..4f888b7 100644
--- a/dlls/actxprxy/usrmarshal.c
+++ b/dlls/actxprxy/usrmarshal.c
@@ -32,6 +32,7 @@
 #include "winerror.h"
 #include "objbase.h"
 #include "servprov.h"
+#include "comcat.h"
 
 #include "wine/debug.h"
 
@@ -62,3 +63,55 @@ HRESULT __RPC_STUB IServiceProvider_QueryService_Stub(
     return IServiceProvider_QueryService(This, guidService, riid,
         (void **)ppvObject);
 }
+
+HRESULT CALLBACK ICatInformation_EnumClassesOfCategories_Proxy(
+    ICatInformation *This,
+    ULONG cImplemented,
+    CATID rgcatidImpl[],
+    ULONG cRequired,
+    CATID rgcatidReq[],
+    IEnumCLSID** ppenumClsid )
+{
+    TRACE("(%p)\n", This);
+    return ICatInformation_RemoteEnumClassesOfCategories_Proxy( This, cImplemented, rgcatidImpl,
+                                                                cRequired, rgcatidReq, ppenumClsid );
+}
+
+HRESULT __RPC_STUB ICatInformation_EnumClassesOfCategories_Stub(
+    ICatInformation *This,
+    ULONG cImplemented,
+    CATID rgcatidImpl[],
+    ULONG cRequired,
+    CATID rgcatidReq[],
+    IEnumCLSID** ppenumClsid )
+{
+    TRACE("(%p)\n", This);
+    return ICatInformation_EnumClassesOfCategories( This, cImplemented, rgcatidImpl,
+                                                    cRequired, rgcatidReq, ppenumClsid );
+}
+
+HRESULT CALLBACK ICatInformation_IsClassOfCategories_Proxy(
+    ICatInformation *This,
+    REFCLSID rclsid,
+    ULONG cImplemented,
+    CATID rgcatidImpl[],
+    ULONG cRequired,
+    CATID rgcatidReq[] )
+{
+    TRACE("(%p)\n", This);
+    return ICatInformation_RemoteIsClassOfCategories_Proxy( This, rclsid, cImplemented, rgcatidImpl,
+                                                            cRequired, rgcatidReq );
+}
+
+HRESULT __RPC_STUB ICatInformation_IsClassOfCategories_Stub(
+    ICatInformation *This,
+    REFCLSID rclsid,
+    ULONG cImplemented,
+    CATID rgcatidImpl[],
+    ULONG cRequired,
+    CATID rgcatidReq[] )
+{
+    TRACE("(%p)\n", This);
+    return ICatInformation_IsClassOfCategories( This, rclsid, cImplemented, rgcatidImpl,
+                                                cRequired, rgcatidReq );
+}




More information about the wine-cvs mailing list