Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

869 lines
26 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for simpdata.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, robust
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef __simpdata_h__
  23. #define __simpdata_h__
  24. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  25. #pragma once
  26. #endif
  27. /* Forward Declarations */
  28. #ifndef __OLEDBSimpleProviderListener_FWD_DEFINED__
  29. #define __OLEDBSimpleProviderListener_FWD_DEFINED__
  30. typedef interface OLEDBSimpleProviderListener OLEDBSimpleProviderListener;
  31. #endif /* __OLEDBSimpleProviderListener_FWD_DEFINED__ */
  32. #ifndef __OLEDBSimpleProvider_FWD_DEFINED__
  33. #define __OLEDBSimpleProvider_FWD_DEFINED__
  34. typedef interface OLEDBSimpleProvider OLEDBSimpleProvider;
  35. #endif /* __OLEDBSimpleProvider_FWD_DEFINED__ */
  36. /* header files for imported files */
  37. #include "oaidl.h"
  38. #ifdef __cplusplus
  39. extern "C"{
  40. #endif
  41. void * __RPC_USER MIDL_user_allocate(size_t);
  42. void __RPC_USER MIDL_user_free( void * );
  43. /* interface __MIDL_itf_simpdata_0000 */
  44. /* [local] */
  45. //=--------------------------------------------------------------------------=
  46. // simpdata.h
  47. //=--------------------------------------------------------------------------=
  48. // (C) Copyright 1995-1996 Microsoft Corporation. All Rights Reserved.
  49. //
  50. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  51. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  52. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  53. // PARTICULAR PURPOSE.
  54. //=--------------------------------------------------------------------------=
  55. #pragma comment(lib,"uuid.lib")
  56. //--------------------------------------------------------------------------
  57. // OLE DB Simple Provider Toolkit
  58. #ifndef SIMPDATA_H
  59. #define SIMPDATA_H
  60. #ifdef _WIN64
  61. typedef LONGLONG DBROWCOUNT;
  62. typedef LONGLONG DB_LORDINAL;
  63. #else
  64. typedef LONG DBROWCOUNT;
  65. typedef LONG DB_LORDINAL;
  66. #endif // _WIN64
  67. #define OSP_IndexLabel (0)
  68. #define OSP_IndexAll (~0)
  69. #define OSP_IndexUnknown (~0)
  70. extern RPC_IF_HANDLE __MIDL_itf_simpdata_0000_v0_0_c_ifspec;
  71. extern RPC_IF_HANDLE __MIDL_itf_simpdata_0000_v0_0_s_ifspec;
  72. #ifndef __MSDAOSP_LIBRARY_DEFINED__
  73. #define __MSDAOSP_LIBRARY_DEFINED__
  74. /* library MSDAOSP */
  75. /* [version][lcid][helpstring][uuid] */
  76. typedef
  77. enum OSPFORMAT
  78. { OSPFORMAT_RAW = 0,
  79. OSPFORMAT_DEFAULT = 0,
  80. OSPFORMAT_FORMATTED = 1,
  81. OSPFORMAT_HTML = 2
  82. } OSPFORMAT;
  83. typedef
  84. enum OSPRW
  85. { OSPRW_DEFAULT = 1,
  86. OSPRW_READONLY = 0,
  87. OSPRW_READWRITE = 1,
  88. OSPRW_MIXED = 2
  89. } OSPRW;
  90. typedef
  91. enum OSPFIND
  92. { OSPFIND_DEFAULT = 0,
  93. OSPFIND_UP = 1,
  94. OSPFIND_CASESENSITIVE = 2,
  95. OSPFIND_UPCASESENSITIVE = 3
  96. } OSPFIND;
  97. typedef
  98. enum OSPCOMP
  99. { OSPCOMP_EQ = 1,
  100. OSPCOMP_DEFAULT = 1,
  101. OSPCOMP_LT = 2,
  102. OSPCOMP_LE = 3,
  103. OSPCOMP_GE = 4,
  104. OSPCOMP_GT = 5,
  105. OSPCOMP_NE = 6
  106. } OSPCOMP;
  107. typedef
  108. enum OSPXFER
  109. { OSPXFER_COMPLETE = 0,
  110. OSPXFER_ABORT = 1,
  111. OSPXFER_ERROR = 2
  112. } OSPXFER;
  113. typedef OLEDBSimpleProvider *LPOLEDBSimpleProvider;
  114. EXTERN_C const IID LIBID_MSDAOSP;
  115. #ifndef __OLEDBSimpleProviderListener_INTERFACE_DEFINED__
  116. #define __OLEDBSimpleProviderListener_INTERFACE_DEFINED__
  117. /* interface OLEDBSimpleProviderListener */
  118. /* [version][oleautomation][unique][uuid][object] */
  119. EXTERN_C const IID IID_OLEDBSimpleProviderListener;
  120. #if defined(__cplusplus) && !defined(CINTERFACE)
  121. MIDL_INTERFACE("E0E270C1-C0BE-11d0-8FE4-00A0C90A6341")
  122. OLEDBSimpleProviderListener : public IUnknown
  123. {
  124. public:
  125. virtual HRESULT STDMETHODCALLTYPE aboutToChangeCell(
  126. /* [in] */ DBROWCOUNT iRow,
  127. /* [in] */ DB_LORDINAL iColumn) = 0;
  128. virtual HRESULT STDMETHODCALLTYPE cellChanged(
  129. /* [in] */ DBROWCOUNT iRow,
  130. /* [in] */ DB_LORDINAL iColumn) = 0;
  131. virtual HRESULT STDMETHODCALLTYPE aboutToDeleteRows(
  132. /* [in] */ DBROWCOUNT iRow,
  133. /* [in] */ DBROWCOUNT cRows) = 0;
  134. virtual HRESULT STDMETHODCALLTYPE deletedRows(
  135. /* [in] */ DBROWCOUNT iRow,
  136. /* [in] */ DBROWCOUNT cRows) = 0;
  137. virtual HRESULT STDMETHODCALLTYPE aboutToInsertRows(
  138. /* [in] */ DBROWCOUNT iRow,
  139. /* [in] */ DBROWCOUNT cRows) = 0;
  140. virtual HRESULT STDMETHODCALLTYPE insertedRows(
  141. /* [in] */ DBROWCOUNT iRow,
  142. /* [in] */ DBROWCOUNT cRows) = 0;
  143. virtual HRESULT STDMETHODCALLTYPE rowsAvailable(
  144. /* [in] */ DBROWCOUNT iRow,
  145. /* [in] */ DBROWCOUNT cRows) = 0;
  146. virtual HRESULT STDMETHODCALLTYPE transferComplete(
  147. /* [in] */ OSPXFER xfer) = 0;
  148. };
  149. #else /* C style interface */
  150. typedef struct OLEDBSimpleProviderListenerVtbl
  151. {
  152. BEGIN_INTERFACE
  153. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  154. OLEDBSimpleProviderListener * This,
  155. /* [in] */ REFIID riid,
  156. /* [iid_is][out] */ void **ppvObject);
  157. ULONG ( STDMETHODCALLTYPE *AddRef )(
  158. OLEDBSimpleProviderListener * This);
  159. ULONG ( STDMETHODCALLTYPE *Release )(
  160. OLEDBSimpleProviderListener * This);
  161. HRESULT ( STDMETHODCALLTYPE *aboutToChangeCell )(
  162. OLEDBSimpleProviderListener * This,
  163. /* [in] */ DBROWCOUNT iRow,
  164. /* [in] */ DB_LORDINAL iColumn);
  165. HRESULT ( STDMETHODCALLTYPE *cellChanged )(
  166. OLEDBSimpleProviderListener * This,
  167. /* [in] */ DBROWCOUNT iRow,
  168. /* [in] */ DB_LORDINAL iColumn);
  169. HRESULT ( STDMETHODCALLTYPE *aboutToDeleteRows )(
  170. OLEDBSimpleProviderListener * This,
  171. /* [in] */ DBROWCOUNT iRow,
  172. /* [in] */ DBROWCOUNT cRows);
  173. HRESULT ( STDMETHODCALLTYPE *deletedRows )(
  174. OLEDBSimpleProviderListener * This,
  175. /* [in] */ DBROWCOUNT iRow,
  176. /* [in] */ DBROWCOUNT cRows);
  177. HRESULT ( STDMETHODCALLTYPE *aboutToInsertRows )(
  178. OLEDBSimpleProviderListener * This,
  179. /* [in] */ DBROWCOUNT iRow,
  180. /* [in] */ DBROWCOUNT cRows);
  181. HRESULT ( STDMETHODCALLTYPE *insertedRows )(
  182. OLEDBSimpleProviderListener * This,
  183. /* [in] */ DBROWCOUNT iRow,
  184. /* [in] */ DBROWCOUNT cRows);
  185. HRESULT ( STDMETHODCALLTYPE *rowsAvailable )(
  186. OLEDBSimpleProviderListener * This,
  187. /* [in] */ DBROWCOUNT iRow,
  188. /* [in] */ DBROWCOUNT cRows);
  189. HRESULT ( STDMETHODCALLTYPE *transferComplete )(
  190. OLEDBSimpleProviderListener * This,
  191. /* [in] */ OSPXFER xfer);
  192. END_INTERFACE
  193. } OLEDBSimpleProviderListenerVtbl;
  194. interface OLEDBSimpleProviderListener
  195. {
  196. CONST_VTBL struct OLEDBSimpleProviderListenerVtbl *lpVtbl;
  197. };
  198. #ifdef COBJMACROS
  199. #define OLEDBSimpleProviderListener_QueryInterface(This,riid,ppvObject) \
  200. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  201. #define OLEDBSimpleProviderListener_AddRef(This) \
  202. (This)->lpVtbl -> AddRef(This)
  203. #define OLEDBSimpleProviderListener_Release(This) \
  204. (This)->lpVtbl -> Release(This)
  205. #define OLEDBSimpleProviderListener_aboutToChangeCell(This,iRow,iColumn) \
  206. (This)->lpVtbl -> aboutToChangeCell(This,iRow,iColumn)
  207. #define OLEDBSimpleProviderListener_cellChanged(This,iRow,iColumn) \
  208. (This)->lpVtbl -> cellChanged(This,iRow,iColumn)
  209. #define OLEDBSimpleProviderListener_aboutToDeleteRows(This,iRow,cRows) \
  210. (This)->lpVtbl -> aboutToDeleteRows(This,iRow,cRows)
  211. #define OLEDBSimpleProviderListener_deletedRows(This,iRow,cRows) \
  212. (This)->lpVtbl -> deletedRows(This,iRow,cRows)
  213. #define OLEDBSimpleProviderListener_aboutToInsertRows(This,iRow,cRows) \
  214. (This)->lpVtbl -> aboutToInsertRows(This,iRow,cRows)
  215. #define OLEDBSimpleProviderListener_insertedRows(This,iRow,cRows) \
  216. (This)->lpVtbl -> insertedRows(This,iRow,cRows)
  217. #define OLEDBSimpleProviderListener_rowsAvailable(This,iRow,cRows) \
  218. (This)->lpVtbl -> rowsAvailable(This,iRow,cRows)
  219. #define OLEDBSimpleProviderListener_transferComplete(This,xfer) \
  220. (This)->lpVtbl -> transferComplete(This,xfer)
  221. #endif /* COBJMACROS */
  222. #endif /* C style interface */
  223. HRESULT STDMETHODCALLTYPE OLEDBSimpleProviderListener_aboutToChangeCell_Proxy(
  224. OLEDBSimpleProviderListener * This,
  225. /* [in] */ DBROWCOUNT iRow,
  226. /* [in] */ DB_LORDINAL iColumn);
  227. void __RPC_STUB OLEDBSimpleProviderListener_aboutToChangeCell_Stub(
  228. IRpcStubBuffer *This,
  229. IRpcChannelBuffer *_pRpcChannelBuffer,
  230. PRPC_MESSAGE _pRpcMessage,
  231. DWORD *_pdwStubPhase);
  232. HRESULT STDMETHODCALLTYPE OLEDBSimpleProviderListener_cellChanged_Proxy(
  233. OLEDBSimpleProviderListener * This,
  234. /* [in] */ DBROWCOUNT iRow,
  235. /* [in] */ DB_LORDINAL iColumn);
  236. void __RPC_STUB OLEDBSimpleProviderListener_cellChanged_Stub(
  237. IRpcStubBuffer *This,
  238. IRpcChannelBuffer *_pRpcChannelBuffer,
  239. PRPC_MESSAGE _pRpcMessage,
  240. DWORD *_pdwStubPhase);
  241. HRESULT STDMETHODCALLTYPE OLEDBSimpleProviderListener_aboutToDeleteRows_Proxy(
  242. OLEDBSimpleProviderListener * This,
  243. /* [in] */ DBROWCOUNT iRow,
  244. /* [in] */ DBROWCOUNT cRows);
  245. void __RPC_STUB OLEDBSimpleProviderListener_aboutToDeleteRows_Stub(
  246. IRpcStubBuffer *This,
  247. IRpcChannelBuffer *_pRpcChannelBuffer,
  248. PRPC_MESSAGE _pRpcMessage,
  249. DWORD *_pdwStubPhase);
  250. HRESULT STDMETHODCALLTYPE OLEDBSimpleProviderListener_deletedRows_Proxy(
  251. OLEDBSimpleProviderListener * This,
  252. /* [in] */ DBROWCOUNT iRow,
  253. /* [in] */ DBROWCOUNT cRows);
  254. void __RPC_STUB OLEDBSimpleProviderListener_deletedRows_Stub(
  255. IRpcStubBuffer *This,
  256. IRpcChannelBuffer *_pRpcChannelBuffer,
  257. PRPC_MESSAGE _pRpcMessage,
  258. DWORD *_pdwStubPhase);
  259. HRESULT STDMETHODCALLTYPE OLEDBSimpleProviderListener_aboutToInsertRows_Proxy(
  260. OLEDBSimpleProviderListener * This,
  261. /* [in] */ DBROWCOUNT iRow,
  262. /* [in] */ DBROWCOUNT cRows);
  263. void __RPC_STUB OLEDBSimpleProviderListener_aboutToInsertRows_Stub(
  264. IRpcStubBuffer *This,
  265. IRpcChannelBuffer *_pRpcChannelBuffer,
  266. PRPC_MESSAGE _pRpcMessage,
  267. DWORD *_pdwStubPhase);
  268. HRESULT STDMETHODCALLTYPE OLEDBSimpleProviderListener_insertedRows_Proxy(
  269. OLEDBSimpleProviderListener * This,
  270. /* [in] */ DBROWCOUNT iRow,
  271. /* [in] */ DBROWCOUNT cRows);
  272. void __RPC_STUB OLEDBSimpleProviderListener_insertedRows_Stub(
  273. IRpcStubBuffer *This,
  274. IRpcChannelBuffer *_pRpcChannelBuffer,
  275. PRPC_MESSAGE _pRpcMessage,
  276. DWORD *_pdwStubPhase);
  277. HRESULT STDMETHODCALLTYPE OLEDBSimpleProviderListener_rowsAvailable_Proxy(
  278. OLEDBSimpleProviderListener * This,
  279. /* [in] */ DBROWCOUNT iRow,
  280. /* [in] */ DBROWCOUNT cRows);
  281. void __RPC_STUB OLEDBSimpleProviderListener_rowsAvailable_Stub(
  282. IRpcStubBuffer *This,
  283. IRpcChannelBuffer *_pRpcChannelBuffer,
  284. PRPC_MESSAGE _pRpcMessage,
  285. DWORD *_pdwStubPhase);
  286. HRESULT STDMETHODCALLTYPE OLEDBSimpleProviderListener_transferComplete_Proxy(
  287. OLEDBSimpleProviderListener * This,
  288. /* [in] */ OSPXFER xfer);
  289. void __RPC_STUB OLEDBSimpleProviderListener_transferComplete_Stub(
  290. IRpcStubBuffer *This,
  291. IRpcChannelBuffer *_pRpcChannelBuffer,
  292. PRPC_MESSAGE _pRpcMessage,
  293. DWORD *_pdwStubPhase);
  294. #endif /* __OLEDBSimpleProviderListener_INTERFACE_DEFINED__ */
  295. #ifndef __OLEDBSimpleProvider_INTERFACE_DEFINED__
  296. #define __OLEDBSimpleProvider_INTERFACE_DEFINED__
  297. /* interface OLEDBSimpleProvider */
  298. /* [version][oleautomation][unique][uuid][object] */
  299. EXTERN_C const IID IID_OLEDBSimpleProvider;
  300. #if defined(__cplusplus) && !defined(CINTERFACE)
  301. MIDL_INTERFACE("E0E270C0-C0BE-11d0-8FE4-00A0C90A6341")
  302. OLEDBSimpleProvider : public IUnknown
  303. {
  304. public:
  305. virtual HRESULT STDMETHODCALLTYPE getRowCount(
  306. /* [retval][out] */ DBROWCOUNT *pcRows) = 0;
  307. virtual HRESULT STDMETHODCALLTYPE getColumnCount(
  308. /* [retval][out] */ DB_LORDINAL *pcColumns) = 0;
  309. virtual HRESULT STDMETHODCALLTYPE getRWStatus(
  310. /* [in] */ DBROWCOUNT iRow,
  311. /* [in] */ DB_LORDINAL iColumn,
  312. /* [retval][out] */ OSPRW *prwStatus) = 0;
  313. virtual HRESULT STDMETHODCALLTYPE getVariant(
  314. /* [in] */ DBROWCOUNT iRow,
  315. /* [in] */ DB_LORDINAL iColumn,
  316. /* [in] */ OSPFORMAT format,
  317. /* [retval][out] */ VARIANT *pVar) = 0;
  318. virtual HRESULT STDMETHODCALLTYPE setVariant(
  319. /* [in] */ DBROWCOUNT iRow,
  320. /* [in] */ DB_LORDINAL iColumn,
  321. /* [in] */ OSPFORMAT format,
  322. /* [in] */ VARIANT Var) = 0;
  323. virtual HRESULT STDMETHODCALLTYPE getLocale(
  324. /* [retval][out] */ BSTR *pbstrLocale) = 0;
  325. virtual HRESULT STDMETHODCALLTYPE deleteRows(
  326. /* [in] */ DBROWCOUNT iRow,
  327. /* [in] */ DBROWCOUNT cRows,
  328. /* [retval][out] */ DBROWCOUNT *pcRowsDeleted) = 0;
  329. virtual HRESULT STDMETHODCALLTYPE insertRows(
  330. /* [in] */ DBROWCOUNT iRow,
  331. /* [in] */ DBROWCOUNT cRows,
  332. /* [retval][out] */ DBROWCOUNT *pcRowsInserted) = 0;
  333. virtual HRESULT STDMETHODCALLTYPE find(
  334. /* [in] */ DBROWCOUNT iRowStart,
  335. /* [in] */ DB_LORDINAL iColumn,
  336. /* [in] */ VARIANT val,
  337. /* [in] */ OSPFIND findFlags,
  338. /* [in] */ OSPCOMP compType,
  339. /* [retval][out] */ DBROWCOUNT *piRowFound) = 0;
  340. virtual HRESULT STDMETHODCALLTYPE addOLEDBSimpleProviderListener(
  341. /* [in] */ OLEDBSimpleProviderListener *pospIListener) = 0;
  342. virtual HRESULT STDMETHODCALLTYPE removeOLEDBSimpleProviderListener(
  343. /* [in] */ OLEDBSimpleProviderListener *pospIListener) = 0;
  344. virtual HRESULT STDMETHODCALLTYPE isAsync(
  345. /* [retval][out] */ BOOL *pbAsynch) = 0;
  346. virtual HRESULT STDMETHODCALLTYPE getEstimatedRows(
  347. /* [retval][out] */ DBROWCOUNT *piRows) = 0;
  348. virtual HRESULT STDMETHODCALLTYPE stopTransfer( void) = 0;
  349. };
  350. #else /* C style interface */
  351. typedef struct OLEDBSimpleProviderVtbl
  352. {
  353. BEGIN_INTERFACE
  354. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  355. OLEDBSimpleProvider * This,
  356. /* [in] */ REFIID riid,
  357. /* [iid_is][out] */ void **ppvObject);
  358. ULONG ( STDMETHODCALLTYPE *AddRef )(
  359. OLEDBSimpleProvider * This);
  360. ULONG ( STDMETHODCALLTYPE *Release )(
  361. OLEDBSimpleProvider * This);
  362. HRESULT ( STDMETHODCALLTYPE *getRowCount )(
  363. OLEDBSimpleProvider * This,
  364. /* [retval][out] */ DBROWCOUNT *pcRows);
  365. HRESULT ( STDMETHODCALLTYPE *getColumnCount )(
  366. OLEDBSimpleProvider * This,
  367. /* [retval][out] */ DB_LORDINAL *pcColumns);
  368. HRESULT ( STDMETHODCALLTYPE *getRWStatus )(
  369. OLEDBSimpleProvider * This,
  370. /* [in] */ DBROWCOUNT iRow,
  371. /* [in] */ DB_LORDINAL iColumn,
  372. /* [retval][out] */ OSPRW *prwStatus);
  373. HRESULT ( STDMETHODCALLTYPE *getVariant )(
  374. OLEDBSimpleProvider * This,
  375. /* [in] */ DBROWCOUNT iRow,
  376. /* [in] */ DB_LORDINAL iColumn,
  377. /* [in] */ OSPFORMAT format,
  378. /* [retval][out] */ VARIANT *pVar);
  379. HRESULT ( STDMETHODCALLTYPE *setVariant )(
  380. OLEDBSimpleProvider * This,
  381. /* [in] */ DBROWCOUNT iRow,
  382. /* [in] */ DB_LORDINAL iColumn,
  383. /* [in] */ OSPFORMAT format,
  384. /* [in] */ VARIANT Var);
  385. HRESULT ( STDMETHODCALLTYPE *getLocale )(
  386. OLEDBSimpleProvider * This,
  387. /* [retval][out] */ BSTR *pbstrLocale);
  388. HRESULT ( STDMETHODCALLTYPE *deleteRows )(
  389. OLEDBSimpleProvider * This,
  390. /* [in] */ DBROWCOUNT iRow,
  391. /* [in] */ DBROWCOUNT cRows,
  392. /* [retval][out] */ DBROWCOUNT *pcRowsDeleted);
  393. HRESULT ( STDMETHODCALLTYPE *insertRows )(
  394. OLEDBSimpleProvider * This,
  395. /* [in] */ DBROWCOUNT iRow,
  396. /* [in] */ DBROWCOUNT cRows,
  397. /* [retval][out] */ DBROWCOUNT *pcRowsInserted);
  398. HRESULT ( STDMETHODCALLTYPE *find )(
  399. OLEDBSimpleProvider * This,
  400. /* [in] */ DBROWCOUNT iRowStart,
  401. /* [in] */ DB_LORDINAL iColumn,
  402. /* [in] */ VARIANT val,
  403. /* [in] */ OSPFIND findFlags,
  404. /* [in] */ OSPCOMP compType,
  405. /* [retval][out] */ DBROWCOUNT *piRowFound);
  406. HRESULT ( STDMETHODCALLTYPE *addOLEDBSimpleProviderListener )(
  407. OLEDBSimpleProvider * This,
  408. /* [in] */ OLEDBSimpleProviderListener *pospIListener);
  409. HRESULT ( STDMETHODCALLTYPE *removeOLEDBSimpleProviderListener )(
  410. OLEDBSimpleProvider * This,
  411. /* [in] */ OLEDBSimpleProviderListener *pospIListener);
  412. HRESULT ( STDMETHODCALLTYPE *isAsync )(
  413. OLEDBSimpleProvider * This,
  414. /* [retval][out] */ BOOL *pbAsynch);
  415. HRESULT ( STDMETHODCALLTYPE *getEstimatedRows )(
  416. OLEDBSimpleProvider * This,
  417. /* [retval][out] */ DBROWCOUNT *piRows);
  418. HRESULT ( STDMETHODCALLTYPE *stopTransfer )(
  419. OLEDBSimpleProvider * This);
  420. END_INTERFACE
  421. } OLEDBSimpleProviderVtbl;
  422. interface OLEDBSimpleProvider
  423. {
  424. CONST_VTBL struct OLEDBSimpleProviderVtbl *lpVtbl;
  425. };
  426. #ifdef COBJMACROS
  427. #define OLEDBSimpleProvider_QueryInterface(This,riid,ppvObject) \
  428. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  429. #define OLEDBSimpleProvider_AddRef(This) \
  430. (This)->lpVtbl -> AddRef(This)
  431. #define OLEDBSimpleProvider_Release(This) \
  432. (This)->lpVtbl -> Release(This)
  433. #define OLEDBSimpleProvider_getRowCount(This,pcRows) \
  434. (This)->lpVtbl -> getRowCount(This,pcRows)
  435. #define OLEDBSimpleProvider_getColumnCount(This,pcColumns) \
  436. (This)->lpVtbl -> getColumnCount(This,pcColumns)
  437. #define OLEDBSimpleProvider_getRWStatus(This,iRow,iColumn,prwStatus) \
  438. (This)->lpVtbl -> getRWStatus(This,iRow,iColumn,prwStatus)
  439. #define OLEDBSimpleProvider_getVariant(This,iRow,iColumn,format,pVar) \
  440. (This)->lpVtbl -> getVariant(This,iRow,iColumn,format,pVar)
  441. #define OLEDBSimpleProvider_setVariant(This,iRow,iColumn,format,Var) \
  442. (This)->lpVtbl -> setVariant(This,iRow,iColumn,format,Var)
  443. #define OLEDBSimpleProvider_getLocale(This,pbstrLocale) \
  444. (This)->lpVtbl -> getLocale(This,pbstrLocale)
  445. #define OLEDBSimpleProvider_deleteRows(This,iRow,cRows,pcRowsDeleted) \
  446. (This)->lpVtbl -> deleteRows(This,iRow,cRows,pcRowsDeleted)
  447. #define OLEDBSimpleProvider_insertRows(This,iRow,cRows,pcRowsInserted) \
  448. (This)->lpVtbl -> insertRows(This,iRow,cRows,pcRowsInserted)
  449. #define OLEDBSimpleProvider_find(This,iRowStart,iColumn,val,findFlags,compType,piRowFound) \
  450. (This)->lpVtbl -> find(This,iRowStart,iColumn,val,findFlags,compType,piRowFound)
  451. #define OLEDBSimpleProvider_addOLEDBSimpleProviderListener(This,pospIListener) \
  452. (This)->lpVtbl -> addOLEDBSimpleProviderListener(This,pospIListener)
  453. #define OLEDBSimpleProvider_removeOLEDBSimpleProviderListener(This,pospIListener) \
  454. (This)->lpVtbl -> removeOLEDBSimpleProviderListener(This,pospIListener)
  455. #define OLEDBSimpleProvider_isAsync(This,pbAsynch) \
  456. (This)->lpVtbl -> isAsync(This,pbAsynch)
  457. #define OLEDBSimpleProvider_getEstimatedRows(This,piRows) \
  458. (This)->lpVtbl -> getEstimatedRows(This,piRows)
  459. #define OLEDBSimpleProvider_stopTransfer(This) \
  460. (This)->lpVtbl -> stopTransfer(This)
  461. #endif /* COBJMACROS */
  462. #endif /* C style interface */
  463. HRESULT STDMETHODCALLTYPE OLEDBSimpleProvider_getRowCount_Proxy(
  464. OLEDBSimpleProvider * This,
  465. /* [retval][out] */ DBROWCOUNT *pcRows);
  466. void __RPC_STUB OLEDBSimpleProvider_getRowCount_Stub(
  467. IRpcStubBuffer *This,
  468. IRpcChannelBuffer *_pRpcChannelBuffer,
  469. PRPC_MESSAGE _pRpcMessage,
  470. DWORD *_pdwStubPhase);
  471. HRESULT STDMETHODCALLTYPE OLEDBSimpleProvider_getColumnCount_Proxy(
  472. OLEDBSimpleProvider * This,
  473. /* [retval][out] */ DB_LORDINAL *pcColumns);
  474. void __RPC_STUB OLEDBSimpleProvider_getColumnCount_Stub(
  475. IRpcStubBuffer *This,
  476. IRpcChannelBuffer *_pRpcChannelBuffer,
  477. PRPC_MESSAGE _pRpcMessage,
  478. DWORD *_pdwStubPhase);
  479. HRESULT STDMETHODCALLTYPE OLEDBSimpleProvider_getRWStatus_Proxy(
  480. OLEDBSimpleProvider * This,
  481. /* [in] */ DBROWCOUNT iRow,
  482. /* [in] */ DB_LORDINAL iColumn,
  483. /* [retval][out] */ OSPRW *prwStatus);
  484. void __RPC_STUB OLEDBSimpleProvider_getRWStatus_Stub(
  485. IRpcStubBuffer *This,
  486. IRpcChannelBuffer *_pRpcChannelBuffer,
  487. PRPC_MESSAGE _pRpcMessage,
  488. DWORD *_pdwStubPhase);
  489. HRESULT STDMETHODCALLTYPE OLEDBSimpleProvider_getVariant_Proxy(
  490. OLEDBSimpleProvider * This,
  491. /* [in] */ DBROWCOUNT iRow,
  492. /* [in] */ DB_LORDINAL iColumn,
  493. /* [in] */ OSPFORMAT format,
  494. /* [retval][out] */ VARIANT *pVar);
  495. void __RPC_STUB OLEDBSimpleProvider_getVariant_Stub(
  496. IRpcStubBuffer *This,
  497. IRpcChannelBuffer *_pRpcChannelBuffer,
  498. PRPC_MESSAGE _pRpcMessage,
  499. DWORD *_pdwStubPhase);
  500. HRESULT STDMETHODCALLTYPE OLEDBSimpleProvider_setVariant_Proxy(
  501. OLEDBSimpleProvider * This,
  502. /* [in] */ DBROWCOUNT iRow,
  503. /* [in] */ DB_LORDINAL iColumn,
  504. /* [in] */ OSPFORMAT format,
  505. /* [in] */ VARIANT Var);
  506. void __RPC_STUB OLEDBSimpleProvider_setVariant_Stub(
  507. IRpcStubBuffer *This,
  508. IRpcChannelBuffer *_pRpcChannelBuffer,
  509. PRPC_MESSAGE _pRpcMessage,
  510. DWORD *_pdwStubPhase);
  511. HRESULT STDMETHODCALLTYPE OLEDBSimpleProvider_getLocale_Proxy(
  512. OLEDBSimpleProvider * This,
  513. /* [retval][out] */ BSTR *pbstrLocale);
  514. void __RPC_STUB OLEDBSimpleProvider_getLocale_Stub(
  515. IRpcStubBuffer *This,
  516. IRpcChannelBuffer *_pRpcChannelBuffer,
  517. PRPC_MESSAGE _pRpcMessage,
  518. DWORD *_pdwStubPhase);
  519. HRESULT STDMETHODCALLTYPE OLEDBSimpleProvider_deleteRows_Proxy(
  520. OLEDBSimpleProvider * This,
  521. /* [in] */ DBROWCOUNT iRow,
  522. /* [in] */ DBROWCOUNT cRows,
  523. /* [retval][out] */ DBROWCOUNT *pcRowsDeleted);
  524. void __RPC_STUB OLEDBSimpleProvider_deleteRows_Stub(
  525. IRpcStubBuffer *This,
  526. IRpcChannelBuffer *_pRpcChannelBuffer,
  527. PRPC_MESSAGE _pRpcMessage,
  528. DWORD *_pdwStubPhase);
  529. HRESULT STDMETHODCALLTYPE OLEDBSimpleProvider_insertRows_Proxy(
  530. OLEDBSimpleProvider * This,
  531. /* [in] */ DBROWCOUNT iRow,
  532. /* [in] */ DBROWCOUNT cRows,
  533. /* [retval][out] */ DBROWCOUNT *pcRowsInserted);
  534. void __RPC_STUB OLEDBSimpleProvider_insertRows_Stub(
  535. IRpcStubBuffer *This,
  536. IRpcChannelBuffer *_pRpcChannelBuffer,
  537. PRPC_MESSAGE _pRpcMessage,
  538. DWORD *_pdwStubPhase);
  539. HRESULT STDMETHODCALLTYPE OLEDBSimpleProvider_find_Proxy(
  540. OLEDBSimpleProvider * This,
  541. /* [in] */ DBROWCOUNT iRowStart,
  542. /* [in] */ DB_LORDINAL iColumn,
  543. /* [in] */ VARIANT val,
  544. /* [in] */ OSPFIND findFlags,
  545. /* [in] */ OSPCOMP compType,
  546. /* [retval][out] */ DBROWCOUNT *piRowFound);
  547. void __RPC_STUB OLEDBSimpleProvider_find_Stub(
  548. IRpcStubBuffer *This,
  549. IRpcChannelBuffer *_pRpcChannelBuffer,
  550. PRPC_MESSAGE _pRpcMessage,
  551. DWORD *_pdwStubPhase);
  552. HRESULT STDMETHODCALLTYPE OLEDBSimpleProvider_addOLEDBSimpleProviderListener_Proxy(
  553. OLEDBSimpleProvider * This,
  554. /* [in] */ OLEDBSimpleProviderListener *pospIListener);
  555. void __RPC_STUB OLEDBSimpleProvider_addOLEDBSimpleProviderListener_Stub(
  556. IRpcStubBuffer *This,
  557. IRpcChannelBuffer *_pRpcChannelBuffer,
  558. PRPC_MESSAGE _pRpcMessage,
  559. DWORD *_pdwStubPhase);
  560. HRESULT STDMETHODCALLTYPE OLEDBSimpleProvider_removeOLEDBSimpleProviderListener_Proxy(
  561. OLEDBSimpleProvider * This,
  562. /* [in] */ OLEDBSimpleProviderListener *pospIListener);
  563. void __RPC_STUB OLEDBSimpleProvider_removeOLEDBSimpleProviderListener_Stub(
  564. IRpcStubBuffer *This,
  565. IRpcChannelBuffer *_pRpcChannelBuffer,
  566. PRPC_MESSAGE _pRpcMessage,
  567. DWORD *_pdwStubPhase);
  568. HRESULT STDMETHODCALLTYPE OLEDBSimpleProvider_isAsync_Proxy(
  569. OLEDBSimpleProvider * This,
  570. /* [retval][out] */ BOOL *pbAsynch);
  571. void __RPC_STUB OLEDBSimpleProvider_isAsync_Stub(
  572. IRpcStubBuffer *This,
  573. IRpcChannelBuffer *_pRpcChannelBuffer,
  574. PRPC_MESSAGE _pRpcMessage,
  575. DWORD *_pdwStubPhase);
  576. HRESULT STDMETHODCALLTYPE OLEDBSimpleProvider_getEstimatedRows_Proxy(
  577. OLEDBSimpleProvider * This,
  578. /* [retval][out] */ DBROWCOUNT *piRows);
  579. void __RPC_STUB OLEDBSimpleProvider_getEstimatedRows_Stub(
  580. IRpcStubBuffer *This,
  581. IRpcChannelBuffer *_pRpcChannelBuffer,
  582. PRPC_MESSAGE _pRpcMessage,
  583. DWORD *_pdwStubPhase);
  584. HRESULT STDMETHODCALLTYPE OLEDBSimpleProvider_stopTransfer_Proxy(
  585. OLEDBSimpleProvider * This);
  586. void __RPC_STUB OLEDBSimpleProvider_stopTransfer_Stub(
  587. IRpcStubBuffer *This,
  588. IRpcChannelBuffer *_pRpcChannelBuffer,
  589. PRPC_MESSAGE _pRpcMessage,
  590. DWORD *_pdwStubPhase);
  591. #endif /* __OLEDBSimpleProvider_INTERFACE_DEFINED__ */
  592. #endif /* __MSDAOSP_LIBRARY_DEFINED__ */
  593. /* interface __MIDL_itf_simpdata_0117 */
  594. /* [local] */
  595. #endif
  596. extern RPC_IF_HANDLE __MIDL_itf_simpdata_0117_v0_0_c_ifspec;
  597. extern RPC_IF_HANDLE __MIDL_itf_simpdata_0117_v0_0_s_ifspec;
  598. /* Additional Prototypes for ALL interfaces */
  599. /* end of Additional Prototypes */
  600. #ifdef __cplusplus
  601. }
  602. #endif
  603. #endif