actxprxy: Add proxies for comcat.idl.

This commit is contained in:
Alexandre Julliard 2009-09-11 12:31:26 +02:00
parent bb9fc3fe5f
commit 0979be5098
4 changed files with 77 additions and 0 deletions

2
.gitignore vendored
View File

@ -23,6 +23,8 @@ dlls/Makeimplib.rules
dlls/Maketest.rules dlls/Maketest.rules
dlls/actxprxy/actxprxy_activscp.h dlls/actxprxy/actxprxy_activscp.h
dlls/actxprxy/actxprxy_activscp_p.c 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.h
dlls/actxprxy/actxprxy_servprov_p.c dlls/actxprxy/actxprxy_servprov_p.c
dlls/advapi32/svcctl.h dlls/advapi32/svcctl.h

View File

@ -13,6 +13,7 @@ C_SRCS = \
IDL_P_SRCS = \ IDL_P_SRCS = \
actxprxy_activscp.idl \ actxprxy_activscp.idl \
actxprxy_comcat.idl \
actxprxy_servprov.idl actxprxy_servprov.idl
@MAKE_DLL_RULES@ @MAKE_DLL_RULES@

View File

@ -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"

View File

@ -32,6 +32,7 @@
#include "winerror.h" #include "winerror.h"
#include "objbase.h" #include "objbase.h"
#include "servprov.h" #include "servprov.h"
#include "comcat.h"
#include "wine/debug.h" #include "wine/debug.h"
@ -62,3 +63,55 @@ HRESULT __RPC_STUB IServiceProvider_QueryService_Stub(
return IServiceProvider_QueryService(This, guidService, riid, return IServiceProvider_QueryService(This, guidService, riid,
(void **)ppvObject); (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 );
}