2 * Miscellaneous Marshaling Routines
4 * Copyright 2006 Robert Shearman (for CodeWeavers)
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
25 #define NONAMELESSUNION
26 #define NONAMELESSSTRUCT
38 #include "wine/debug.h"
40 WINE_DEFAULT_DEBUG_CHANNEL(actxprxy);
42 HRESULT CALLBACK IServiceProvider_QueryService_Proxy(
43 IServiceProvider* This,
48 TRACE("(%p, %s, %s, %p)\n", This, debugstr_guid(guidService),
49 debugstr_guid(riid), ppvObject);
51 return IServiceProvider_RemoteQueryService_Proxy(This, guidService, riid,
52 (IUnknown **)ppvObject);
55 HRESULT __RPC_STUB IServiceProvider_QueryService_Stub(
56 IServiceProvider* This,
61 TRACE("(%p, %s, %s, %p)\n", This, debugstr_guid(guidService),
62 debugstr_guid(riid), ppvObject);
64 return IServiceProvider_QueryService(This, guidService, riid,
68 HRESULT CALLBACK ICatInformation_EnumClassesOfCategories_Proxy(
69 ICatInformation *This,
74 IEnumCLSID** ppenumClsid )
76 TRACE("(%p)\n", This);
77 return ICatInformation_RemoteEnumClassesOfCategories_Proxy( This, cImplemented, rgcatidImpl,
78 cRequired, rgcatidReq, ppenumClsid );
81 HRESULT __RPC_STUB ICatInformation_EnumClassesOfCategories_Stub(
82 ICatInformation *This,
87 IEnumCLSID** ppenumClsid )
89 TRACE("(%p)\n", This);
90 return ICatInformation_EnumClassesOfCategories( This, cImplemented, rgcatidImpl,
91 cRequired, rgcatidReq, ppenumClsid );
94 HRESULT CALLBACK ICatInformation_IsClassOfCategories_Proxy(
95 ICatInformation *This,
102 TRACE("(%p)\n", This);
103 return ICatInformation_RemoteIsClassOfCategories_Proxy( This, rclsid, cImplemented, rgcatidImpl,
104 cRequired, rgcatidReq );
107 HRESULT __RPC_STUB ICatInformation_IsClassOfCategories_Stub(
108 ICatInformation *This,
115 TRACE("(%p)\n", This);
116 return ICatInformation_IsClassOfCategories( This, rclsid, cImplemented, rgcatidImpl,
117 cRequired, rgcatidReq );
120 HRESULT CALLBACK IPrint_Print_Proxy(
123 DVTARGETDEVICE **pptd,
125 STGMEDIUM *pstgmOptions,
126 IContinueCallback *pcallback,
128 LONG *pcPagesPrinted,
131 TRACE("(%p)\n", This);
132 return IPrint_RemotePrint_Proxy( This, grfFlags, pptd, ppPageSet, (RemSTGMEDIUM *)pstgmOptions,
133 pcallback, nFirstPage, pcPagesPrinted, pnLastPage );
136 HRESULT __RPC_STUB IPrint_Print_Stub(
139 DVTARGETDEVICE **pptd,
141 RemSTGMEDIUM *pstgmOptions,
142 IContinueCallback *pcallback,
144 LONG *pcPagesPrinted,
147 TRACE("(%p)\n", This);
148 return IPrint_Print( This, grfFlags, pptd, ppPageSet, (STGMEDIUM *)pstgmOptions,
149 pcallback, nFirstPage, pcPagesPrinted, pnLastPage );
152 HRESULT CALLBACK IEnumOleDocumentViews_Next_Proxy(
153 IEnumOleDocumentViews *This,
155 IOleDocumentView **rgpView,
158 TRACE("(%p)\n", This);
159 return IEnumOleDocumentViews_RemoteNext_Proxy( This, cViews, rgpView, pcFetched );
162 HRESULT __RPC_STUB IEnumOleDocumentViews_Next_Stub(
163 IEnumOleDocumentViews *This,
165 IOleDocumentView **rgpView,
168 TRACE("(%p)\n", This);
169 return IEnumOleDocumentViews_Next( This, cViews, rgpView, pcFetched );