From: Alexandre Julliard Date: Fri, 11 Sep 2009 10:31:26 +0000 (+0200) Subject: actxprxy: Add proxies for comcat.idl. X-Git-Tag: wine-1.1.30~366 X-Git-Url: http://git.etersoft.ru/projects/?a=commitdiff_plain;h=0979be5098dffbb90074a67fb291c4acca533b7b;p=wine%2Feterwine.git actxprxy: Add proxies for comcat.idl. --- diff --git a/.gitignore b/.gitignore index 944a896764..8234ac73c8 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 da142ae190..4f2d7c351a 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 0000000000..6c8155fe29 --- /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 9d5318fcec..4f888b7504 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 ); +}