Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenusrmarshal.c
Go to the documentation of this file.
00001 /* 00002 * Miscellaneous Marshaling Routines 00003 * 00004 * Copyright 2006 Robert Shearman (for CodeWeavers) 00005 * 00006 * This library is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU Lesser General Public 00008 * License as published by the Free Software Foundation; either 00009 * version 2.1 of the License, or (at your option) any later version. 00010 * 00011 * This library is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 * Lesser General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU Lesser General Public 00017 * License along with this library; if not, write to the Free Software 00018 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 00019 */ 00020 00021 #include <stdarg.h> 00022 #include <string.h> 00023 00024 #define COBJMACROS 00025 #define NONAMELESSUNION 00026 #define NONAMELESSSTRUCT 00027 00028 #include "windef.h" 00029 #include "winbase.h" 00030 #include "wingdi.h" 00031 #include "winuser.h" 00032 #include "winerror.h" 00033 #include "objbase.h" 00034 #include "servprov.h" 00035 #include "comcat.h" 00036 #include "docobj.h" 00037 #include "shobjidl.h" 00038 00039 #include "wine/debug.h" 00040 00041 WINE_DEFAULT_DEBUG_CHANNEL(actxprxy); 00042 00043 HRESULT CALLBACK IServiceProvider_QueryService_Proxy( 00044 IServiceProvider* This, 00045 REFGUID guidService, 00046 REFIID riid, 00047 void** ppvObject) 00048 { 00049 TRACE("(%p, %s, %s, %p)\n", This, debugstr_guid(guidService), 00050 debugstr_guid(riid), ppvObject); 00051 00052 return IServiceProvider_RemoteQueryService_Proxy(This, guidService, riid, 00053 (IUnknown **)ppvObject); 00054 } 00055 00056 HRESULT __RPC_STUB IServiceProvider_QueryService_Stub( 00057 IServiceProvider* This, 00058 REFGUID guidService, 00059 REFIID riid, 00060 IUnknown** ppvObject) 00061 { 00062 TRACE("(%p, %s, %s, %p)\n", This, debugstr_guid(guidService), 00063 debugstr_guid(riid), ppvObject); 00064 00065 return IServiceProvider_QueryService(This, guidService, riid, 00066 (void **)ppvObject); 00067 } 00068 00069 HRESULT CALLBACK ICatInformation_EnumClassesOfCategories_Proxy( 00070 ICatInformation *This, 00071 ULONG cImplemented, 00072 CATID rgcatidImpl[], 00073 ULONG cRequired, 00074 CATID rgcatidReq[], 00075 IEnumCLSID** ppenumClsid ) 00076 { 00077 TRACE("(%p)\n", This); 00078 return ICatInformation_RemoteEnumClassesOfCategories_Proxy( This, cImplemented, rgcatidImpl, 00079 cRequired, rgcatidReq, ppenumClsid ); 00080 } 00081 00082 HRESULT __RPC_STUB ICatInformation_EnumClassesOfCategories_Stub( 00083 ICatInformation *This, 00084 ULONG cImplemented, 00085 CATID rgcatidImpl[], 00086 ULONG cRequired, 00087 CATID rgcatidReq[], 00088 IEnumCLSID** ppenumClsid ) 00089 { 00090 TRACE("(%p)\n", This); 00091 return ICatInformation_EnumClassesOfCategories( This, cImplemented, rgcatidImpl, 00092 cRequired, rgcatidReq, ppenumClsid ); 00093 } 00094 00095 HRESULT CALLBACK ICatInformation_IsClassOfCategories_Proxy( 00096 ICatInformation *This, 00097 REFCLSID rclsid, 00098 ULONG cImplemented, 00099 CATID rgcatidImpl[], 00100 ULONG cRequired, 00101 CATID rgcatidReq[] ) 00102 { 00103 TRACE("(%p)\n", This); 00104 return ICatInformation_RemoteIsClassOfCategories_Proxy( This, rclsid, cImplemented, rgcatidImpl, 00105 cRequired, rgcatidReq ); 00106 } 00107 00108 HRESULT __RPC_STUB ICatInformation_IsClassOfCategories_Stub( 00109 ICatInformation *This, 00110 REFCLSID rclsid, 00111 ULONG cImplemented, 00112 CATID rgcatidImpl[], 00113 ULONG cRequired, 00114 CATID rgcatidReq[] ) 00115 { 00116 TRACE("(%p)\n", This); 00117 return ICatInformation_IsClassOfCategories( This, rclsid, cImplemented, rgcatidImpl, 00118 cRequired, rgcatidReq ); 00119 } 00120 00121 HRESULT CALLBACK IPrint_Print_Proxy( 00122 IPrint *This, 00123 DWORD grfFlags, 00124 DVTARGETDEVICE **pptd, 00125 PAGESET **ppPageSet, 00126 STGMEDIUM *pstgmOptions, 00127 IContinueCallback *pcallback, 00128 LONG nFirstPage, 00129 LONG *pcPagesPrinted, 00130 LONG *pnLastPage ) 00131 { 00132 TRACE("(%p)\n", This); 00133 return IPrint_RemotePrint_Proxy( This, grfFlags, pptd, ppPageSet, (RemSTGMEDIUM *)pstgmOptions, 00134 pcallback, nFirstPage, pcPagesPrinted, pnLastPage ); 00135 } 00136 00137 HRESULT __RPC_STUB IPrint_Print_Stub( 00138 IPrint *This, 00139 DWORD grfFlags, 00140 DVTARGETDEVICE **pptd, 00141 PAGESET **ppPageSet, 00142 RemSTGMEDIUM *pstgmOptions, 00143 IContinueCallback *pcallback, 00144 LONG nFirstPage, 00145 LONG *pcPagesPrinted, 00146 LONG *pnLastPage ) 00147 { 00148 TRACE("(%p)\n", This); 00149 return IPrint_Print( This, grfFlags, pptd, ppPageSet, (STGMEDIUM *)pstgmOptions, 00150 pcallback, nFirstPage, pcPagesPrinted, pnLastPage ); 00151 } 00152 00153 HRESULT CALLBACK IEnumOleDocumentViews_Next_Proxy( 00154 IEnumOleDocumentViews *This, 00155 ULONG cViews, 00156 IOleDocumentView **rgpView, 00157 ULONG *pcFetched ) 00158 { 00159 TRACE("(%p)\n", This); 00160 return IEnumOleDocumentViews_RemoteNext_Proxy( This, cViews, rgpView, pcFetched ); 00161 } 00162 00163 HRESULT __RPC_STUB IEnumOleDocumentViews_Next_Stub( 00164 IEnumOleDocumentViews *This, 00165 ULONG cViews, 00166 IOleDocumentView **rgpView, 00167 ULONG *pcFetched ) 00168 { 00169 TRACE("(%p)\n", This); 00170 return IEnumOleDocumentViews_Next( This, cViews, rgpView, pcFetched ); 00171 } 00172 00173 HRESULT CALLBACK IEnumShellItems_Next_Proxy( 00174 IEnumShellItems *This, 00175 ULONG celt, 00176 IShellItem **rgelt, 00177 ULONG *pceltFetched) 00178 { 00179 ULONG fetched; 00180 TRACE("(%p)->(%d, %p, %p)\n", This, celt, rgelt, pceltFetched); 00181 if (!pceltFetched) pceltFetched = &fetched; 00182 return IEnumShellItems_RemoteNext_Proxy(This, celt, rgelt, pceltFetched); 00183 } 00184 00185 HRESULT __RPC_STUB IEnumShellItems_Next_Stub( 00186 IEnumShellItems *This, 00187 ULONG celt, 00188 IShellItem **rgelt, 00189 ULONG *pceltFetched) 00190 { 00191 HRESULT hr; 00192 TRACE("(%p)->(%d, %p, %p)\n", This, celt, rgelt, pceltFetched); 00193 *pceltFetched = 0; 00194 hr = IEnumShellItems_Next(This, celt, rgelt, pceltFetched); 00195 if (hr == S_OK) *pceltFetched = celt; 00196 return hr; 00197 } 00198 00199 HRESULT CALLBACK IModalWindow_Show_Proxy( 00200 IModalWindow *This, 00201 HWND hwndOwner) 00202 { 00203 TRACE("(%p)->(%p)\n", This, hwndOwner); 00204 return IModalWindow_RemoteShow_Proxy(This, hwndOwner); 00205 } 00206 00207 HRESULT __RPC_STUB IModalWindow_Show_Stub( 00208 IModalWindow *This, 00209 HWND hwndOwner) 00210 { 00211 TRACE("(%p)->(%p)\n", This, hwndOwner); 00212 return IModalWindow_Show(This, hwndOwner); 00213 } Generated on Fri May 25 2012 04:20:34 for ReactOS by
1.7.6.1
|