Sync with trunk r63174.
[reactos.git] / dll / win32 / urlmon / usrmarshal.c
1 /*
2 * Copyright 2009 Piotr Caban for CodeWeavers
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 */
18
19 #include "urlmon_main.h"
20
21 HRESULT CALLBACK IWinInetHttpInfo_QueryInfo_Proxy(IWinInetHttpInfo* This,
22 DWORD dwOption, LPVOID pBuffer, DWORD *pcbBuf, DWORD *pdwFlags,
23 DWORD *pdwReserved)
24 {
25 TRACE("(%p %x %p %p %p %p)\n", This, dwOption, pBuffer, pcbBuf, pdwFlags, pdwReserved);
26 return IWinInetHttpInfo_RemoteQueryInfo_Proxy(This, dwOption, pBuffer, pcbBuf, pdwFlags, pdwReserved);
27 }
28
29 HRESULT __RPC_STUB IWinInetHttpInfo_QueryInfo_Stub(IWinInetHttpInfo* This,
30 DWORD dwOption, BYTE *pBuffer, DWORD *pcbBuf, DWORD *pdwFlags,
31 DWORD *pdwReserved)
32 {
33 TRACE("(%p %x %p %p %p %p)\n", This, dwOption, pBuffer, pcbBuf, pdwFlags, pdwReserved);
34 return IWinInetHttpInfo_QueryInfo(This, dwOption, pBuffer, pcbBuf, pdwFlags, pdwReserved);
35 }
36
37 HRESULT CALLBACK IWinInetInfo_QueryOption_Proxy(IWinInetInfo* This,
38 DWORD dwOption, LPVOID pBuffer, DWORD *pcbBuf)
39 {
40 TRACE("(%p %x %p %p)\n", This, dwOption, pBuffer, pcbBuf);
41 return IWinInetInfo_RemoteQueryOption_Proxy(This, dwOption, pBuffer, pcbBuf);
42 }
43
44 HRESULT __RPC_STUB IWinInetInfo_QueryOption_Stub(IWinInetInfo* This,
45 DWORD dwOption, BYTE *pBuffer, DWORD *pcbBuf)
46 {
47 TRACE("(%p %x %p %p)\n", This, dwOption, pBuffer, pcbBuf);
48 return IWinInetInfo_QueryOption(This, dwOption, pBuffer, pcbBuf);
49 }
50
51 HRESULT CALLBACK IBindHost_MonikerBindToStorage_Proxy(IBindHost* This,
52 IMoniker *pMk, IBindCtx *pBC, IBindStatusCallback *pBSC,
53 REFIID riid, void **ppvObj)
54 {
55 FIXME("stub\n");
56 return E_NOTIMPL;
57 }
58
59 HRESULT __RPC_STUB IBindHost_MonikerBindToStorage_Stub(IBindHost* This,
60 IMoniker *pMk, IBindCtx *pBC, IBindStatusCallback *pBSC,
61 REFIID riid, IUnknown **ppvObj)
62 {
63 FIXME("stub\n");
64 return E_NOTIMPL;
65 }
66
67 HRESULT CALLBACK IBindHost_MonikerBindToObject_Proxy(IBindHost* This,
68 IMoniker *pMk, IBindCtx *pBC, IBindStatusCallback *pBSC,
69 REFIID riid, void **ppvObj)
70 {
71 FIXME("stub\n");
72 return E_NOTIMPL;
73 }
74
75 HRESULT __RPC_STUB IBindHost_MonikerBindToObject_Stub(IBindHost* This,
76 IMoniker *pMk, IBindCtx *pBC, IBindStatusCallback *pBSC,
77 REFIID riid, IUnknown **ppvObj)
78 {
79 FIXME("stub\n");
80 return E_NOTIMPL;
81 }
82
83 HRESULT CALLBACK IBindStatusCallbackEx_GetBindInfoEx_Proxy(
84 IBindStatusCallbackEx* This, DWORD *grfBINDF, BINDINFO *pbindinfo,
85 DWORD *grfBINDF2, DWORD *pdwReserved)
86 {
87 FIXME("stub\n");
88 return E_NOTIMPL;
89 }
90
91 HRESULT __RPC_STUB IBindStatusCallbackEx_GetBindInfoEx_Stub(
92 IBindStatusCallbackEx* This, DWORD *grfBINDF, RemBINDINFO *pbindinfo,
93 RemSTGMEDIUM *pstgmed, DWORD *grfBINDF2, DWORD *pdwReserved)
94 {
95 FIXME("stub\n");
96 return E_NOTIMPL;
97 }
98
99 HRESULT CALLBACK IBindStatusCallback_GetBindInfo_Proxy(
100 IBindStatusCallback* This, DWORD *grfBINDF, BINDINFO *pbindinfo)
101 {
102 FIXME("stub\n");
103 return E_NOTIMPL;
104 }
105
106 HRESULT __RPC_STUB IBindStatusCallback_GetBindInfo_Stub(
107 IBindStatusCallback* This, DWORD *grfBINDF,
108 RemBINDINFO *pbindinfo, RemSTGMEDIUM *pstgmed)
109 {
110 FIXME("stub\n");
111 return E_NOTIMPL;
112 }
113
114 HRESULT CALLBACK IBindStatusCallback_OnDataAvailable_Proxy(
115 IBindStatusCallback* This, DWORD grfBSCF, DWORD dwSize,
116 FORMATETC *pformatetc, STGMEDIUM *pstgmed)
117 {
118 FIXME("stub\n");
119 return E_NOTIMPL;
120 }
121
122 HRESULT __RPC_STUB IBindStatusCallback_OnDataAvailable_Stub(
123 IBindStatusCallback* This, DWORD grfBSCF, DWORD dwSize,
124 RemFORMATETC *pformatetc, RemSTGMEDIUM *pstgmed)
125 {
126 FIXME("stub\n");
127 return E_NOTIMPL;
128 }
129
130 HRESULT CALLBACK IBinding_GetBindResult_Proxy(IBinding* This,
131 CLSID *pclsidProtocol, DWORD *pdwResult,
132 LPOLESTR *pszResult, DWORD *pdwReserved)
133 {
134 FIXME("stub\n");
135 return E_NOTIMPL;
136 }
137
138 HRESULT __RPC_STUB IBinding_GetBindResult_Stub(IBinding* This,
139 CLSID *pclsidProtocol, DWORD *pdwResult,
140 LPOLESTR *pszResult, DWORD dwReserved)
141 {
142 FIXME("stub\n");
143 return E_NOTIMPL;
144 }