2 * Misc marshaling routines
4 * Copyright 2009 Huw Davies
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
34 #include "row_server.h"
36 #include "wine/debug.h"
38 WINE_DEFAULT_DEBUG_CHANNEL(oledb
);
40 HRESULT CALLBACK
IDBCreateCommand_CreateCommand_Proxy(IDBCreateCommand
* This
, IUnknown
*pUnkOuter
,
41 REFIID riid
, IUnknown
**ppCommand
)
43 IErrorInfo
*error
= NULL
;
46 TRACE("(%p, %p, %s, %p)\n", This
, pUnkOuter
, debugstr_guid(riid
), ppCommand
);
47 hr
= IDBCreateCommand_RemoteCreateCommand_Proxy(This
, pUnkOuter
, riid
, ppCommand
, &error
);
50 SetErrorInfo(0, error
);
51 IErrorInfo_Release(error
);
56 HRESULT __RPC_STUB
IDBCreateCommand_CreateCommand_Stub(IDBCreateCommand
* This
, IUnknown
*pUnkOuter
,
57 REFIID riid
, IUnknown
**ppCommand
, IErrorInfo
**ppErrorInfoRem
)
61 TRACE("(%p, %p, %s, %p, %p)\n", This
, pUnkOuter
, debugstr_guid(riid
), ppCommand
, ppErrorInfoRem
);
63 *ppErrorInfoRem
= NULL
;
64 hr
= IDBCreateCommand_CreateCommand(This
, pUnkOuter
, riid
, ppCommand
);
65 if(FAILED(hr
)) GetErrorInfo(0, ppErrorInfoRem
);
70 HRESULT CALLBACK
IDBCreateSession_CreateSession_Proxy(IDBCreateSession
* This
, IUnknown
*pUnkOuter
,
71 REFIID riid
, IUnknown
**ppDBSession
)
73 IErrorInfo
*error
= NULL
;
76 TRACE("(%p, %p, %s, %p)\n", This
, pUnkOuter
, debugstr_guid(riid
), ppDBSession
);
77 hr
= IDBCreateSession_RemoteCreateSession_Proxy(This
, pUnkOuter
, riid
, ppDBSession
, &error
);
80 SetErrorInfo(0, error
);
81 IErrorInfo_Release(error
);
86 HRESULT __RPC_STUB
IDBCreateSession_CreateSession_Stub(IDBCreateSession
* This
, IUnknown
*pUnkOuter
,
87 REFIID riid
, IUnknown
**ppDBSession
, IErrorInfo
**ppErrorInfoRem
)
90 TRACE("(%p, %p, %s, %p, %p)\n", This
, pUnkOuter
, debugstr_guid(riid
),
91 ppDBSession
, ppErrorInfoRem
);
93 *ppErrorInfoRem
= NULL
;
94 hr
= IDBCreateSession_CreateSession(This
, pUnkOuter
, riid
, ppDBSession
);
95 if(FAILED(hr
)) GetErrorInfo(0, ppErrorInfoRem
);
100 HRESULT CALLBACK
IDBProperties_GetProperties_Proxy(IDBProperties
* This
, ULONG cPropertyIDSets
, const DBPROPIDSET rgPropertyIDSets
[],
101 ULONG
*pcPropertySets
, DBPROPSET
**prgPropertySets
)
103 IErrorInfo
*error
= NULL
;
106 TRACE("(%p, %ld, %p, %p, %p)\n", This
, cPropertyIDSets
, rgPropertyIDSets
, pcPropertySets
,
108 hr
= IDBProperties_RemoteGetProperties_Proxy(This
, cPropertyIDSets
, rgPropertyIDSets
,
109 pcPropertySets
, prgPropertySets
, &error
);
112 SetErrorInfo(0, error
);
113 IErrorInfo_Release(error
);
118 HRESULT __RPC_STUB
IDBProperties_GetProperties_Stub(IDBProperties
* This
, ULONG cPropertyIDSets
, const DBPROPIDSET
*rgPropertyIDSets
,
119 ULONG
*pcPropertySets
, DBPROPSET
**prgPropertySets
, IErrorInfo
**ppErrorInfoRem
)
123 TRACE("(%p, %ld, %p, %p, %p, %p)\n", This
, cPropertyIDSets
, rgPropertyIDSets
, pcPropertySets
,
124 prgPropertySets
, ppErrorInfoRem
);
126 *ppErrorInfoRem
= NULL
;
127 hr
= IDBProperties_GetProperties(This
, cPropertyIDSets
, rgPropertyIDSets
,
128 pcPropertySets
, prgPropertySets
);
129 if(FAILED(hr
)) GetErrorInfo(0, ppErrorInfoRem
);
134 HRESULT CALLBACK
IDBProperties_GetPropertyInfo_Proxy(IDBProperties
* This
, ULONG cPropertyIDSets
, const DBPROPIDSET rgPropertyIDSets
[],
135 ULONG
*pcPropertyInfoSets
, DBPROPINFOSET
**prgPropertyInfoSets
,
136 OLECHAR
**ppDescBuffer
)
138 FIXME("(%p, %ld, %p, %p, %p, %p): stub\n", This
, cPropertyIDSets
, rgPropertyIDSets
, pcPropertyInfoSets
,
139 prgPropertyInfoSets
, ppDescBuffer
);
143 HRESULT __RPC_STUB
IDBProperties_GetPropertyInfo_Stub(IDBProperties
* This
, ULONG cPropertyIDSets
, const DBPROPIDSET
*rgPropertyIDSets
,
144 ULONG
*pcPropertyInfoSets
, DBPROPINFOSET
**prgPropertyInfoSets
,
145 ULONG
*pcOffsets
, DBBYTEOFFSET
**prgDescOffsets
, ULONG
*pcbDescBuffer
,
146 OLECHAR
**ppDescBuffer
, IErrorInfo
**ppErrorInfoRem
)
148 FIXME("(%p, %ld, %p, %p, %p, %p, %p, %p, %p, %p): stub\n", This
, cPropertyIDSets
, rgPropertyIDSets
, pcPropertyInfoSets
,
149 prgPropertyInfoSets
, pcOffsets
, prgDescOffsets
, pcbDescBuffer
, ppDescBuffer
, ppErrorInfoRem
);
153 HRESULT CALLBACK
IDBProperties_SetProperties_Proxy(IDBProperties
* This
, ULONG cPropertySets
, DBPROPSET rgPropertySets
[])
155 ULONG prop_set
, prop
, total_props
= 0;
156 IErrorInfo
*error
= NULL
;
158 DBPROPSTATUS
*status
;
160 TRACE("(%p, %ld, %p)\n", This
, cPropertySets
, rgPropertySets
);
162 for(prop_set
= 0; prop_set
< cPropertySets
; prop_set
++)
163 total_props
+= rgPropertySets
[prop_set
].cProperties
;
165 if(total_props
== 0) return S_OK
;
167 status
= CoTaskMemAlloc(total_props
* sizeof(*status
));
168 if(!status
) return E_OUTOFMEMORY
;
170 hr
= IDBProperties_RemoteSetProperties_Proxy(This
, cPropertySets
, rgPropertySets
,
171 total_props
, status
, &error
);
174 SetErrorInfo(0, error
);
175 IErrorInfo_Release(error
);
179 for(prop_set
= 0; prop_set
< cPropertySets
; prop_set
++)
180 for(prop
= 0; prop
< rgPropertySets
[prop_set
].cProperties
; prop
++)
181 rgPropertySets
[prop_set
].rgProperties
[prop
].dwStatus
= status
[total_props
++];
183 CoTaskMemFree(status
);
187 HRESULT __RPC_STUB
IDBProperties_SetProperties_Stub(IDBProperties
* This
, ULONG cPropertySets
, DBPROPSET
*rgPropertySets
,
188 ULONG cTotalProps
, DBPROPSTATUS
*rgPropStatus
, IErrorInfo
**ppErrorInfoRem
)
190 ULONG prop_set
, prop
, total_props
= 0;
193 TRACE("(%p, %ld, %p, %ld, %p, %p)\n", This
, cPropertySets
, rgPropertySets
, cTotalProps
,
194 rgPropStatus
, ppErrorInfoRem
);
196 *ppErrorInfoRem
= NULL
;
197 hr
= IDBProperties_SetProperties(This
, cPropertySets
, rgPropertySets
);
198 if(FAILED(hr
)) GetErrorInfo(0, ppErrorInfoRem
);
200 for(prop_set
= 0; prop_set
< cPropertySets
; prop_set
++)
201 for(prop
= 0; prop
< rgPropertySets
[prop_set
].cProperties
; prop
++)
202 rgPropStatus
[total_props
++] = rgPropertySets
[prop_set
].rgProperties
[prop
].dwStatus
;
207 HRESULT CALLBACK
IDBInitialize_Initialize_Proxy(IDBInitialize
* This
)
209 IErrorInfo
*error
= NULL
;
212 TRACE("(%p)\n", This
);
213 hr
= IDBInitialize_RemoteInitialize_Proxy(This
, &error
);
216 SetErrorInfo(0, error
);
217 IErrorInfo_Release(error
);
222 HRESULT __RPC_STUB
IDBInitialize_Initialize_Stub(IDBInitialize
* This
, IErrorInfo
**ppErrorInfoRem
)
225 TRACE("(%p, %p)\n", This
, ppErrorInfoRem
);
227 *ppErrorInfoRem
= NULL
;
228 hr
= IDBInitialize_Initialize(This
);
229 if(FAILED(hr
)) GetErrorInfo(0, ppErrorInfoRem
);
234 HRESULT CALLBACK
IDBInitialize_Uninitialize_Proxy(IDBInitialize
* This
)
236 IErrorInfo
*error
= NULL
;
239 TRACE("(%p)\n", This
);
240 hr
= IDBInitialize_RemoteUninitialize_Proxy(This
, &error
);
243 SetErrorInfo(0, error
);
244 IErrorInfo_Release(error
);
249 HRESULT __RPC_STUB
IDBInitialize_Uninitialize_Stub(IDBInitialize
* This
, IErrorInfo
**error
)
253 TRACE("(%p, %p)\n", This
, error
);
255 hr
= IDBInitialize_Uninitialize(This
);
256 if(FAILED(hr
)) GetErrorInfo(0, error
);
261 HRESULT CALLBACK
IDBDataSourceAdmin_CreateDataSource_Proxy(IDBDataSourceAdmin
* This
, ULONG cPropertySets
,
262 DBPROPSET rgPropertySets
[], IUnknown
*pUnkOuter
,
263 REFIID riid
, IUnknown
**ppDBSession
)
265 ULONG prop_set
, prop
, total_props
= 0;
266 IErrorInfo
*error
= NULL
;
268 DBPROPSTATUS
*status
;
270 TRACE("(%p, %ld, %p, %p, %s, %p)\n", This
, cPropertySets
, rgPropertySets
, pUnkOuter
,
271 debugstr_guid(riid
), ppDBSession
);
273 for(prop_set
= 0; prop_set
< cPropertySets
; prop_set
++)
274 total_props
+= rgPropertySets
[prop_set
].cProperties
;
276 if(total_props
== 0) return S_OK
;
278 status
= CoTaskMemAlloc(total_props
* sizeof(*status
));
279 if(!status
) return E_OUTOFMEMORY
;
281 hr
= IDBDataSourceAdmin_RemoteCreateDataSource_Proxy(This
, cPropertySets
, rgPropertySets
, pUnkOuter
,
282 riid
, ppDBSession
, total_props
, status
, &error
);
285 SetErrorInfo(0, error
);
286 IErrorInfo_Release(error
);
290 for(prop_set
= 0; prop_set
< cPropertySets
; prop_set
++)
291 for(prop
= 0; prop
< rgPropertySets
[prop_set
].cProperties
; prop
++)
292 rgPropertySets
[prop_set
].rgProperties
[prop
].dwStatus
= status
[total_props
++];
294 CoTaskMemFree(status
);
298 HRESULT __RPC_STUB
IDBDataSourceAdmin_CreateDataSource_Stub(IDBDataSourceAdmin
* This
, ULONG cPropertySets
,
299 DBPROPSET
*rgPropertySets
, IUnknown
*pUnkOuter
,
300 REFIID riid
, IUnknown
**ppDBSession
, ULONG cTotalProps
,
301 DBPROPSTATUS
*rgPropStatus
, IErrorInfo
**ppErrorInfoRem
)
303 ULONG prop_set
, prop
, total_props
= 0;
306 TRACE("(%p, %ld, %p, %p, %s, %p, %ld, %p, %p)\n", This
, cPropertySets
, rgPropertySets
, pUnkOuter
,
307 debugstr_guid(riid
), ppDBSession
, cTotalProps
, rgPropStatus
, ppErrorInfoRem
);
309 *ppErrorInfoRem
= NULL
;
310 hr
= IDBDataSourceAdmin_CreateDataSource(This
, cPropertySets
, rgPropertySets
, pUnkOuter
, riid
, ppDBSession
);
311 if(FAILED(hr
)) GetErrorInfo(0, ppErrorInfoRem
);
313 for(prop_set
= 0; prop_set
< cPropertySets
; prop_set
++)
314 for(prop
= 0; prop
< rgPropertySets
[prop_set
].cProperties
; prop
++)
315 rgPropStatus
[total_props
++] = rgPropertySets
[prop_set
].rgProperties
[prop
].dwStatus
;
320 HRESULT CALLBACK
IDBDataSourceAdmin_DestroyDataSource_Proxy(IDBDataSourceAdmin
* This
)
322 IErrorInfo
*error
= NULL
;
325 TRACE("(%p)\n", This
);
326 hr
= IDBDataSourceAdmin_RemoteDestroyDataSource_Proxy(This
, &error
);
329 SetErrorInfo(0, error
);
330 IErrorInfo_Release(error
);
335 HRESULT __RPC_STUB
IDBDataSourceAdmin_DestroyDataSource_Stub(IDBDataSourceAdmin
* This
, IErrorInfo
**error
)
339 TRACE("(%p, %p)\n", This
, error
);
341 hr
= IDBDataSourceAdmin_DestroyDataSource(This
);
342 if(FAILED(hr
)) GetErrorInfo(0, error
);
347 HRESULT CALLBACK
IDBDataSourceAdmin_GetCreationProperties_Proxy(IDBDataSourceAdmin
* This
, ULONG cPropertyIDSets
,
348 const DBPROPIDSET rgPropertyIDSets
[], ULONG
*pcPropertyInfoSets
,
349 DBPROPINFOSET
**prgPropertyInfoSets
, OLECHAR
**ppDescBuffer
)
351 FIXME("(%p, %ld, %p, %p, %p, %p): stub\n", This
, cPropertyIDSets
, rgPropertyIDSets
, pcPropertyInfoSets
,
352 prgPropertyInfoSets
, ppDescBuffer
);
356 HRESULT __RPC_STUB
IDBDataSourceAdmin_GetCreationProperties_Stub(IDBDataSourceAdmin
* This
, ULONG cPropertyIDSets
,
357 const DBPROPIDSET
*rgPropertyIDSets
, ULONG
*pcPropertyInfoSets
,
358 DBPROPINFOSET
**prgPropertyInfoSets
, DBCOUNTITEM
*pcOffsets
,
359 DBBYTEOFFSET
**prgDescOffsets
, ULONG
*pcbDescBuffer
,
360 OLECHAR
**ppDescBuffer
, IErrorInfo
**error
)
364 TRACE("(%p, %ld, %p, %p, %p, %p, %p, %p, %p, %p)\n", This
, cPropertyIDSets
, rgPropertyIDSets
, pcPropertyInfoSets
,
365 prgPropertyInfoSets
, pcOffsets
, prgDescOffsets
, pcbDescBuffer
, ppDescBuffer
, error
);
367 hr
= IDBDataSourceAdmin_GetCreationProperties(This
, cPropertyIDSets
, rgPropertyIDSets
, pcPropertyInfoSets
,
368 prgPropertyInfoSets
, ppDescBuffer
);
369 if(FAILED(hr
)) GetErrorInfo(0, error
);
374 HRESULT CALLBACK
IDBDataSourceAdmin_ModifyDataSource_Proxy(IDBDataSourceAdmin
* This
, ULONG cPropertySets
, DBPROPSET rgPropertySets
[])
376 IErrorInfo
*error
= NULL
;
379 TRACE("(%p, %ld, %p)\n", This
, cPropertySets
, rgPropertySets
);
380 hr
= IDBDataSourceAdmin_RemoteModifyDataSource_Proxy(This
, cPropertySets
, rgPropertySets
, &error
);
383 SetErrorInfo(0, error
);
384 IErrorInfo_Release(error
);
390 HRESULT __RPC_STUB
IDBDataSourceAdmin_ModifyDataSource_Stub(IDBDataSourceAdmin
* This
, ULONG cPropertySets
,
391 DBPROPSET
*rgPropertySets
, IErrorInfo
**error
)
395 TRACE("(%p, %ld, %p, %p)\n", This
, cPropertySets
, rgPropertySets
, error
);
397 hr
= IDBDataSourceAdmin_ModifyDataSource(This
, cPropertySets
, rgPropertySets
);
398 if(FAILED(hr
)) GetErrorInfo(0, error
);
403 HRESULT CALLBACK
ISessionProperties_GetProperties_Proxy(ISessionProperties
* This
, ULONG cPropertyIDSets
,
404 const DBPROPIDSET rgPropertyIDSets
[], ULONG
*pcPropertySets
,
405 DBPROPSET
**prgPropertySets
)
407 IErrorInfo
*error
= NULL
;
410 TRACE("(%p, %ld, %p, %p, %p)\n", This
, cPropertyIDSets
, rgPropertyIDSets
,
411 pcPropertySets
, prgPropertySets
);
413 hr
= ISessionProperties_RemoteGetProperties_Proxy(This
, cPropertyIDSets
, rgPropertyIDSets
, pcPropertySets
,
414 prgPropertySets
, &error
);
417 SetErrorInfo(0, error
);
418 IErrorInfo_Release(error
);
424 HRESULT __RPC_STUB
ISessionProperties_GetProperties_Stub(ISessionProperties
* This
, ULONG cPropertyIDSets
,
425 const DBPROPIDSET
*rgPropertyIDSets
, ULONG
*pcPropertySets
,
426 DBPROPSET
**prgPropertySets
, IErrorInfo
**ppErrorInfoRem
)
430 TRACE("(%p, %ld, %p, %p, %p, %p)\n", This
, cPropertyIDSets
, rgPropertyIDSets
,
431 pcPropertySets
, prgPropertySets
, ppErrorInfoRem
);
433 hr
= ISessionProperties_GetProperties(This
, cPropertyIDSets
, rgPropertyIDSets
, pcPropertySets
, prgPropertySets
);
434 if (FAILED(hr
)) GetErrorInfo(0, ppErrorInfoRem
);
439 HRESULT CALLBACK
ISessionProperties_SetProperties_Proxy(ISessionProperties
* This
, ULONG cPropertySets
, DBPROPSET rgPropertySets
[])
441 ULONG prop_set
, prop
, total_props
= 0;
442 IErrorInfo
*error
= NULL
;
444 DBPROPSTATUS
*status
;
446 TRACE("(%p, %ld, %p)\n", This
, cPropertySets
, rgPropertySets
);
448 for(prop_set
= 0; prop_set
< cPropertySets
; prop_set
++)
449 total_props
+= rgPropertySets
[prop_set
].cProperties
;
451 if(total_props
== 0) return S_OK
;
453 status
= CoTaskMemAlloc(total_props
* sizeof(*status
));
454 if(!status
) return E_OUTOFMEMORY
;
456 hr
= ISessionProperties_RemoteSetProperties_Proxy(This
, cPropertySets
, rgPropertySets
,
457 total_props
, status
, &error
);
460 SetErrorInfo(0, error
);
461 IErrorInfo_Release(error
);
465 for(prop_set
= 0; prop_set
< cPropertySets
; prop_set
++)
466 for(prop
= 0; prop
< rgPropertySets
[prop_set
].cProperties
; prop
++)
467 rgPropertySets
[prop_set
].rgProperties
[prop
].dwStatus
= status
[total_props
++];
469 CoTaskMemFree(status
);
473 HRESULT __RPC_STUB
ISessionProperties_SetProperties_Stub(ISessionProperties
* This
, ULONG cPropertySets
, DBPROPSET
*rgPropertySets
,
474 ULONG cTotalProps
, DBPROPSTATUS
*rgPropStatus
, IErrorInfo
**ppErrorInfoRem
)
476 ULONG prop_set
, prop
, total_props
= 0;
479 TRACE("(%p, %ld, %p, %ld, %p, %p)\n", This
, cPropertySets
, rgPropertySets
, cTotalProps
,
480 rgPropStatus
, ppErrorInfoRem
);
482 *ppErrorInfoRem
= NULL
;
483 hr
= ISessionProperties_SetProperties(This
, cPropertySets
, rgPropertySets
);
484 if(FAILED(hr
)) GetErrorInfo(0, ppErrorInfoRem
);
486 for(prop_set
= 0; prop_set
< cPropertySets
; prop_set
++)
487 for(prop
= 0; prop
< rgPropertySets
[prop_set
].cProperties
; prop
++)
488 rgPropStatus
[total_props
++] = rgPropertySets
[prop_set
].rgProperties
[prop
].dwStatus
;
493 HRESULT CALLBACK
IOpenRowset_OpenRowset_Proxy(IOpenRowset
* This
, IUnknown
*pUnkOuter
, DBID
*pTableID
, DBID
*pIndexID
,
494 REFIID riid
, ULONG cPropertySets
, DBPROPSET rgPropertySets
[], IUnknown
**ppRowset
)
496 FIXME("(%p, %p, %p, %p, %s, %ld, %p, %p): stub\n", This
, pUnkOuter
, pTableID
, pIndexID
, debugstr_guid(riid
),
497 cPropertySets
, rgPropertySets
, ppRowset
);
501 HRESULT __RPC_STUB
IOpenRowset_OpenRowset_Stub(IOpenRowset
* This
, IUnknown
*pUnkOuter
, DBID
*pTableID
, DBID
*pIndexID
,
502 REFIID riid
, ULONG cPropertySets
, DBPROPSET
*rgPropertySets
,
503 IUnknown
**ppRowset
, ULONG cTotalProps
, DBPROPSTATUS
*rgPropStatus
,
504 IErrorInfo
**ppErrorInfoRem
)
506 FIXME("(%p, %p, %p, %p, %s, %ld, %p, %p, %ld, %p, %p): stub\n", This
, pUnkOuter
, pTableID
, pIndexID
, debugstr_guid(riid
),
507 cPropertySets
, rgPropertySets
, ppRowset
, cTotalProps
, rgPropStatus
, ppErrorInfoRem
);
511 HRESULT CALLBACK
IBindResource_Bind_Proxy(IBindResource
* This
, IUnknown
*pUnkOuter
, LPCOLESTR pwszURL
, DBBINDURLFLAG dwBindURLFlags
,
512 REFGUID rguid
, REFIID riid
, IAuthenticate
*pAuthenticate
, DBIMPLICITSESSION
*pImplSession
,
513 DBBINDURLSTATUS
*pdwBindStatus
, IUnknown
**ppUnk
)
517 TRACE("(%p, %p, %s, %08lx, %s, %s, %p, %p, %p, %p)\n", This
, pUnkOuter
, debugstr_w(pwszURL
), dwBindURLFlags
,
518 debugstr_guid(rguid
), debugstr_guid(riid
), pAuthenticate
, pImplSession
, pdwBindStatus
, ppUnk
);
522 FIXME("Aggregation not supported\n");
523 return CLASS_E_NOAGGREGATION
;
526 hr
= IBindResource_RemoteBind_Proxy(This
, pUnkOuter
, pwszURL
, dwBindURLFlags
, rguid
, riid
, pAuthenticate
,
527 pImplSession
? pImplSession
->pUnkOuter
: NULL
, pImplSession
? pImplSession
->piid
: NULL
,
528 pImplSession
? &pImplSession
->pSession
: NULL
, pdwBindStatus
, ppUnk
);
532 HRESULT __RPC_STUB
IBindResource_Bind_Stub(IBindResource
* This
, IUnknown
*pUnkOuter
, LPCOLESTR pwszURL
, DBBINDURLFLAG dwBindURLFlags
,
533 REFGUID rguid
, REFIID riid
, IAuthenticate
*pAuthenticate
, IUnknown
*pSessionUnkOuter
,
534 IID
*piid
, IUnknown
**ppSession
, DBBINDURLSTATUS
*pdwBindStatus
, IUnknown
**ppUnk
)
537 DBIMPLICITSESSION impl_session
;
538 IWineRowServer
*server
;
542 TRACE("(%p, %p, %s, %08lx, %s, %s, %p, %p, %p, %p, %p, %p)\n", This
, pUnkOuter
, debugstr_w(pwszURL
), dwBindURLFlags
,
543 debugstr_guid(rguid
), debugstr_guid(riid
), pAuthenticate
, pSessionUnkOuter
, piid
, ppSession
, pdwBindStatus
, ppUnk
);
547 if(IsEqualGUID(rguid
, &DBGUID_ROWSET
))
548 hr
= CoCreateInstance(&CLSID_wine_rowset_server
, NULL
, CLSCTX_INPROC_SERVER
, &IID_IWineRowServer
, (void**)&server
);
549 else if(IsEqualGUID(rguid
, &DBGUID_ROW
))
550 hr
= CoCreateInstance(&CLSID_wine_row_server
, NULL
, CLSCTX_INPROC_SERVER
, &IID_IWineRowServer
, (void**)&server
);
554 FIXME("Unhandled object %s\n", debugstr_guid(rguid
));
557 if(FAILED(hr
)) return hr
;
559 impl_session
.pUnkOuter
= pSessionUnkOuter
;
560 impl_session
.piid
= piid
;
561 impl_session
.pSession
= NULL
;
563 IWineRowServer_GetMarshal(server
, &marshal
);
565 hr
= IBindResource_Bind(This
, (IUnknown
*)marshal
, pwszURL
, dwBindURLFlags
, rguid
, &IID_IUnknown
, pAuthenticate
,
566 ppSession
? &impl_session
: NULL
, pdwBindStatus
, &obj
);
568 IMarshal_Release(marshal
);
571 IWineRowServer_Release(server
);
575 IWineRowServer_SetInnerUnk(server
, obj
);
576 hr
= IUnknown_QueryInterface(obj
, riid
, (void**)ppUnk
);
577 IUnknown_Release(obj
);
579 if(ppSession
) *ppSession
= impl_session
.pSession
;
583 HRESULT CALLBACK
ICreateRow_CreateRow_Proxy(ICreateRow
* This
, IUnknown
*pUnkOuter
, LPCOLESTR pwszURL
, DBBINDURLFLAG dwBindURLFlags
,
584 REFGUID rguid
, REFIID riid
, IAuthenticate
*pAuthenticate
, DBIMPLICITSESSION
*pImplSession
,
585 DBBINDURLSTATUS
*pdwBindStatus
, LPOLESTR
*ppwszNewURL
, IUnknown
**ppUnk
)
589 TRACE("(%p, %p, %s, %08lx, %s, %s, %p, %p, %p, %p, %p)\n", This
, pUnkOuter
, debugstr_w(pwszURL
), dwBindURLFlags
,
590 debugstr_guid(rguid
), debugstr_guid(riid
), pAuthenticate
, pImplSession
, pdwBindStatus
, ppwszNewURL
, ppUnk
);
594 FIXME("Aggregation not supported\n");
595 return CLASS_E_NOAGGREGATION
;
598 hr
= ICreateRow_RemoteCreateRow_Proxy(This
, pUnkOuter
, pwszURL
, dwBindURLFlags
, rguid
, riid
, pAuthenticate
,
599 pImplSession
? pImplSession
->pUnkOuter
: NULL
, pImplSession
? pImplSession
->piid
: NULL
,
600 pImplSession
? &pImplSession
->pSession
: NULL
, pdwBindStatus
, ppwszNewURL
, ppUnk
);
604 HRESULT __RPC_STUB
ICreateRow_CreateRow_Stub(ICreateRow
* This
, IUnknown
*pUnkOuter
, LPCOLESTR pwszURL
, DBBINDURLFLAG dwBindURLFlags
,
605 REFGUID rguid
, REFIID riid
, IAuthenticate
*pAuthenticate
, IUnknown
*pSessionUnkOuter
,
606 IID
*piid
, IUnknown
**ppSession
, DBBINDURLSTATUS
*pdwBindStatus
,
607 LPOLESTR
*ppwszNewURL
, IUnknown
**ppUnk
)
610 DBIMPLICITSESSION impl_session
;
611 IWineRowServer
*row_server
;
615 TRACE("(%p, %p, %s, %08lx, %s, %s, %p, %p, %p, %p, %p, %p, %p)\n", This
, pUnkOuter
, debugstr_w(pwszURL
), dwBindURLFlags
,
616 debugstr_guid(rguid
), debugstr_guid(riid
), pAuthenticate
, pSessionUnkOuter
, piid
, ppSession
, pdwBindStatus
, ppwszNewURL
,
621 hr
= CoCreateInstance(&CLSID_wine_row_server
, NULL
, CLSCTX_INPROC_SERVER
, &IID_IWineRowServer
, (void**)&row_server
);
622 if(FAILED(hr
)) return hr
;
624 impl_session
.pUnkOuter
= pSessionUnkOuter
;
625 impl_session
.piid
= piid
;
626 impl_session
.pSession
= NULL
;
628 IWineRowServer_GetMarshal(row_server
, &marshal
);
630 hr
= ICreateRow_CreateRow(This
, (IUnknown
*) marshal
, pwszURL
, dwBindURLFlags
, rguid
, &IID_IUnknown
, pAuthenticate
,
631 ppSession
? &impl_session
: NULL
, pdwBindStatus
, ppwszNewURL
, &obj
);
632 IMarshal_Release(marshal
);
636 IWineRowServer_Release(row_server
);
640 IWineRowServer_SetInnerUnk(row_server
, obj
);
641 hr
= IUnknown_QueryInterface(obj
, riid
, (void**)ppUnk
);
642 IUnknown_Release(obj
);
644 if(ppSession
) *ppSession
= impl_session
.pSession
;
648 HRESULT CALLBACK
IAccessor_AddRefAccessor_Proxy(IAccessor
* This
, HACCESSOR hAccessor
, DBREFCOUNT
*refcount
)
650 IErrorInfo
*errorinfo
;
654 TRACE("(%p)->(%08Ix, %p)\n", This
, hAccessor
, refcount
);
660 hr
= IAccessor_RemoteAddRefAccessor_Proxy(This
, hAccessor
, refcount
, &errorinfo
);
663 SetErrorInfo(0, errorinfo
);
664 IErrorInfo_Release(errorinfo
);
670 HRESULT __RPC_STUB
IAccessor_AddRefAccessor_Stub(IAccessor
* This
, HACCESSOR hAccessor
, DBREFCOUNT
*pcRefCount
,
671 IErrorInfo
**ppErrorInfoRem
)
675 TRACE("(%p)->(%08Ix, %p, %p)\n", This
, hAccessor
, pcRefCount
, ppErrorInfoRem
);
677 hr
= IAccessor_AddRefAccessor(This
, hAccessor
, pcRefCount
);
679 GetErrorInfo(0, ppErrorInfoRem
);
684 HRESULT CALLBACK
IAccessor_CreateAccessor_Proxy(IAccessor
* This
, DBACCESSORFLAGS dwAccessorFlags
, DBCOUNTITEM cBindings
,
685 const DBBINDING rgBindings
[], DBLENGTH cbRowSize
, HACCESSOR
*phAccessor
,
686 DBBINDSTATUS rgStatus
[])
688 IErrorInfo
*error
= NULL
;
692 TRACE("(%p)->(%08lx, %Id, %p, %Id, %p, %p)\n", This
, dwAccessorFlags
, cBindings
, rgBindings
,
693 cbRowSize
, phAccessor
, rgStatus
);
695 for(i
= 0; i
< cBindings
; i
++)
697 TRACE("%Id: ord %Id val off %Id len off %Id stat off %Id part %04lx mem_owner %ld max_len %Id type %04x\n",
698 i
, rgBindings
[i
].iOrdinal
, rgBindings
[i
].obValue
, rgBindings
[i
].obLength
, rgBindings
[i
].obStatus
,
699 rgBindings
[i
].dwPart
, rgBindings
[i
].dwMemOwner
, rgBindings
[i
].cbMaxLen
, rgBindings
[i
].wType
);
702 hr
= IAccessor_RemoteCreateAccessor_Proxy(This
, dwAccessorFlags
, cBindings
, (DBBINDING
*)rgBindings
,
703 cbRowSize
, phAccessor
, rgStatus
, &error
);
706 SetErrorInfo(0, error
);
707 IErrorInfo_Release(error
);
710 TRACE("returning %08lx accessor %Ix\n", hr
, *phAccessor
);
714 HRESULT __RPC_STUB
IAccessor_CreateAccessor_Stub(IAccessor
* This
, DBACCESSORFLAGS dwAccessorFlags
, DBCOUNTITEM cBindings
,
715 DBBINDING
*rgBindings
, DBLENGTH cbRowSize
, HACCESSOR
*phAccessor
,
716 DBBINDSTATUS
*rgStatus
, IErrorInfo
**ppErrorInfoRem
)
720 TRACE("(%p)->(%08lx, %Id, %p, %Id, %p, %p, %p)\n", This
, dwAccessorFlags
, cBindings
, rgBindings
,
721 cbRowSize
, phAccessor
, rgStatus
, ppErrorInfoRem
);
723 *ppErrorInfoRem
= NULL
;
724 hr
= IAccessor_CreateAccessor(This
, dwAccessorFlags
, cBindings
, rgBindings
,
725 cbRowSize
, phAccessor
, rgStatus
);
726 if(FAILED(hr
)) GetErrorInfo(0, ppErrorInfoRem
);
731 HRESULT CALLBACK
IAccessor_GetBindings_Proxy(IAccessor
* This
, HACCESSOR hAccessor
, DBACCESSORFLAGS
*pdwAccessorFlags
,
732 DBCOUNTITEM
*pcBindings
, DBBINDING
**prgBindings
)
734 FIXME("(%p): stub\n", This
);
738 HRESULT __RPC_STUB
IAccessor_GetBindings_Stub(IAccessor
* This
, HACCESSOR hAccessor
, DBACCESSORFLAGS
*pdwAccessorFlags
,
739 DBCOUNTITEM
*pcBindings
, DBBINDING
**prgBindings
, IErrorInfo
**ppErrorInfoRem
)
741 FIXME("(%p): stub\n", This
);
745 HRESULT CALLBACK
IAccessor_ReleaseAccessor_Proxy(IAccessor
* This
, HACCESSOR hAccessor
, DBREFCOUNT
*pcRefCount
)
747 IErrorInfo
*error
= NULL
;
751 TRACE("(%p)->(%Ix, %p)\n", This
, hAccessor
, pcRefCount
);
753 hr
= IAccessor_RemoteReleaseAccessor_Proxy(This
, hAccessor
, &ref
, &error
);
755 if(pcRefCount
) *pcRefCount
= ref
;
758 SetErrorInfo(0, error
);
759 IErrorInfo_Release(error
);
764 HRESULT __RPC_STUB
IAccessor_ReleaseAccessor_Stub(IAccessor
* This
, HACCESSOR hAccessor
, DBREFCOUNT
*pcRefCount
,
765 IErrorInfo
**ppErrorInfoRem
)
769 TRACE("(%p)->(%Ix, %p, %p)\n", This
, hAccessor
, pcRefCount
, ppErrorInfoRem
);
771 *ppErrorInfoRem
= NULL
;
773 hr
= IAccessor_ReleaseAccessor(This
, hAccessor
, pcRefCount
);
775 if(FAILED(hr
)) GetErrorInfo(0, ppErrorInfoRem
);
779 HRESULT CALLBACK
IRowsetInfo_GetProperties_Proxy(IRowsetInfo
* This
, const ULONG cPropertyIDSets
, const DBPROPIDSET rgPropertyIDSets
[],
780 ULONG
*pcPropertySets
, DBPROPSET
**prgPropertySets
)
782 IErrorInfo
*error
= NULL
;
786 TRACE("(%p)->(%ld, %p, %p, %p)\n", This
, cPropertyIDSets
, rgPropertyIDSets
, pcPropertySets
, prgPropertySets
);
788 for(i
= 0; i
< cPropertyIDSets
; i
++)
791 TRACE("%ld: %s %ld props\n", i
, debugstr_guid(&rgPropertyIDSets
[i
].guidPropertySet
), rgPropertyIDSets
[i
].cPropertyIDs
);
792 for(j
= 0; j
< rgPropertyIDSets
[i
].cPropertyIDs
; j
++)
793 TRACE("\t%u: prop id %ld\n", j
, rgPropertyIDSets
[i
].rgPropertyIDs
[j
]);
796 hr
= IRowsetInfo_RemoteGetProperties_Proxy(This
, cPropertyIDSets
, rgPropertyIDSets
, pcPropertySets
, prgPropertySets
, &error
);
800 SetErrorInfo(0, error
);
801 IErrorInfo_Release(error
);
806 HRESULT __RPC_STUB
IRowsetInfo_GetProperties_Stub(IRowsetInfo
* This
, ULONG cPropertyIDSets
, const DBPROPIDSET
*rgPropertyIDSets
,
807 ULONG
*pcPropertySets
, DBPROPSET
**prgPropertySets
, IErrorInfo
**ppErrorInfoRem
)
811 TRACE("(%p)->(%ld, %p, %p, %p, %p)\n", This
, cPropertyIDSets
, rgPropertyIDSets
, pcPropertySets
, prgPropertySets
, ppErrorInfoRem
);
813 *ppErrorInfoRem
= NULL
;
815 hr
= IRowsetInfo_GetProperties(This
, cPropertyIDSets
, rgPropertyIDSets
, pcPropertySets
, prgPropertySets
);
816 if(FAILED(hr
)) GetErrorInfo(0, ppErrorInfoRem
);
817 TRACE("returning %08lx\n", hr
);
821 HRESULT CALLBACK
IRowsetInfo_GetReferencedRowset_Proxy(IRowsetInfo
* This
, DBORDINAL iOrdinal
, REFIID riid
, IUnknown
**ppReferencedRowset
)
823 IErrorInfo
*error
= NULL
;
826 TRACE("(%p)->(%Id, %s, %p)\n", This
, iOrdinal
, debugstr_guid(riid
), ppReferencedRowset
);
828 hr
= IRowsetInfo_RemoteGetReferencedRowset_Proxy(This
, iOrdinal
, riid
, ppReferencedRowset
, &error
);
831 SetErrorInfo(0, error
);
832 IErrorInfo_Release(error
);
838 HRESULT __RPC_STUB
IRowsetInfo_GetReferencedRowset_Stub(IRowsetInfo
* This
, DBORDINAL iOrdinal
, REFIID riid
, IUnknown
**ppReferencedRowset
,
839 IErrorInfo
**ppErrorInfoRem
)
843 TRACE("(%p)->(%Id, %s, %p, %p)\n", This
, iOrdinal
, debugstr_guid(riid
), ppReferencedRowset
, ppErrorInfoRem
);
845 hr
= IRowsetInfo_GetReferencedRowset(This
, iOrdinal
, riid
, ppReferencedRowset
);
846 if (FAILED(hr
)) GetErrorInfo(0, ppErrorInfoRem
);
851 HRESULT CALLBACK
IRowsetInfo_GetSpecification_Proxy(IRowsetInfo
* This
, REFIID riid
, IUnknown
**ppSpecification
)
853 IErrorInfo
*error
= NULL
;
856 TRACE("(%p)->(%s, %p)\n", This
, debugstr_guid(riid
), ppSpecification
);
858 hr
= IRowsetInfo_RemoteGetSpecification_Proxy(This
, riid
, ppSpecification
, &error
);
861 SetErrorInfo(0, error
);
862 IErrorInfo_Release(error
);
868 HRESULT __RPC_STUB
IRowsetInfo_GetSpecification_Stub(IRowsetInfo
* This
, REFIID riid
, IUnknown
**ppSpecification
, IErrorInfo
**ppErrorInfoRem
)
872 TRACE("(%p)->(%s, %p, %p)\n", This
, debugstr_guid(riid
), ppSpecification
, ppErrorInfoRem
);
874 hr
= IRowsetInfo_GetSpecification(This
, riid
, ppSpecification
);
875 if (FAILED(hr
)) GetErrorInfo(0, ppErrorInfoRem
);
880 HRESULT CALLBACK
ICommand_Cancel_Proxy(ICommand
* This
)
882 IErrorInfo
*error
= NULL
;
885 TRACE("(%p)\n", This
);
887 hr
= ICommand_RemoteCancel_Proxy(This
, &error
);
890 SetErrorInfo(0, error
);
891 IErrorInfo_Release(error
);
897 HRESULT __RPC_STUB
ICommand_Cancel_Stub(ICommand
* This
, IErrorInfo
**ppErrorInfoRem
)
901 TRACE("(%p)->(%p)\n", This
, ppErrorInfoRem
);
903 hr
= ICommand_Cancel(This
);
904 if (FAILED(hr
)) GetErrorInfo(0, ppErrorInfoRem
);
909 HRESULT CALLBACK
ICommand_Execute_Proxy(ICommand
* This
, IUnknown
*pUnkOuter
, REFIID riid
,
910 DBPARAMS
*pParams
, DBROWCOUNT
*pcRowsAffected
, IUnknown
**ppRowset
)
917 TRACE("(%p)->(%p, %s, %p, %p, %p)\n", This
, pUnkOuter
, debugstr_guid(riid
), pParams
,
918 pcRowsAffected
, ppRowset
);
922 FIXME("Unhandled params {%p, %Id, %08Ix}\n", pParams
->pData
, pParams
->cParamSets
, pParams
->hAccessor
);
928 FIXME("Aggregation not supported\n");
929 return CLASS_E_NOAGGREGATION
;
932 hr
= ICommand_RemoteExecute_Proxy(This
, pUnkOuter
, riid
, 0, 0, NULL
, 0, NULL
, NULL
, 0, NULL
, NULL
, &affected
,
935 TRACE("Execute returns %08lx\n", hr
);
937 if(pcRowsAffected
) *pcRowsAffected
= affected
;
942 HRESULT __RPC_STUB
ICommand_Execute_Stub(ICommand
* This
, IUnknown
*pUnkOuter
, REFIID riid
, HACCESSOR hAccessor
,
943 DB_UPARAMS cParamSets
, GUID
*pGuid
, ULONG ulGuidOffset
, RMTPACK
*pInputParams
,
944 RMTPACK
*pOutputParams
, DBCOUNTITEM cBindings
, DBBINDING
*rgBindings
,
945 DBSTATUS
*rgStatus
, DBROWCOUNT
*pcRowsAffected
, IUnknown
**ppRowset
)
947 IWineRowServer
*rowset_server
;
949 IUnknown
*obj
= NULL
;
952 TRACE("(%p)->(%p, %s, %08Ix, %Id, %p, %ld, %p, %p, %Id, %p, %p, %p, %p)\n", This
, pUnkOuter
, debugstr_guid(riid
),
953 hAccessor
, cParamSets
, pGuid
, ulGuidOffset
, pInputParams
, pOutputParams
, cBindings
, rgBindings
, rgStatus
,
954 pcRowsAffected
, ppRowset
);
958 hr
= CoCreateInstance(&CLSID_wine_rowset_server
, NULL
, CLSCTX_INPROC_SERVER
, &IID_IWineRowServer
, (void**)&rowset_server
);
959 if(FAILED(hr
)) return hr
;
961 IWineRowServer_GetMarshal(rowset_server
, &marshal
);
963 hr
= ICommand_Execute(This
, (IUnknown
*)marshal
, &IID_IUnknown
, NULL
, pcRowsAffected
, &obj
);
965 IMarshal_Release(marshal
);
969 IWineRowServer_Release(rowset_server
);
973 IWineRowServer_SetInnerUnk(rowset_server
, obj
);
974 hr
= IUnknown_QueryInterface(obj
, riid
, (void**)ppRowset
);
975 IUnknown_Release(obj
);
980 HRESULT CALLBACK
ICommand_GetDBSession_Proxy(ICommand
* This
, REFIID riid
, IUnknown
**ppSession
)
982 IErrorInfo
*error
= NULL
;
985 TRACE("(%p)->(%s, %p)\n", This
, debugstr_guid(riid
), ppSession
);
987 hr
= ICommand_RemoteGetDBSession_Proxy(This
, riid
, ppSession
, &error
);
990 SetErrorInfo(0, error
);
991 IErrorInfo_Release(error
);
997 HRESULT __RPC_STUB
ICommand_GetDBSession_Stub(ICommand
* This
, REFIID riid
, IUnknown
**ppSession
, IErrorInfo
**ppErrorInfoRem
)
1001 TRACE("(%p)->(%s, %p, %p)\n", This
, debugstr_guid(riid
), ppSession
, ppErrorInfoRem
);
1003 hr
= ICommand_GetDBSession(This
, riid
, ppSession
);
1004 if (FAILED(hr
)) GetErrorInfo(0, ppErrorInfoRem
);
1009 HRESULT CALLBACK
ICommandText_GetCommandText_Proxy(ICommandText
* This
, GUID
*pguidDialect
, LPOLESTR
*ppwszCommand
)
1011 IErrorInfo
*error
= NULL
;
1014 TRACE("(%p)->(%p, %p)\n", This
, pguidDialect
, ppwszCommand
);
1016 hr
= ICommandText_RemoteGetCommandText_Proxy(This
, pguidDialect
, ppwszCommand
, &error
);
1019 SetErrorInfo(0, error
);
1020 IErrorInfo_Release(error
);
1026 HRESULT __RPC_STUB
ICommandText_GetCommandText_Stub(ICommandText
* This
, GUID
*pguidDialect
,
1027 LPOLESTR
*ppwszCommand
, IErrorInfo
**ppErrorInfoRem
)
1031 TRACE("(%p)->(%p, %p, %p)\n", This
, pguidDialect
, ppwszCommand
, ppErrorInfoRem
);
1033 hr
= ICommandText_GetCommandText(This
, pguidDialect
, ppwszCommand
);
1034 if (FAILED(hr
)) GetErrorInfo(0, ppErrorInfoRem
);
1039 HRESULT CALLBACK
ICommandText_SetCommandText_Proxy(ICommandText
* This
, REFGUID rguidDialect
, LPCOLESTR pwszCommand
)
1041 IErrorInfo
*error
= NULL
;
1044 TRACE("(%p)->(%s, %s)\n", This
, debugstr_guid(rguidDialect
), debugstr_w(pwszCommand
));
1046 hr
= ICommandText_RemoteSetCommandText_Proxy(This
, rguidDialect
, pwszCommand
, &error
);
1049 SetErrorInfo(0, error
);
1050 IErrorInfo_Release(error
);
1055 HRESULT __RPC_STUB
ICommandText_SetCommandText_Stub(ICommandText
* This
, REFGUID rguidDialect
, LPCOLESTR pwszCommand
,
1056 IErrorInfo
**ppErrorInfoRem
)
1060 TRACE("(%p)->(%s, %s, %p)\n", This
, debugstr_guid(rguidDialect
), debugstr_w(pwszCommand
),
1063 *ppErrorInfoRem
= NULL
;
1064 hr
= ICommandText_SetCommandText(This
, rguidDialect
, pwszCommand
);
1065 if(FAILED(hr
)) GetErrorInfo(0, ppErrorInfoRem
);
1070 HRESULT CALLBACK
IDBAsynchNotify_OnLowResource_Proxy(IDBAsynchNotify
* This
, DB_DWRESERVE dwReserved
)
1072 TRACE("(%p)->(%08Ix)\n", This
, dwReserved
);
1073 return IDBAsynchNotify_RemoteOnLowResource_Proxy(This
, dwReserved
);
1076 HRESULT __RPC_STUB
IDBAsynchNotify_OnLowResource_Stub(IDBAsynchNotify
* This
, DB_DWRESERVE dwReserved
)
1078 TRACE("(%p)->(%08Ix)\n", This
, dwReserved
);
1079 return IDBAsynchNotify_OnLowResource(This
, dwReserved
);
1082 HRESULT CALLBACK
IDBAsynchNotify_OnProgress_Proxy(IDBAsynchNotify
* This
, HCHAPTER hChapter
, DBASYNCHOP eOperation
,
1083 DBCOUNTITEM ulProgress
, DBCOUNTITEM ulProgressMax
, DBASYNCHPHASE eAsynchPhase
,
1084 LPOLESTR pwszStatusText
)
1086 TRACE("(%p)->(%Ix, %ld, %Id, %Id, %ld, %s)\n", This
, hChapter
, eOperation
, ulProgress
, ulProgressMax
,
1087 eAsynchPhase
, debugstr_w(pwszStatusText
));
1089 return IDBAsynchNotify_RemoteOnProgress_Proxy(This
, hChapter
, eOperation
, ulProgress
, ulProgressMax
, eAsynchPhase
,
1093 HRESULT __RPC_STUB
IDBAsynchNotify_OnProgress_Stub(IDBAsynchNotify
* This
, HCHAPTER hChapter
, DBASYNCHOP eOperation
,
1094 DBCOUNTITEM ulProgress
, DBCOUNTITEM ulProgressMax
, DBASYNCHPHASE eAsynchPhase
,
1095 LPOLESTR pwszStatusText
)
1097 TRACE("(%p)->(%Ix, %ld, %Id, %Id, %ld, %s)\n", This
, hChapter
, eOperation
, ulProgress
, ulProgressMax
,
1098 eAsynchPhase
, debugstr_w(pwszStatusText
));
1099 return IDBAsynchNotify_OnProgress(This
, hChapter
, eOperation
, ulProgress
, ulProgressMax
, eAsynchPhase
,
1103 HRESULT CALLBACK
IDBAsynchNotify_OnStop_Proxy(IDBAsynchNotify
* This
, HCHAPTER hChapter
, DBASYNCHOP eOperation
,
1104 HRESULT hrStatus
, LPOLESTR pwszStatusText
)
1106 TRACE("(%p)->(%Ix, %ld, %08lx, %s)\n", This
, hChapter
, eOperation
, hrStatus
, debugstr_w(pwszStatusText
));
1107 return IDBAsynchNotify_RemoteOnStop_Proxy(This
, hChapter
, eOperation
, hrStatus
, pwszStatusText
);
1110 HRESULT __RPC_STUB
IDBAsynchNotify_OnStop_Stub(IDBAsynchNotify
* This
, HCHAPTER hChapter
, DBASYNCHOP eOperation
,
1111 HRESULT hrStatus
, LPOLESTR pwszStatusText
)
1113 TRACE("(%p)->(%Ix, %ld, %08lx, %s)\n", This
, hChapter
, eOperation
, hrStatus
, debugstr_w(pwszStatusText
));
1114 return IDBAsynchNotify_OnStop(This
, hChapter
, eOperation
, hrStatus
, pwszStatusText
);
1117 HRESULT CALLBACK
IDBAsynchStatus_Abort_Proxy(IDBAsynchStatus
* This
, HCHAPTER hChapter
, DBASYNCHOP eOperation
)
1119 IErrorInfo
*error
= NULL
;
1122 TRACE("(%p)->(%Ix, %ld)\n", This
, hChapter
, eOperation
);
1124 hr
= IDBAsynchStatus_RemoteAbort_Proxy(This
, hChapter
, eOperation
, &error
);
1127 SetErrorInfo(0, error
);
1128 IErrorInfo_Release(error
);
1133 HRESULT __RPC_STUB
IDBAsynchStatus_Abort_Stub(IDBAsynchStatus
* This
, HCHAPTER hChapter
, DBASYNCHOP eOperation
,
1134 IErrorInfo
**ppErrorInfoRem
)
1138 TRACE("(%p)->(%Ix, %ld, %p)\n", This
, hChapter
, eOperation
, ppErrorInfoRem
);
1140 *ppErrorInfoRem
= NULL
;
1141 hr
= IDBAsynchStatus_Abort(This
, hChapter
, eOperation
);
1142 if(FAILED(hr
)) GetErrorInfo(0, ppErrorInfoRem
);
1147 HRESULT CALLBACK
IDBAsynchStatus_GetStatus_Proxy(IDBAsynchStatus
* This
, HCHAPTER hChapter
, DBASYNCHOP eOperation
,
1148 DBCOUNTITEM
*pulProgress
, DBCOUNTITEM
*pulProgressMax
, DBASYNCHPHASE
*peAsynchPhase
,
1149 LPOLESTR
*ppwszStatusText
)
1151 IErrorInfo
*error
= NULL
;
1154 TRACE("(%p)->(%Ix, %ld, %p, %p, %p, %p)\n", This
, hChapter
, eOperation
, pulProgress
, pulProgressMax
,
1155 peAsynchPhase
, ppwszStatusText
);
1157 hr
= IDBAsynchStatus_RemoteGetStatus_Proxy(This
, hChapter
, eOperation
, pulProgress
, pulProgressMax
, peAsynchPhase
,
1158 ppwszStatusText
, &error
);
1161 SetErrorInfo(0, error
);
1162 IErrorInfo_Release(error
);
1167 HRESULT __RPC_STUB
IDBAsynchStatus_GetStatus_Stub(IDBAsynchStatus
* This
, HCHAPTER hChapter
, DBASYNCHOP eOperation
,
1168 DBCOUNTITEM
*pulProgress
, DBCOUNTITEM
*pulProgressMax
, DBASYNCHPHASE
*peAsynchPhase
,
1169 LPOLESTR
*ppwszStatusText
, IErrorInfo
**ppErrorInfoRem
)
1173 TRACE("(%p)->(%Ix, %ld, %p, %p, %p, %p, %p)\n", This
, hChapter
, eOperation
, pulProgress
, pulProgressMax
,
1174 peAsynchPhase
, ppwszStatusText
, ppErrorInfoRem
);
1176 *ppErrorInfoRem
= NULL
;
1177 hr
= IDBAsynchStatus_GetStatus(This
, hChapter
, eOperation
, pulProgress
, pulProgressMax
, peAsynchPhase
, ppwszStatusText
);
1178 if(FAILED(hr
)) GetErrorInfo(0, ppErrorInfoRem
);
1183 HRESULT CALLBACK
IRowsetNotify_OnRowChange_Proxy(IRowsetNotify
* This
, IRowset
*rowset
, DBCOUNTITEM rows
, HROW
*hrows
, DBREASON reason
,
1184 DBEVENTPHASE phase
, BOOL cantdeny
)
1186 TRACE("(%p)->(%p %Id %p %ld %ld %d)\n", This
, rowset
, rows
, hrows
, reason
, phase
, cantdeny
);
1187 return IRowsetNotify_RemoteOnRowChange_Proxy(This
, rowset
, rows
, hrows
, reason
, phase
, cantdeny
);
1190 HRESULT __RPC_STUB
IRowsetNotify_OnRowChange_Stub(IRowsetNotify
* This
, IRowset
*rowset
, DBCOUNTITEM rows
, HROW
*hrows
, DBREASON reason
,
1191 DBEVENTPHASE phase
, BOOL cantdeny
)
1193 TRACE("(%p)->(%p %Id %p %ld %ld %d)\n", This
, rowset
, rows
, hrows
, reason
, phase
, cantdeny
);
1194 return IRowsetNotify_OnRowChange(This
, rowset
, rows
, hrows
, reason
, phase
, cantdeny
);
1197 HRESULT CALLBACK
IRowsetNotify_OnFieldChange_Proxy(IRowsetNotify
* This
, IRowset
*rowset
, HROW row
, DBORDINAL ccols
, DBORDINAL
*columns
,
1198 DBREASON reason
, DBEVENTPHASE phase
, BOOL cantdeny
)
1200 TRACE("(%p)->(%p %Ix %Id %p %ld %ld %d)\n", This
, rowset
, row
, ccols
, columns
, reason
, phase
, cantdeny
);
1201 return IRowsetNotify_RemoteOnFieldChange_Proxy(This
, rowset
, row
, ccols
, columns
, reason
, phase
, cantdeny
);
1204 HRESULT __RPC_STUB
IRowsetNotify_OnFieldChange_Stub(IRowsetNotify
* This
, IRowset
*rowset
, HROW row
, DBORDINAL ccols
, DBORDINAL
*columns
,
1205 DBREASON reason
, DBEVENTPHASE phase
, BOOL cantdeny
)
1207 TRACE("(%p)->(%p %Ix %Id %p %ld %ld %d)\n", This
, rowset
, row
, ccols
, columns
, reason
, phase
, cantdeny
);
1208 return IRowsetNotify_OnFieldChange(This
, rowset
, row
, ccols
, columns
, reason
, phase
, cantdeny
);
1211 HRESULT CALLBACK
IRowsetNotify_OnRowsetChange_Proxy(IRowsetNotify
* This
, IRowset
*rowset
, DBREASON reason
, DBEVENTPHASE phase
, BOOL cantdeny
)
1213 TRACE("(%p)->(%p %ld %ld %d)\n", This
, rowset
, reason
, phase
, cantdeny
);
1214 return IRowsetNotify_RemoteOnRowsetChange_Proxy(This
, rowset
, reason
, phase
, cantdeny
);
1217 HRESULT __RPC_STUB
IRowsetNotify_OnRowsetChange_Stub(IRowsetNotify
* This
, IRowset
*rowset
, DBREASON reason
, DBEVENTPHASE phase
, BOOL cantdeny
)
1219 TRACE("(%p)->(%p %ld %ld %d)\n", This
, rowset
, reason
, phase
, cantdeny
);
1220 return IRowsetNotify_OnRowsetChange(This
, rowset
, reason
, phase
, cantdeny
);
1224 HRESULT CALLBACK
ISourcesRowset_GetSourcesRowset_Proxy(ISourcesRowset
* This
, IUnknown
*pUnkOuter
, REFIID riid
, ULONG cPropertySets
,
1225 DBPROPSET rgProperties
[], IUnknown
**ppSourcesRowset
)
1227 IErrorInfo
*error
= NULL
;
1230 TRACE("(%p)->(%p %s %ld %p %p)\n", This
, pUnkOuter
, debugstr_guid(riid
), cPropertySets
, rgProperties
, ppSourcesRowset
);
1232 hr
= ISourcesRowset_RemoteGetSourcesRowset_Proxy(This
, pUnkOuter
, riid
, cPropertySets
, rgProperties
, ppSourcesRowset
, 0, NULL
, &error
);
1235 SetErrorInfo(0, error
);
1236 IErrorInfo_Release(error
);
1242 HRESULT __RPC_STUB
ISourcesRowset_GetSourcesRowset_Stub(ISourcesRowset
* This
, IUnknown
*pUnkOuter
, REFIID riid
, ULONG cPropertySets
,
1243 DBPROPSET
*rgProperties
, IUnknown
**ppSourcesRowset
, ULONG cTotalProps
, DBPROPSTATUS
*rgPropStatus
,
1244 IErrorInfo
**ppErrorInfoRem
)
1248 TRACE("(%p)->(%p %s %ld %p %p %ld %p %p)\n", This
, pUnkOuter
, debugstr_guid(riid
), cPropertySets
, rgProperties
, ppSourcesRowset
,
1249 cTotalProps
, rgPropStatus
, ppErrorInfoRem
);
1251 *ppErrorInfoRem
= NULL
;
1252 hr
= ISourcesRowset_GetSourcesRowset(This
, pUnkOuter
, riid
, cPropertySets
, rgProperties
, ppSourcesRowset
);
1254 GetErrorInfo(0, ppErrorInfoRem
);
1259 HRESULT CALLBACK
IErrorRecords_GetRecordCount_Proxy(IErrorRecords
* This
, ULONG
*records
)
1261 IErrorInfo
*error
= NULL
;
1264 TRACE("(%p)->%p\n", This
, records
);
1266 hr
= IErrorRecords_RemoteGetRecordCount_Proxy(This
, records
, &error
);
1269 SetErrorInfo(0, error
);
1270 IErrorInfo_Release(error
);
1276 HRESULT __RPC_STUB
IErrorRecords_GetRecordCount_Stub(IErrorRecords
* This
, ULONG
*pcRecords
, IErrorInfo
**ppErrorInfoRem
)
1280 TRACE("(%p)->%p %p\n", This
, pcRecords
, ppErrorInfoRem
);
1282 *ppErrorInfoRem
= NULL
;
1283 hr
= IErrorRecords_GetRecordCount(This
, pcRecords
);
1285 GetErrorInfo(0, ppErrorInfoRem
);
1290 HRESULT CALLBACK
IErrorRecords_GetErrorParameters_Proxy(IErrorRecords
* This
, ULONG ulRecordNum
, DISPPARAMS
*pdispparams
)
1292 IErrorInfo
*error
= NULL
;
1295 TRACE("(%p)->%ld %p\n", This
, ulRecordNum
, pdispparams
);
1297 hr
= IErrorRecords_RemoteGetErrorParameters_Proxy(This
, ulRecordNum
, pdispparams
, &error
);
1300 SetErrorInfo(0, error
);
1301 IErrorInfo_Release(error
);
1307 HRESULT __RPC_STUB
IErrorRecords_GetErrorParameters_Stub(IErrorRecords
* This
, ULONG ulRecordNum
, DISPPARAMS
*pdispparams
,
1308 IErrorInfo
**ppErrorInfoRem
)
1312 TRACE("(%p)->%ld %p %p\n", This
, ulRecordNum
, pdispparams
, ppErrorInfoRem
);
1314 *ppErrorInfoRem
= NULL
;
1315 hr
= IErrorRecords_GetErrorParameters(This
, ulRecordNum
, pdispparams
);
1317 GetErrorInfo(0, ppErrorInfoRem
);
1322 HRESULT CALLBACK
IErrorRecords_GetErrorInfo_Proxy(IErrorRecords
* This
, ULONG ulRecordNum
, LCID lcid
, IErrorInfo
**ppErrorInfo
)
1324 IErrorInfo
*error
= NULL
;
1327 TRACE("(%p)->%ld %ld %p\n", This
, ulRecordNum
, lcid
, ppErrorInfo
);
1329 hr
= IErrorRecords_RemoteGetErrorInfo_Proxy(This
, ulRecordNum
, lcid
, ppErrorInfo
, &error
);
1332 SetErrorInfo(0, error
);
1333 IErrorInfo_Release(error
);
1339 HRESULT __RPC_STUB
IErrorRecords_GetErrorInfo_Stub(IErrorRecords
* This
, ULONG ulRecordNum
, LCID lcid
,
1340 IErrorInfo
**ppErrorInfo
, IErrorInfo
**ppErrorInfoRem
)
1344 TRACE("(%p)->%ld %ld %p %p\n", This
, ulRecordNum
, lcid
, ppErrorInfo
, ppErrorInfoRem
);
1346 *ppErrorInfoRem
= NULL
;
1347 hr
= IErrorRecords_GetErrorInfo(This
, ulRecordNum
, lcid
, ppErrorInfo
);
1349 GetErrorInfo(0, ppErrorInfoRem
);
1354 HRESULT CALLBACK
IErrorRecords_GetCustomErrorObject_Proxy(IErrorRecords
* This
, ULONG ulRecordNum
, REFIID riid
,
1355 IUnknown
**ppObject
)
1357 IErrorInfo
*error
= NULL
;
1360 TRACE("(%p)->%ld %s %p\n", This
, ulRecordNum
, debugstr_guid(riid
), ppObject
);
1362 hr
= IErrorRecords_RemoteGetCustomErrorObject_Proxy(This
, ulRecordNum
, riid
, ppObject
, &error
);
1365 SetErrorInfo(0, error
);
1366 IErrorInfo_Release(error
);
1371 HRESULT __RPC_STUB
IErrorRecords_GetCustomErrorObject_Stub(IErrorRecords
* This
, ULONG ulRecordNum
, REFIID riid
,
1372 IUnknown
**ppObject
, IErrorInfo
**ppErrorInfoRem
)
1376 TRACE("(%p)->%ld %s %p %p\n", This
, ulRecordNum
, debugstr_guid(riid
), ppObject
, ppErrorInfoRem
);
1378 *ppErrorInfoRem
= NULL
;
1379 hr
= IErrorRecords_GetCustomErrorObject(This
, ulRecordNum
, riid
, ppObject
);
1381 GetErrorInfo(0, ppErrorInfoRem
);
1386 HRESULT CALLBACK
IErrorRecords_GetBasicErrorInfo_Proxy(IErrorRecords
* This
, ULONG ulRecordNum
, ERRORINFO
*pErrorInfo
)
1388 IErrorInfo
*error
= NULL
;
1391 TRACE("(%p)->%ld %p\n", This
, ulRecordNum
, pErrorInfo
);
1393 hr
= IErrorRecords_RemoteGetBasicErrorInfo_Proxy(This
, ulRecordNum
, pErrorInfo
, &error
);
1396 SetErrorInfo(0, error
);
1397 IErrorInfo_Release(error
);
1403 HRESULT __RPC_STUB
IErrorRecords_GetBasicErrorInfo_Stub(IErrorRecords
* This
, ULONG ulRecordNum
, ERRORINFO
*pErrorInfo
,
1404 IErrorInfo
**ppErrorInfoRem
)
1408 TRACE("(%p)->%ld %p %p\n", This
, ulRecordNum
, pErrorInfo
, ppErrorInfoRem
);
1410 *ppErrorInfoRem
= NULL
;
1411 hr
= IErrorRecords_GetBasicErrorInfo(This
, ulRecordNum
, pErrorInfo
);
1413 GetErrorInfo(0, ppErrorInfoRem
);
1418 HRESULT CALLBACK
IErrorRecords_AddErrorRecord_Proxy(IErrorRecords
* This
, ERRORINFO
*pErrorInfo
, DWORD dwLookupID
,
1419 DISPPARAMS
*pdispparams
, IUnknown
*punkCustomError
, DWORD dwDynamicErrorID
)
1421 IErrorInfo
*error
= NULL
;
1424 TRACE("(%p)->%p %ld %p %p %ld\n", This
, pErrorInfo
, dwLookupID
, pdispparams
, punkCustomError
, dwDynamicErrorID
);
1426 hr
= IErrorRecords_RemoteAddErrorRecord_Proxy(This
, pErrorInfo
, dwLookupID
, pdispparams
, punkCustomError
,
1427 dwDynamicErrorID
, &error
);
1430 SetErrorInfo(0, error
);
1431 IErrorInfo_Release(error
);
1436 HRESULT __RPC_STUB
IErrorRecords_AddErrorRecord_Stub(IErrorRecords
* This
, ERRORINFO
*pErrorInfo
, DWORD dwLookupID
,
1437 DISPPARAMS
*pdispparams
, IUnknown
*punkCustomError
, DWORD dwDynamicErrorID
, IErrorInfo
**ppErrorInfoRem
)
1441 TRACE("(%p)->%p %ld %p %p %ld %p\n", This
, pErrorInfo
, dwLookupID
, pdispparams
, punkCustomError
,
1442 dwDynamicErrorID
, ppErrorInfoRem
);
1444 *ppErrorInfoRem
= NULL
;
1445 hr
= IErrorRecords_AddErrorRecord(This
, pErrorInfo
, dwLookupID
, pdispparams
, punkCustomError
, dwDynamicErrorID
);
1447 GetErrorInfo(0, ppErrorInfoRem
);
1452 HRESULT __RPC_STUB
IRowPosition_Initialize_Stub(IRowPosition
* This
, IUnknown
*rowset
, IErrorInfo
**errorinfo
)
1454 FIXME("(%p)->(%p %p): stub\n", This
, rowset
, errorinfo
);
1458 HRESULT __RPC_STUB
IRowPosition_SetRowPosition_Stub(IRowPosition
* This
, HCHAPTER chapter
, HROW row
, DBPOSITIONFLAGS flags
, IErrorInfo
**errorinfo
)
1460 FIXME("(%p)->(%Ix %Ix %ld %p): stub\n", This
, chapter
, row
, flags
, errorinfo
);
1464 HRESULT __RPC_STUB
IRowPosition_GetRowset_Stub(IRowPosition
* This
, REFIID riid
, IUnknown
**rowset
, IErrorInfo
**errorinfo
)
1466 FIXME("(%p)->(%s %p %p): stub\n", This
, debugstr_guid(riid
), rowset
, errorinfo
);
1470 HRESULT __RPC_STUB
IRowPosition_GetRowPosition_Stub(IRowPosition
* This
, HCHAPTER
*chapter
, HROW
*row
, DBPOSITIONFLAGS
*flags
, IErrorInfo
**errorinfo
)
1472 FIXME("(%p)->(%p %p %p %p): stub\n", This
, chapter
, row
, flags
, errorinfo
);
1476 HRESULT __RPC_STUB
IRowPosition_ClearRowPosition_Stub(IRowPosition
* This
, IErrorInfo
**errorinfo
)
1478 FIXME("(%p)->(%p): stub\n", This
, errorinfo
);
1482 HRESULT CALLBACK
IRowPosition_ClearRowPosition_Proxy(IRowPosition
* This
)
1484 FIXME("(%p): stub\n", This
);
1488 HRESULT CALLBACK
IRowPosition_GetRowPosition_Proxy(IRowPosition
* This
, HCHAPTER
*chapter
, HROW
*row
, DBPOSITIONFLAGS
*flags
)
1490 FIXME("(%p)->(%p %p %p): stub\n", This
, chapter
, row
, flags
);
1494 HRESULT CALLBACK
IRowPosition_GetRowset_Proxy(IRowPosition
* This
, REFIID riid
, IUnknown
**rowset
)
1496 FIXME("(%p)->(%s %p): stub\n", This
, debugstr_guid(riid
), rowset
);
1500 HRESULT CALLBACK
IRowPosition_Initialize_Proxy(IRowPosition
* This
, IUnknown
*rowset
)
1502 FIXME("(%p)->(%p): stub\n", This
, rowset
);
1506 HRESULT CALLBACK
IRowPosition_SetRowPosition_Proxy(IRowPosition
* This
, HCHAPTER chapter
, HROW row
, DBPOSITIONFLAGS flags
)
1508 FIXME("(%p)->(%Ix %Ix %ld): stub\n", This
, chapter
, row
, flags
);
1512 HRESULT __RPC_STUB
IRowPositionChange_OnRowPositionChange_Stub(IRowPositionChange
* This
, DBREASON reason
, DBEVENTPHASE phase
,
1513 BOOL cant_deny
, IErrorInfo
**errorinfo
)
1515 FIXME("(%p)->(0x%lx 0x%lx %d %p): stub\n", This
, reason
, phase
, cant_deny
, errorinfo
);
1519 HRESULT CALLBACK
IRowPositionChange_OnRowPositionChange_Proxy(IRowPositionChange
* This
, DBREASON reason
, DBEVENTPHASE phase
,
1522 FIXME("(%p)->(0x%lx 0x%lx %d): stub\n", This
, reason
, phase
, cant_deny
);
1526 HRESULT __RPC_STUB
IChapteredRowset_ReleaseChapter_Stub(IChapteredRowset
* This
, HCHAPTER chapter
, DBREFCOUNT
*refcount
, IErrorInfo
**errorinfo
)
1528 FIXME("(%p)->(%Ix %p %p): stub\n", This
, chapter
, refcount
, errorinfo
);
1532 HRESULT __RPC_STUB
IChapteredRowset_AddRefChapter_Stub(IChapteredRowset
* This
, HCHAPTER chapter
, DBREFCOUNT
*refcount
, IErrorInfo
**errorinfo
)
1534 FIXME("(%p)->(%Ix %p %p): stub\n", This
, chapter
, refcount
, errorinfo
);
1538 HRESULT CALLBACK
IChapteredRowset_AddRefChapter_Proxy(IChapteredRowset
* This
, HCHAPTER chapter
, DBREFCOUNT
*refcount
)
1540 FIXME("(%p)->(%Ix %p): stub\n", This
, chapter
, refcount
);
1544 HRESULT CALLBACK
IChapteredRowset_ReleaseChapter_Proxy(IChapteredRowset
* This
, HCHAPTER chapter
, DBREFCOUNT
*refcount
)
1546 FIXME("(%p)->(%Ix %p): stub\n", This
, chapter
, refcount
);
1550 HRESULT CALLBACK
IColumnsInfo_GetColumnInfo_Proxy(IColumnsInfo
* This
, DBORDINAL
*columns
,
1551 DBCOLUMNINFO
**colinfo
, OLECHAR
**stringsbuffer
)
1553 FIXME("(%p)->(%p %p %p): stub\n", This
, columns
, colinfo
, stringsbuffer
);
1557 HRESULT __RPC_STUB
IColumnsInfo_GetColumnInfo_Stub(IColumnsInfo
* This
, DBORDINAL
*columns
, DBCOLUMNINFO
**col_info
,
1558 DBBYTEOFFSET
**name_offsets
, DBBYTEOFFSET
**columnid_offsets
, DBLENGTH
*string_len
, OLECHAR
**stringsbuffer
,
1561 FIXME("(%p)->(%p %p %p %p %p %p %p): stub\n", This
, columns
, col_info
, name_offsets
, columnid_offsets
,
1562 string_len
, stringsbuffer
, error
);
1566 HRESULT CALLBACK
IColumnsInfo_MapColumnIDs_Proxy(IColumnsInfo
* This
, DBORDINAL column_ids
, const DBID
*dbids
,
1569 FIXME("(%p)->(%Iu %p %p): stub\n", This
, column_ids
, dbids
, columns
);
1573 HRESULT __RPC_STUB
IColumnsInfo_MapColumnIDs_Stub(IColumnsInfo
* This
, DBORDINAL column_ids
, const DBID
*dbids
,
1574 DBORDINAL
*columns
, IErrorInfo
**error
)
1576 FIXME("(%p)->(%Iu %p %p %p): stub\n", This
, column_ids
, dbids
, columns
, error
);
1580 HRESULT CALLBACK
IGetDataSource_GetDataSource_Proxy(IGetDataSource
* This
, REFIID riid
, IUnknown
**datasource
)
1582 FIXME("(%p)->(%s %p): stub\n", This
, debugstr_guid(riid
), datasource
);
1586 HRESULT CALLBACK
IColumnsRowset_GetAvailableColumns_Proxy(IColumnsRowset
* This
, DBORDINAL
*count
, DBID
**columns
)
1588 FIXME("(%p)->(%p %p): stub\n", This
, count
, columns
);
1592 HRESULT __RPC_STUB
IColumnsRowset_GetAvailableColumns_Stub(IColumnsRowset
* This
, DBORDINAL
*count
, DBID
**columns
,
1595 FIXME("(%p)->(%p %p %p): stub\n", This
, count
, columns
, error
);
1599 HRESULT CALLBACK
IColumnsRowset_GetColumnsRowset_Proxy(IColumnsRowset
* This
, IUnknown
*outer
, DBORDINAL count
,
1600 const DBID columns
[], REFIID riid
, ULONG property_cnt
, DBPROPSET property_sets
[], IUnknown
**rowset
)
1602 FIXME("(%p)->(%p %Id %p %s %ld %p %p): stub\n", This
, outer
, count
, columns
, debugstr_guid(riid
),
1603 property_cnt
, property_sets
, rowset
);
1607 HRESULT __RPC_STUB
IColumnsRowset_GetColumnsRowset_Stub(IColumnsRowset
* This
, IUnknown
*outer
,
1608 DBORDINAL count
, const DBID
*columns
, REFIID riid
, ULONG property_cnt
, DBPROPSET
*property_sets
,
1609 IUnknown
**rowset
, ULONG props_cnt
, DBPROPSTATUS
*prop_status
, IErrorInfo
**error
)
1611 FIXME("(%p)->(%p %Id %p %s %ld %p %p %lu %p %p): stub\n", This
, outer
, count
, columns
, debugstr_guid(riid
),
1612 property_cnt
, property_sets
, rowset
, props_cnt
, prop_status
, error
);
1616 HRESULT __RPC_STUB
IGetDataSource_GetDataSource_Stub(IGetDataSource
* This
, REFIID riid
, IUnknown
**datasource
,
1619 FIXME("(%p)->(%s %p %p): stub\n", This
, debugstr_guid(riid
), datasource
, error
);
1623 HRESULT CALLBACK
ICommandProperties_GetProperties_Proxy(ICommandProperties
* This
, const ULONG count
,
1624 const DBPROPIDSET propertyidsets
[], ULONG
*sets_cnt
, DBPROPSET
**propertyset
)
1626 FIXME("(%p)->(%ld %p %p %p): stub\n", This
, count
, propertyidsets
, sets_cnt
, propertyset
);
1630 HRESULT __RPC_STUB
ICommandProperties_GetProperties_Stub(ICommandProperties
* This
, const ULONG count
,
1631 const DBPROPIDSET
*propertyidsets
, ULONG
*sets_cnt
, DBPROPSET
**propertyset
, IErrorInfo
**error
)
1633 FIXME("(%p)->(%ld %p %p %p %p): stub\n", This
, count
, propertyidsets
, sets_cnt
, propertyset
, error
);
1637 HRESULT CALLBACK
ICommandProperties_SetProperties_Proxy(ICommandProperties
* This
, ULONG count
, DBPROPSET propertyset
[])
1639 FIXME("(%p)->(%ld %p): stub\n", This
, count
, propertyset
);
1643 HRESULT __RPC_STUB
ICommandProperties_SetProperties_Stub(ICommandProperties
* This
, ULONG count
,
1644 DBPROPSET
*propertyset
, ULONG total
, DBPROPSTATUS
*propstatus
, IErrorInfo
**error
)
1646 FIXME("(%p)->(%ld %p %ld %p %p): stub\n", This
, count
, propertyset
, total
, propstatus
, error
);
1650 HRESULT CALLBACK
IConvertType_CanConvert_Proxy(IConvertType
* This
, DBTYPE from
, DBTYPE to
, DBCONVERTFLAGS flags
)
1652 FIXME("(%p)->(%d %d 0x%08lx): stub\n", This
, from
, to
, flags
);
1656 HRESULT __RPC_STUB
IConvertType_CanConvert_Stub(IConvertType
* This
, DBTYPE from
, DBTYPE to
,
1657 DBCONVERTFLAGS flags
, IErrorInfo
**error
)
1659 FIXME("(%p)->(%d %d 0x%08lx %p): stub\n", This
, from
, to
, flags
, error
);
1663 HRESULT __RPC_STUB
IMultipleResults_GetResult_Stub(IMultipleResults
* This
, IUnknown
*outer
,
1664 DBRESULTFLAG result
, REFIID riid
, DBROWCOUNT
*affected
, IUnknown
**rowset
, IErrorInfo
**error
)
1666 FIXME("(%p)->(%p %Id %s %p %p %p): stub\n", This
, outer
, result
, debugstr_guid(riid
), affected
, rowset
, error
);
1670 HRESULT CALLBACK
IMultipleResults_GetResult_Proxy(IMultipleResults
* This
, IUnknown
*outer
,
1671 DBRESULTFLAG result
, REFIID riid
, DBROWCOUNT
*affected
, IUnknown
**rowset
)
1673 FIXME("(%p)->(%p %Id %s %p %p): stub\n", This
, outer
, result
, debugstr_guid(riid
), affected
, rowset
);
1677 HRESULT CALLBACK
ICommandPrepare_Prepare_Proxy(ICommandPrepare
* This
, ULONG runs
)
1679 FIXME("(%p)->(%ld): stub\n", This
, runs
);
1683 HRESULT __RPC_STUB
ICommandPrepare_Prepare_Stub(ICommandPrepare
* This
, ULONG runs
, IErrorInfo
**error
)
1685 FIXME("(%p)->(%ld %p): stub\n", This
, runs
, error
);
1689 HRESULT CALLBACK
ICommandPrepare_Unprepare_Proxy(ICommandPrepare
* This
)
1691 FIXME("(%p)->(): stub\n", This
);
1695 HRESULT __RPC_STUB
ICommandPrepare_Unprepare_Stub(ICommandPrepare
* This
, IErrorInfo
**error
)
1697 FIXME("(%p)->(%p): stub\n", This
, error
);
1701 HRESULT CALLBACK
ICommandWithParameters_GetParameterInfo_Proxy(ICommandWithParameters
* This
,
1702 DB_UPARAMS
*uparams
, DBPARAMINFO
**info
, OLECHAR
**buffer
)
1704 FIXME("(%p)->(%p %p %p): stub\n", This
, uparams
, info
, buffer
);
1708 HRESULT __RPC_STUB
ICommandWithParameters_GetParameterInfo_Stub(ICommandWithParameters
* This
,
1709 DB_UPARAMS
*uparams
, DBPARAMINFO
**param_info
, DBBYTEOFFSET
**offsets
, DBLENGTH
*buff_len
,
1710 OLECHAR
**buffer
, IErrorInfo
**error
)
1712 FIXME("(%p)->(%p %p %p %p %p %p %p): stub\n", This
, uparams
, param_info
, buffer
, offsets
, buff_len
,
1717 HRESULT CALLBACK
ICommandWithParameters_SetParameterInfo_Proxy(ICommandWithParameters
* This
,
1718 DB_UPARAMS params
, const DB_UPARAMS ordinals
[], const DBPARAMBINDINFO bindinfo
[])
1720 FIXME("(%p)->(%Id %p %p): stub\n", This
, params
, ordinals
, bindinfo
);
1724 HRESULT __RPC_STUB
ICommandWithParameters_SetParameterInfo_Stub(ICommandWithParameters
* This
,
1725 DB_UPARAMS params
, const DB_UPARAMS
*ordinals
, const DBPARAMBINDINFO
*bindinfo
, IErrorInfo
**error
)
1727 FIXME("(%p)->(%Id %p %p %p): stub\n", This
, params
, ordinals
, bindinfo
, error
);
1731 HRESULT CALLBACK
ICommandWithParameters_MapParameterNames_Proxy(ICommandWithParameters
* This
,
1732 DB_UPARAMS count
, LPCWSTR names
[], DB_LPARAMS ordinals
[])
1734 FIXME("(%p)->(%Id %p %p): stub\n", This
, count
, names
, ordinals
);
1738 HRESULT __RPC_STUB
ICommandWithParameters_MapParameterNames_Stub(ICommandWithParameters
* This
,
1739 DB_UPARAMS count
, LPCOLESTR
*names
, DB_LPARAMS
*ordinals
, IErrorInfo
**error
)
1741 FIXME("(%p)->(%Id %p %p %p): stub\n", This
, count
, names
, ordinals
, error
);
1745 HRESULT __RPC_STUB
ITransactionJoin_GetOptionsObject_Stub(ITransactionJoin
* This
,
1746 ITransactionOptions
**options
, IErrorInfo
**error
)
1748 FIXME("(%p)->(%p, %p): stub\n", This
, options
, error
);
1752 HRESULT CALLBACK
ITransactionJoin_GetOptionsObject_Proxy(ITransactionJoin
*This
,
1753 ITransactionOptions
**options
)
1755 FIXME("(%p)->(%p): stub\n", This
, options
);
1759 HRESULT __RPC_STUB
ITransactionJoin_JoinTransaction_Stub(ITransactionJoin
* This
, IUnknown
*unk
,
1760 ISOLEVEL level
, ULONG flags
, ITransactionOptions
*options
, IErrorInfo
**error
)
1762 FIXME("(%p)->(%p, %ld, 0x%08lx, %p, %p): stub\n", This
, unk
, level
, flags
, options
, error
);
1766 HRESULT CALLBACK
ITransactionJoin_JoinTransaction_Proxy(ITransactionJoin
* This
, IUnknown
*unk
,
1767 ISOLEVEL level
, ULONG flags
, ITransactionOptions
*options
)
1769 FIXME("(%p)->(%p, %ld, 0x%08lx, %p): stub\n", This
, unk
, level
, flags
, options
);
1773 HRESULT __RPC_STUB
ITransactionLocal_GetOptionsObject_Stub(ITransactionLocal
* This
,
1774 ITransactionOptions
**options
, IErrorInfo
**info
)
1776 FIXME("(%p)->(%p, %p): stub\n", This
, options
, info
);
1780 HRESULT CALLBACK
ITransactionLocal_GetOptionsObject_Proxy(ITransactionLocal
* This
, ITransactionOptions
**options
)
1782 FIXME("(%p)->(%p): stub\n", This
, options
);
1786 HRESULT CALLBACK
ITransactionLocal_StartTransaction_Proxy(ITransactionLocal
* This
, ISOLEVEL level
,
1787 ULONG flags
, ITransactionOptions
*options
, ULONG
*trans_level
)
1789 FIXME("(%p)->(%ld, 0x%08lx, %p, %p): stub\n", This
, level
, flags
, options
, trans_level
);
1793 HRESULT __RPC_STUB
ITransactionLocal_StartTransaction_Stub(ITransactionLocal
* This
, ISOLEVEL level
,
1794 ULONG flags
, ITransactionOptions
*options
, ULONG
*trans_level
, IErrorInfo
**info
)
1796 FIXME("(%p)->(%ld, 0x%08lx, %p, %p, %p): stub\n", This
, level
, flags
, options
, trans_level
, info
);
1800 HRESULT CALLBACK
ITransactionObject_GetTransactionObject_Proxy(ITransactionObject
* This
,
1801 ULONG level
, ITransaction
**transaction
)
1803 FIXME("(%p)->(%ld, %p): stub\n", This
, level
, transaction
);
1807 HRESULT __RPC_STUB
ITransactionObject_GetTransactionObject_Stub(ITransactionObject
* This
,
1808 ULONG level
, ITransaction
**transaction
, IErrorInfo
**info
)
1810 FIXME("(%p)->(%ld, %p, %p): stub\n", This
, level
, transaction
, info
);