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
39 #include "wine/debug.h"
41 WINE_DEFAULT_DEBUG_CHANNEL(actxprxy);
43 HRESULT CALLBACK IServiceProvider_QueryService_Proxy(
44 IServiceProvider* This,
49 TRACE("(%p, %s, %s, %p)\n", This, debugstr_guid(guidService),
50 debugstr_guid(riid), ppvObject);
52 return IServiceProvider_RemoteQueryService_Proxy(This, guidService, riid,
53 (IUnknown **)ppvObject);
56 HRESULT __RPC_STUB IServiceProvider_QueryService_Stub(
57 IServiceProvider* This,
62 TRACE("(%p, %s, %s, %p)\n", This, debugstr_guid(guidService),
63 debugstr_guid(riid), ppvObject);
65 return IServiceProvider_QueryService(This, guidService, riid,
69 HRESULT CALLBACK ICatInformation_EnumClassesOfCategories_Proxy(
70 ICatInformation *This,
75 IEnumCLSID** ppenumClsid )
77 TRACE("(%p)\n", This);
78 return ICatInformation_RemoteEnumClassesOfCategories_Proxy( This, cImplemented, rgcatidImpl,
79 cRequired, rgcatidReq, ppenumClsid );
82 HRESULT __RPC_STUB ICatInformation_EnumClassesOfCategories_Stub(
83 ICatInformation *This,
88 IEnumCLSID** ppenumClsid )
90 TRACE("(%p)\n", This);
91 return ICatInformation_EnumClassesOfCategories( This, cImplemented, rgcatidImpl,
92 cRequired, rgcatidReq, ppenumClsid );
95 HRESULT CALLBACK ICatInformation_IsClassOfCategories_Proxy(
96 ICatInformation *This,
103 TRACE("(%p)\n", This);
104 return ICatInformation_RemoteIsClassOfCategories_Proxy( This, rclsid, cImplemented, rgcatidImpl,
105 cRequired, rgcatidReq );
108 HRESULT __RPC_STUB ICatInformation_IsClassOfCategories_Stub(
109 ICatInformation *This,
116 TRACE("(%p)\n", This);
117 return ICatInformation_IsClassOfCategories( This, rclsid, cImplemented, rgcatidImpl,
118 cRequired, rgcatidReq );
121 HRESULT CALLBACK IPrint_Print_Proxy(
124 DVTARGETDEVICE **pptd,
126 STGMEDIUM *pstgmOptions,
127 IContinueCallback *pcallback,
129 LONG *pcPagesPrinted,
132 TRACE("(%p)\n", This);
133 return IPrint_RemotePrint_Proxy( This, grfFlags, pptd, ppPageSet, (RemSTGMEDIUM *)pstgmOptions,
134 pcallback, nFirstPage, pcPagesPrinted, pnLastPage );
137 HRESULT __RPC_STUB IPrint_Print_Stub(
140 DVTARGETDEVICE **pptd,
142 RemSTGMEDIUM *pstgmOptions,
143 IContinueCallback *pcallback,
145 LONG *pcPagesPrinted,
148 TRACE("(%p)\n", This);
149 return IPrint_Print( This, grfFlags, pptd, ppPageSet, (STGMEDIUM *)pstgmOptions,
150 pcallback, nFirstPage, pcPagesPrinted, pnLastPage );
153 HRESULT CALLBACK IEnumOleDocumentViews_Next_Proxy(
154 IEnumOleDocumentViews *This,
156 IOleDocumentView **rgpView,
159 TRACE("(%p)\n", This);
160 return IEnumOleDocumentViews_RemoteNext_Proxy( This, cViews, rgpView, pcFetched );
163 HRESULT __RPC_STUB IEnumOleDocumentViews_Next_Stub(
164 IEnumOleDocumentViews *This,
166 IOleDocumentView **rgpView,
169 TRACE("(%p)\n", This);
170 return IEnumOleDocumentViews_Next( This, cViews, rgpView, pcFetched );
173 HRESULT CALLBACK IEnumShellItems_Next_Proxy(
174 IEnumShellItems *This,
180 TRACE("(%p)->(%d, %p, %p)\n", This, celt, rgelt, pceltFetched);
181 if (!pceltFetched) pceltFetched = &fetched;
182 return IEnumShellItems_RemoteNext_Proxy(This, celt, rgelt, pceltFetched);
185 HRESULT __RPC_STUB IEnumShellItems_Next_Stub(
186 IEnumShellItems *This,
192 TRACE("(%p)->(%d, %p, %p)\n", This, celt, rgelt, pceltFetched);
194 hr = IEnumShellItems_Next(This, celt, rgelt, pceltFetched);
195 if (hr == S_OK) *pceltFetched = celt;
199 HRESULT CALLBACK IModalWindow_Show_Proxy(
203 TRACE("(%p)->(%p)\n", This, hwndOwner);
204 return IModalWindow_RemoteShow_Proxy(This, hwndOwner);
207 HRESULT __RPC_STUB IModalWindow_Show_Stub(
211 TRACE("(%p)->(%p)\n", This, hwndOwner);
212 return IModalWindow_Show(This, hwndOwner);