Source code of Windows XP (NT5)
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.

863 lines
26 KiB

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