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.

2408 lines
71 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 oledbdep.idl:
  4. Oicf, W1, ..., 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 COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __oledbdep_h__
  27. #define __oledbdep_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IRowsetNextRowset_FWD_DEFINED__
  33. #define __IRowsetNextRowset_FWD_DEFINED__
  34. typedef interface IRowsetNextRowset IRowsetNextRowset;
  35. #endif /* __IRowsetNextRowset_FWD_DEFINED__ */
  36. #ifndef __IRowsetNewRowAfter_FWD_DEFINED__
  37. #define __IRowsetNewRowAfter_FWD_DEFINED__
  38. typedef interface IRowsetNewRowAfter IRowsetNewRowAfter;
  39. #endif /* __IRowsetNewRowAfter_FWD_DEFINED__ */
  40. #ifndef __IRowsetWithParameters_FWD_DEFINED__
  41. #define __IRowsetWithParameters_FWD_DEFINED__
  42. typedef interface IRowsetWithParameters IRowsetWithParameters;
  43. #endif /* __IRowsetWithParameters_FWD_DEFINED__ */
  44. #ifndef __IRowsetAsynch_FWD_DEFINED__
  45. #define __IRowsetAsynch_FWD_DEFINED__
  46. typedef interface IRowsetAsynch IRowsetAsynch;
  47. #endif /* __IRowsetAsynch_FWD_DEFINED__ */
  48. #ifndef __IRowsetKeys_FWD_DEFINED__
  49. #define __IRowsetKeys_FWD_DEFINED__
  50. typedef interface IRowsetKeys IRowsetKeys;
  51. #endif /* __IRowsetKeys_FWD_DEFINED__ */
  52. #ifndef __IRowsetWatchAll_FWD_DEFINED__
  53. #define __IRowsetWatchAll_FWD_DEFINED__
  54. typedef interface IRowsetWatchAll IRowsetWatchAll;
  55. #endif /* __IRowsetWatchAll_FWD_DEFINED__ */
  56. #ifndef __IRowsetWatchNotify_FWD_DEFINED__
  57. #define __IRowsetWatchNotify_FWD_DEFINED__
  58. typedef interface IRowsetWatchNotify IRowsetWatchNotify;
  59. #endif /* __IRowsetWatchNotify_FWD_DEFINED__ */
  60. #ifndef __IRowsetWatchRegion_FWD_DEFINED__
  61. #define __IRowsetWatchRegion_FWD_DEFINED__
  62. typedef interface IRowsetWatchRegion IRowsetWatchRegion;
  63. #endif /* __IRowsetWatchRegion_FWD_DEFINED__ */
  64. #ifndef __IRowsetCopyRows_FWD_DEFINED__
  65. #define __IRowsetCopyRows_FWD_DEFINED__
  66. typedef interface IRowsetCopyRows IRowsetCopyRows;
  67. #endif /* __IRowsetCopyRows_FWD_DEFINED__ */
  68. #ifndef __IReadData_FWD_DEFINED__
  69. #define __IReadData_FWD_DEFINED__
  70. typedef interface IReadData IReadData;
  71. #endif /* __IReadData_FWD_DEFINED__ */
  72. #ifndef __ICommandCost_FWD_DEFINED__
  73. #define __ICommandCost_FWD_DEFINED__
  74. typedef interface ICommandCost ICommandCost;
  75. #endif /* __ICommandCost_FWD_DEFINED__ */
  76. #ifndef __ICommandValidate_FWD_DEFINED__
  77. #define __ICommandValidate_FWD_DEFINED__
  78. typedef interface ICommandValidate ICommandValidate;
  79. #endif /* __ICommandValidate_FWD_DEFINED__ */
  80. #ifndef __ITableRename_FWD_DEFINED__
  81. #define __ITableRename_FWD_DEFINED__
  82. typedef interface ITableRename ITableRename;
  83. #endif /* __ITableRename_FWD_DEFINED__ */
  84. #ifndef __IDBSchemaCommand_FWD_DEFINED__
  85. #define __IDBSchemaCommand_FWD_DEFINED__
  86. typedef interface IDBSchemaCommand IDBSchemaCommand;
  87. #endif /* __IDBSchemaCommand_FWD_DEFINED__ */
  88. #ifndef __IProvideMoniker_FWD_DEFINED__
  89. #define __IProvideMoniker_FWD_DEFINED__
  90. typedef interface IProvideMoniker IProvideMoniker;
  91. #endif /* __IProvideMoniker_FWD_DEFINED__ */
  92. /* header files for imported files */
  93. #include "oledb.h"
  94. #ifdef __cplusplus
  95. extern "C"{
  96. #endif
  97. void * __RPC_USER MIDL_user_allocate(size_t);
  98. void __RPC_USER MIDL_user_free( void * );
  99. /* interface __MIDL_itf_oledbdep_0000 */
  100. /* [local] */
  101. //-----------------------------------------------------------------------------
  102. // File: .C or .H file generated by oledbdep.idl
  103. //
  104. // Copyright: Copyright (c) 1998-1999 Microsoft Corporation
  105. //
  106. // Contents: .C or .H file generated by oledbdep.idl
  107. //
  108. // Comments: Microsoft OLE DB
  109. //
  110. //-----------------------------------------------------------------------------
  111. #ifdef _WIN64
  112. #include <pshpack8.h> // 8-byte structure packing
  113. #else
  114. #include <pshpack2.h> // 2-byte structure packing
  115. #endif
  116. extern RPC_IF_HANDLE __MIDL_itf_oledbdep_0000_v0_0_c_ifspec;
  117. extern RPC_IF_HANDLE __MIDL_itf_oledbdep_0000_v0_0_s_ifspec;
  118. #ifndef __DBStructureDefinitionsDep_INTERFACE_DEFINED__
  119. #define __DBStructureDefinitionsDep_INTERFACE_DEFINED__
  120. /* interface DBStructureDefinitionsDep */
  121. /* [auto_handle][unique][uuid] */
  122. #ifndef UNALIGNED
  123. #if defined(_MIPS_) || defined(_ALPHA_) || defined(_PPC_)
  124. #define UNALIGNED __unaligned
  125. #else
  126. #define UNALIGNED
  127. #endif
  128. #endif //UNALIGNED
  129. #undef OLEDBDECLSPEC
  130. #if _MSC_VER >= 1100
  131. #define OLEDBDECLSPEC __declspec(selectany)
  132. #else
  133. #define OLEDBDECLSPEC
  134. #endif //_MSC_VER
  135. #ifdef DBINITCONSTANTS
  136. extern const OLEDBDECLSPEC GUID DB_PROPERTY_CHECK_OPTION = {0xc8b5220b,0x5cf3,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}};
  137. extern const OLEDBDECLSPEC GUID DB_PROPERTY_CONSTRAINT_CHECK_DEFERRED = {0xc8b521f0,0x5cf3,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}};
  138. extern const OLEDBDECLSPEC GUID DB_PROPERTY_DROP_CASCADE = {0xc8b521f3,0x5cf3,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}};
  139. extern const OLEDBDECLSPEC GUID DB_PROPERTY_UNIQUE = {0xc8b521f5,0x5cf3,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}};
  140. extern const OLEDBDECLSPEC GUID DB_PROPERTY_ON_COMMIT_PRESERVE_ROWS = {0xc8b52230,0x5cf3,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}};
  141. extern const OLEDBDECLSPEC GUID DB_PROPERTY_PRIMARY = {0xc8b521fc,0x5cf3,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}};
  142. extern const OLEDBDECLSPEC GUID DB_PROPERTY_CLUSTERED = {0xc8b521ff,0x5cf3,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}};
  143. extern const OLEDBDECLSPEC GUID DB_PROPERTY_NONCLUSTERED = {0xc8b52200,0x5cf3,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}};
  144. extern const OLEDBDECLSPEC GUID DB_PROPERTY_BTREE = {0xc8b52201,0x5cf3,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}};
  145. extern const OLEDBDECLSPEC GUID DB_PROPERTY_HASH = {0xc8b52202,0x5cf3,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}};
  146. extern const OLEDBDECLSPEC GUID DB_PROPERTY_FILLFACTOR = {0xc8b52203,0x5cf3,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}};
  147. extern const OLEDBDECLSPEC GUID DB_PROPERTY_INITIALSIZE = {0xc8b52204,0x5cf3,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}};
  148. extern const OLEDBDECLSPEC GUID DB_PROPERTY_DISALLOWNULL = {0xc8b52205,0x5cf3,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}};
  149. extern const OLEDBDECLSPEC GUID DB_PROPERTY_IGNORENULL = {0xc8b52206,0x5cf3,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}};
  150. extern const OLEDBDECLSPEC GUID DB_PROPERTY_IGNOREANYNULL = {0xc8b52207,0x5cf3,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}};
  151. extern const OLEDBDECLSPEC GUID DB_PROPERTY_SORTBOOKMARKS = {0xc8b52208,0x5cf3,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}};
  152. extern const OLEDBDECLSPEC GUID DB_PROPERTY_AUTOMATICUPDATE = {0xc8b52209,0x5cf3,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}};
  153. extern const OLEDBDECLSPEC GUID DB_PROPERTY_EXPLICITUPDATE = {0xc8b5220a,0x5cf3,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}};
  154. #else // !DBINITCONSTANTS
  155. extern const GUID DB_PROPERTY_CHECK_OPTION;
  156. extern const GUID DB_PROPERTY_CONSTRAINT_CHECK_DEFERRED;
  157. extern const GUID DB_PROPERTY_DROP_CASCADE;
  158. extern const GUID DB_PROPERTY_ON_COMMIT_PRESERVE_ROWS;
  159. extern const GUID DB_PROPERTY_UNIQUE;
  160. extern const GUID DB_PROPERTY_PRIMARY;
  161. extern const GUID DB_PROPERTY_CLUSTERED;
  162. extern const GUID DB_PROPERTY_NONCLUSTERED;
  163. extern const GUID DB_PROPERTY_BTREE;
  164. extern const GUID DB_PROPERTY_HASH;
  165. extern const GUID DB_PROPERTY_FILLFACTOR;
  166. extern const GUID DB_PROPERTY_INITIALSIZE;
  167. extern const GUID DB_PROPERTY_DISALLOWNULL;
  168. extern const GUID DB_PROPERTY_IGNORENULL;
  169. extern const GUID DB_PROPERTY_IGNOREANYNULL;
  170. extern const GUID DB_PROPERTY_SORTBOOKMARKS;
  171. extern const GUID DB_PROPERTY_AUTOMATICUPDATE;
  172. extern const GUID DB_PROPERTY_EXPLICITUPDATE;
  173. #endif // DBINITCONSTANTS
  174. enum DBPROPENUM25_DEPRECATED
  175. { DBPROP_ICommandCost = 0x8dL,
  176. DBPROP_ICommandTree = 0x8eL,
  177. DBPROP_ICommandValidate = 0x8fL,
  178. DBPROP_IDBSchemaCommand = 0x90L,
  179. DBPROP_IProvideMoniker = 0x7dL,
  180. DBPROP_IQuery = 0x92L,
  181. DBPROP_IReadData = 0x93L,
  182. DBPROP_IRowsetAsynch = 0x94L,
  183. DBPROP_IRowsetCopyRows = 0x95L,
  184. DBPROP_IRowsetKeys = 0x97L,
  185. DBPROP_IRowsetNewRowAfter = 0x98L,
  186. DBPROP_IRowsetNextRowset = 0x99L,
  187. DBPROP_IRowsetWatchAll = 0x9bL,
  188. DBPROP_IRowsetWatchNotify = 0x9cL,
  189. DBPROP_IRowsetWatchRegion = 0x9dL,
  190. DBPROP_IRowsetWithParameters = 0x9eL
  191. } ;
  192. enum DBREASONENUM25
  193. { DBREASON_ROWSET_ROWSADDED = DBREASON_ROW_ASYNCHINSERT + 1,
  194. DBREASON_ROWSET_POPULATIONCOMPLETE = DBREASON_ROWSET_ROWSADDED + 1,
  195. DBREASON_ROWSET_POPULATIONSTOPPED = DBREASON_ROWSET_POPULATIONCOMPLETE + 1
  196. } ;
  197. extern RPC_IF_HANDLE DBStructureDefinitionsDep_v0_0_c_ifspec;
  198. extern RPC_IF_HANDLE DBStructureDefinitionsDep_v0_0_s_ifspec;
  199. #endif /* __DBStructureDefinitionsDep_INTERFACE_DEFINED__ */
  200. #ifndef __IRowsetNextRowset_INTERFACE_DEFINED__
  201. #define __IRowsetNextRowset_INTERFACE_DEFINED__
  202. /* interface IRowsetNextRowset */
  203. /* [unique][uuid][object][local] */
  204. EXTERN_C const IID IID_IRowsetNextRowset;
  205. #if defined(__cplusplus) && !defined(CINTERFACE)
  206. MIDL_INTERFACE("0c733a72-2a1c-11ce-ade5-00aa0044773d")
  207. IRowsetNextRowset : public IUnknown
  208. {
  209. public:
  210. virtual HRESULT STDMETHODCALLTYPE GetNextRowset(
  211. /* [in] */ IUnknown *pUnkOuter,
  212. /* [in] */ REFIID riid,
  213. /* [iid_is][out] */ IUnknown **ppNextRowset) = 0;
  214. };
  215. #else /* C style interface */
  216. typedef struct IRowsetNextRowsetVtbl
  217. {
  218. BEGIN_INTERFACE
  219. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  220. IRowsetNextRowset * This,
  221. /* [in] */ REFIID riid,
  222. /* [iid_is][out] */ void **ppvObject);
  223. ULONG ( STDMETHODCALLTYPE *AddRef )(
  224. IRowsetNextRowset * This);
  225. ULONG ( STDMETHODCALLTYPE *Release )(
  226. IRowsetNextRowset * This);
  227. HRESULT ( STDMETHODCALLTYPE *GetNextRowset )(
  228. IRowsetNextRowset * This,
  229. /* [in] */ IUnknown *pUnkOuter,
  230. /* [in] */ REFIID riid,
  231. /* [iid_is][out] */ IUnknown **ppNextRowset);
  232. END_INTERFACE
  233. } IRowsetNextRowsetVtbl;
  234. interface IRowsetNextRowset
  235. {
  236. CONST_VTBL struct IRowsetNextRowsetVtbl *lpVtbl;
  237. };
  238. #ifdef COBJMACROS
  239. #define IRowsetNextRowset_QueryInterface(This,riid,ppvObject) \
  240. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  241. #define IRowsetNextRowset_AddRef(This) \
  242. (This)->lpVtbl -> AddRef(This)
  243. #define IRowsetNextRowset_Release(This) \
  244. (This)->lpVtbl -> Release(This)
  245. #define IRowsetNextRowset_GetNextRowset(This,pUnkOuter,riid,ppNextRowset) \
  246. (This)->lpVtbl -> GetNextRowset(This,pUnkOuter,riid,ppNextRowset)
  247. #endif /* COBJMACROS */
  248. #endif /* C style interface */
  249. HRESULT STDMETHODCALLTYPE IRowsetNextRowset_GetNextRowset_Proxy(
  250. IRowsetNextRowset * This,
  251. /* [in] */ IUnknown *pUnkOuter,
  252. /* [in] */ REFIID riid,
  253. /* [iid_is][out] */ IUnknown **ppNextRowset);
  254. void __RPC_STUB IRowsetNextRowset_GetNextRowset_Stub(
  255. IRpcStubBuffer *This,
  256. IRpcChannelBuffer *_pRpcChannelBuffer,
  257. PRPC_MESSAGE _pRpcMessage,
  258. DWORD *_pdwStubPhase);
  259. #endif /* __IRowsetNextRowset_INTERFACE_DEFINED__ */
  260. #ifndef __IRowsetNewRowAfter_INTERFACE_DEFINED__
  261. #define __IRowsetNewRowAfter_INTERFACE_DEFINED__
  262. /* interface IRowsetNewRowAfter */
  263. /* [unique][uuid][object][local] */
  264. EXTERN_C const IID IID_IRowsetNewRowAfter;
  265. #if defined(__cplusplus) && !defined(CINTERFACE)
  266. MIDL_INTERFACE("0c733a71-2a1c-11ce-ade5-00aa0044773d")
  267. IRowsetNewRowAfter : public IUnknown
  268. {
  269. public:
  270. virtual HRESULT STDMETHODCALLTYPE SetNewDataAfter(
  271. /* [in] */ HCHAPTER hChapter,
  272. /* [in] */ ULONG cbbmPrevious,
  273. /* [size_is][in] */ const BYTE *pbmPrevious,
  274. /* [in] */ HACCESSOR hAccessor,
  275. /* [in] */ BYTE *pData,
  276. /* [out] */ HROW *phRow) = 0;
  277. };
  278. #else /* C style interface */
  279. typedef struct IRowsetNewRowAfterVtbl
  280. {
  281. BEGIN_INTERFACE
  282. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  283. IRowsetNewRowAfter * This,
  284. /* [in] */ REFIID riid,
  285. /* [iid_is][out] */ void **ppvObject);
  286. ULONG ( STDMETHODCALLTYPE *AddRef )(
  287. IRowsetNewRowAfter * This);
  288. ULONG ( STDMETHODCALLTYPE *Release )(
  289. IRowsetNewRowAfter * This);
  290. HRESULT ( STDMETHODCALLTYPE *SetNewDataAfter )(
  291. IRowsetNewRowAfter * This,
  292. /* [in] */ HCHAPTER hChapter,
  293. /* [in] */ ULONG cbbmPrevious,
  294. /* [size_is][in] */ const BYTE *pbmPrevious,
  295. /* [in] */ HACCESSOR hAccessor,
  296. /* [in] */ BYTE *pData,
  297. /* [out] */ HROW *phRow);
  298. END_INTERFACE
  299. } IRowsetNewRowAfterVtbl;
  300. interface IRowsetNewRowAfter
  301. {
  302. CONST_VTBL struct IRowsetNewRowAfterVtbl *lpVtbl;
  303. };
  304. #ifdef COBJMACROS
  305. #define IRowsetNewRowAfter_QueryInterface(This,riid,ppvObject) \
  306. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  307. #define IRowsetNewRowAfter_AddRef(This) \
  308. (This)->lpVtbl -> AddRef(This)
  309. #define IRowsetNewRowAfter_Release(This) \
  310. (This)->lpVtbl -> Release(This)
  311. #define IRowsetNewRowAfter_SetNewDataAfter(This,hChapter,cbbmPrevious,pbmPrevious,hAccessor,pData,phRow) \
  312. (This)->lpVtbl -> SetNewDataAfter(This,hChapter,cbbmPrevious,pbmPrevious,hAccessor,pData,phRow)
  313. #endif /* COBJMACROS */
  314. #endif /* C style interface */
  315. HRESULT STDMETHODCALLTYPE IRowsetNewRowAfter_SetNewDataAfter_Proxy(
  316. IRowsetNewRowAfter * This,
  317. /* [in] */ HCHAPTER hChapter,
  318. /* [in] */ ULONG cbbmPrevious,
  319. /* [size_is][in] */ const BYTE *pbmPrevious,
  320. /* [in] */ HACCESSOR hAccessor,
  321. /* [in] */ BYTE *pData,
  322. /* [out] */ HROW *phRow);
  323. void __RPC_STUB IRowsetNewRowAfter_SetNewDataAfter_Stub(
  324. IRpcStubBuffer *This,
  325. IRpcChannelBuffer *_pRpcChannelBuffer,
  326. PRPC_MESSAGE _pRpcMessage,
  327. DWORD *_pdwStubPhase);
  328. #endif /* __IRowsetNewRowAfter_INTERFACE_DEFINED__ */
  329. #ifndef __IRowsetWithParameters_INTERFACE_DEFINED__
  330. #define __IRowsetWithParameters_INTERFACE_DEFINED__
  331. /* interface IRowsetWithParameters */
  332. /* [unique][uuid][object][local] */
  333. EXTERN_C const IID IID_IRowsetWithParameters;
  334. #if defined(__cplusplus) && !defined(CINTERFACE)
  335. MIDL_INTERFACE("0c733a6e-2a1c-11ce-ade5-00aa0044773d")
  336. IRowsetWithParameters : public IUnknown
  337. {
  338. public:
  339. virtual HRESULT STDMETHODCALLTYPE GetParameterInfo(
  340. /* [out][in] */ DB_UPARAMS *pcParams,
  341. /* [size_is][size_is][out] */ DBPARAMINFO **prgParamInfo,
  342. /* [out] */ OLECHAR **ppNamesBuffer) = 0;
  343. virtual HRESULT STDMETHODCALLTYPE Requery(
  344. /* [in] */ DBPARAMS *pParams,
  345. /* [out] */ ULONG *pulErrorParam,
  346. /* [out] */ HCHAPTER *phReserved) = 0;
  347. };
  348. #else /* C style interface */
  349. typedef struct IRowsetWithParametersVtbl
  350. {
  351. BEGIN_INTERFACE
  352. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  353. IRowsetWithParameters * This,
  354. /* [in] */ REFIID riid,
  355. /* [iid_is][out] */ void **ppvObject);
  356. ULONG ( STDMETHODCALLTYPE *AddRef )(
  357. IRowsetWithParameters * This);
  358. ULONG ( STDMETHODCALLTYPE *Release )(
  359. IRowsetWithParameters * This);
  360. HRESULT ( STDMETHODCALLTYPE *GetParameterInfo )(
  361. IRowsetWithParameters * This,
  362. /* [out][in] */ DB_UPARAMS *pcParams,
  363. /* [size_is][size_is][out] */ DBPARAMINFO **prgParamInfo,
  364. /* [out] */ OLECHAR **ppNamesBuffer);
  365. HRESULT ( STDMETHODCALLTYPE *Requery )(
  366. IRowsetWithParameters * This,
  367. /* [in] */ DBPARAMS *pParams,
  368. /* [out] */ ULONG *pulErrorParam,
  369. /* [out] */ HCHAPTER *phReserved);
  370. END_INTERFACE
  371. } IRowsetWithParametersVtbl;
  372. interface IRowsetWithParameters
  373. {
  374. CONST_VTBL struct IRowsetWithParametersVtbl *lpVtbl;
  375. };
  376. #ifdef COBJMACROS
  377. #define IRowsetWithParameters_QueryInterface(This,riid,ppvObject) \
  378. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  379. #define IRowsetWithParameters_AddRef(This) \
  380. (This)->lpVtbl -> AddRef(This)
  381. #define IRowsetWithParameters_Release(This) \
  382. (This)->lpVtbl -> Release(This)
  383. #define IRowsetWithParameters_GetParameterInfo(This,pcParams,prgParamInfo,ppNamesBuffer) \
  384. (This)->lpVtbl -> GetParameterInfo(This,pcParams,prgParamInfo,ppNamesBuffer)
  385. #define IRowsetWithParameters_Requery(This,pParams,pulErrorParam,phReserved) \
  386. (This)->lpVtbl -> Requery(This,pParams,pulErrorParam,phReserved)
  387. #endif /* COBJMACROS */
  388. #endif /* C style interface */
  389. HRESULT STDMETHODCALLTYPE IRowsetWithParameters_GetParameterInfo_Proxy(
  390. IRowsetWithParameters * This,
  391. /* [out][in] */ DB_UPARAMS *pcParams,
  392. /* [size_is][size_is][out] */ DBPARAMINFO **prgParamInfo,
  393. /* [out] */ OLECHAR **ppNamesBuffer);
  394. void __RPC_STUB IRowsetWithParameters_GetParameterInfo_Stub(
  395. IRpcStubBuffer *This,
  396. IRpcChannelBuffer *_pRpcChannelBuffer,
  397. PRPC_MESSAGE _pRpcMessage,
  398. DWORD *_pdwStubPhase);
  399. HRESULT STDMETHODCALLTYPE IRowsetWithParameters_Requery_Proxy(
  400. IRowsetWithParameters * This,
  401. /* [in] */ DBPARAMS *pParams,
  402. /* [out] */ ULONG *pulErrorParam,
  403. /* [out] */ HCHAPTER *phReserved);
  404. void __RPC_STUB IRowsetWithParameters_Requery_Stub(
  405. IRpcStubBuffer *This,
  406. IRpcChannelBuffer *_pRpcChannelBuffer,
  407. PRPC_MESSAGE _pRpcMessage,
  408. DWORD *_pdwStubPhase);
  409. #endif /* __IRowsetWithParameters_INTERFACE_DEFINED__ */
  410. #ifndef __IRowsetAsynch_INTERFACE_DEFINED__
  411. #define __IRowsetAsynch_INTERFACE_DEFINED__
  412. /* interface IRowsetAsynch */
  413. /* [unique][uuid][object][local] */
  414. EXTERN_C const IID IID_IRowsetAsynch;
  415. #if defined(__cplusplus) && !defined(CINTERFACE)
  416. MIDL_INTERFACE("0c733a0f-2a1c-11ce-ade5-00aa0044773d")
  417. IRowsetAsynch : public IUnknown
  418. {
  419. public:
  420. virtual HRESULT STDMETHODCALLTYPE RatioFinished(
  421. /* [out] */ DBCOUNTITEM *pulDenominator,
  422. /* [out] */ DBCOUNTITEM *pulNumerator,
  423. /* [out] */ DBCOUNTITEM *pcRows,
  424. /* [out] */ BOOL *pfNewRows) = 0;
  425. virtual HRESULT STDMETHODCALLTYPE Stop( void) = 0;
  426. };
  427. #else /* C style interface */
  428. typedef struct IRowsetAsynchVtbl
  429. {
  430. BEGIN_INTERFACE
  431. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  432. IRowsetAsynch * This,
  433. /* [in] */ REFIID riid,
  434. /* [iid_is][out] */ void **ppvObject);
  435. ULONG ( STDMETHODCALLTYPE *AddRef )(
  436. IRowsetAsynch * This);
  437. ULONG ( STDMETHODCALLTYPE *Release )(
  438. IRowsetAsynch * This);
  439. HRESULT ( STDMETHODCALLTYPE *RatioFinished )(
  440. IRowsetAsynch * This,
  441. /* [out] */ DBCOUNTITEM *pulDenominator,
  442. /* [out] */ DBCOUNTITEM *pulNumerator,
  443. /* [out] */ DBCOUNTITEM *pcRows,
  444. /* [out] */ BOOL *pfNewRows);
  445. HRESULT ( STDMETHODCALLTYPE *Stop )(
  446. IRowsetAsynch * This);
  447. END_INTERFACE
  448. } IRowsetAsynchVtbl;
  449. interface IRowsetAsynch
  450. {
  451. CONST_VTBL struct IRowsetAsynchVtbl *lpVtbl;
  452. };
  453. #ifdef COBJMACROS
  454. #define IRowsetAsynch_QueryInterface(This,riid,ppvObject) \
  455. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  456. #define IRowsetAsynch_AddRef(This) \
  457. (This)->lpVtbl -> AddRef(This)
  458. #define IRowsetAsynch_Release(This) \
  459. (This)->lpVtbl -> Release(This)
  460. #define IRowsetAsynch_RatioFinished(This,pulDenominator,pulNumerator,pcRows,pfNewRows) \
  461. (This)->lpVtbl -> RatioFinished(This,pulDenominator,pulNumerator,pcRows,pfNewRows)
  462. #define IRowsetAsynch_Stop(This) \
  463. (This)->lpVtbl -> Stop(This)
  464. #endif /* COBJMACROS */
  465. #endif /* C style interface */
  466. HRESULT STDMETHODCALLTYPE IRowsetAsynch_RatioFinished_Proxy(
  467. IRowsetAsynch * This,
  468. /* [out] */ DBCOUNTITEM *pulDenominator,
  469. /* [out] */ DBCOUNTITEM *pulNumerator,
  470. /* [out] */ DBCOUNTITEM *pcRows,
  471. /* [out] */ BOOL *pfNewRows);
  472. void __RPC_STUB IRowsetAsynch_RatioFinished_Stub(
  473. IRpcStubBuffer *This,
  474. IRpcChannelBuffer *_pRpcChannelBuffer,
  475. PRPC_MESSAGE _pRpcMessage,
  476. DWORD *_pdwStubPhase);
  477. HRESULT STDMETHODCALLTYPE IRowsetAsynch_Stop_Proxy(
  478. IRowsetAsynch * This);
  479. void __RPC_STUB IRowsetAsynch_Stop_Stub(
  480. IRpcStubBuffer *This,
  481. IRpcChannelBuffer *_pRpcChannelBuffer,
  482. PRPC_MESSAGE _pRpcMessage,
  483. DWORD *_pdwStubPhase);
  484. #endif /* __IRowsetAsynch_INTERFACE_DEFINED__ */
  485. #ifndef __IRowsetKeys_INTERFACE_DEFINED__
  486. #define __IRowsetKeys_INTERFACE_DEFINED__
  487. /* interface IRowsetKeys */
  488. /* [unique][uuid][object][local] */
  489. EXTERN_C const IID IID_IRowsetKeys;
  490. #if defined(__cplusplus) && !defined(CINTERFACE)
  491. MIDL_INTERFACE("0c733a12-2a1c-11ce-ade5-00aa0044773d")
  492. IRowsetKeys : public IUnknown
  493. {
  494. public:
  495. virtual HRESULT STDMETHODCALLTYPE ListKeys(
  496. /* [out][in] */ DBORDINAL *pcColumns,
  497. /* [size_is][size_is][out] */ DBORDINAL **prgColumns) = 0;
  498. };
  499. #else /* C style interface */
  500. typedef struct IRowsetKeysVtbl
  501. {
  502. BEGIN_INTERFACE
  503. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  504. IRowsetKeys * This,
  505. /* [in] */ REFIID riid,
  506. /* [iid_is][out] */ void **ppvObject);
  507. ULONG ( STDMETHODCALLTYPE *AddRef )(
  508. IRowsetKeys * This);
  509. ULONG ( STDMETHODCALLTYPE *Release )(
  510. IRowsetKeys * This);
  511. HRESULT ( STDMETHODCALLTYPE *ListKeys )(
  512. IRowsetKeys * This,
  513. /* [out][in] */ DBORDINAL *pcColumns,
  514. /* [size_is][size_is][out] */ DBORDINAL **prgColumns);
  515. END_INTERFACE
  516. } IRowsetKeysVtbl;
  517. interface IRowsetKeys
  518. {
  519. CONST_VTBL struct IRowsetKeysVtbl *lpVtbl;
  520. };
  521. #ifdef COBJMACROS
  522. #define IRowsetKeys_QueryInterface(This,riid,ppvObject) \
  523. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  524. #define IRowsetKeys_AddRef(This) \
  525. (This)->lpVtbl -> AddRef(This)
  526. #define IRowsetKeys_Release(This) \
  527. (This)->lpVtbl -> Release(This)
  528. #define IRowsetKeys_ListKeys(This,pcColumns,prgColumns) \
  529. (This)->lpVtbl -> ListKeys(This,pcColumns,prgColumns)
  530. #endif /* COBJMACROS */
  531. #endif /* C style interface */
  532. HRESULT STDMETHODCALLTYPE IRowsetKeys_ListKeys_Proxy(
  533. IRowsetKeys * This,
  534. /* [out][in] */ DBORDINAL *pcColumns,
  535. /* [size_is][size_is][out] */ DBORDINAL **prgColumns);
  536. void __RPC_STUB IRowsetKeys_ListKeys_Stub(
  537. IRpcStubBuffer *This,
  538. IRpcChannelBuffer *_pRpcChannelBuffer,
  539. PRPC_MESSAGE _pRpcMessage,
  540. DWORD *_pdwStubPhase);
  541. #endif /* __IRowsetKeys_INTERFACE_DEFINED__ */
  542. #ifndef __IRowsetWatchAll_INTERFACE_DEFINED__
  543. #define __IRowsetWatchAll_INTERFACE_DEFINED__
  544. /* interface IRowsetWatchAll */
  545. /* [unique][uuid][object][local] */
  546. EXTERN_C const IID IID_IRowsetWatchAll;
  547. #if defined(__cplusplus) && !defined(CINTERFACE)
  548. MIDL_INTERFACE("0c733a73-2a1c-11ce-ade5-00aa0044773d")
  549. IRowsetWatchAll : public IUnknown
  550. {
  551. public:
  552. virtual HRESULT STDMETHODCALLTYPE Acknowledge( void) = 0;
  553. virtual HRESULT STDMETHODCALLTYPE Start( void) = 0;
  554. virtual HRESULT STDMETHODCALLTYPE StopWatching( void) = 0;
  555. };
  556. #else /* C style interface */
  557. typedef struct IRowsetWatchAllVtbl
  558. {
  559. BEGIN_INTERFACE
  560. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  561. IRowsetWatchAll * This,
  562. /* [in] */ REFIID riid,
  563. /* [iid_is][out] */ void **ppvObject);
  564. ULONG ( STDMETHODCALLTYPE *AddRef )(
  565. IRowsetWatchAll * This);
  566. ULONG ( STDMETHODCALLTYPE *Release )(
  567. IRowsetWatchAll * This);
  568. HRESULT ( STDMETHODCALLTYPE *Acknowledge )(
  569. IRowsetWatchAll * This);
  570. HRESULT ( STDMETHODCALLTYPE *Start )(
  571. IRowsetWatchAll * This);
  572. HRESULT ( STDMETHODCALLTYPE *StopWatching )(
  573. IRowsetWatchAll * This);
  574. END_INTERFACE
  575. } IRowsetWatchAllVtbl;
  576. interface IRowsetWatchAll
  577. {
  578. CONST_VTBL struct IRowsetWatchAllVtbl *lpVtbl;
  579. };
  580. #ifdef COBJMACROS
  581. #define IRowsetWatchAll_QueryInterface(This,riid,ppvObject) \
  582. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  583. #define IRowsetWatchAll_AddRef(This) \
  584. (This)->lpVtbl -> AddRef(This)
  585. #define IRowsetWatchAll_Release(This) \
  586. (This)->lpVtbl -> Release(This)
  587. #define IRowsetWatchAll_Acknowledge(This) \
  588. (This)->lpVtbl -> Acknowledge(This)
  589. #define IRowsetWatchAll_Start(This) \
  590. (This)->lpVtbl -> Start(This)
  591. #define IRowsetWatchAll_StopWatching(This) \
  592. (This)->lpVtbl -> StopWatching(This)
  593. #endif /* COBJMACROS */
  594. #endif /* C style interface */
  595. HRESULT STDMETHODCALLTYPE IRowsetWatchAll_Acknowledge_Proxy(
  596. IRowsetWatchAll * This);
  597. void __RPC_STUB IRowsetWatchAll_Acknowledge_Stub(
  598. IRpcStubBuffer *This,
  599. IRpcChannelBuffer *_pRpcChannelBuffer,
  600. PRPC_MESSAGE _pRpcMessage,
  601. DWORD *_pdwStubPhase);
  602. HRESULT STDMETHODCALLTYPE IRowsetWatchAll_Start_Proxy(
  603. IRowsetWatchAll * This);
  604. void __RPC_STUB IRowsetWatchAll_Start_Stub(
  605. IRpcStubBuffer *This,
  606. IRpcChannelBuffer *_pRpcChannelBuffer,
  607. PRPC_MESSAGE _pRpcMessage,
  608. DWORD *_pdwStubPhase);
  609. HRESULT STDMETHODCALLTYPE IRowsetWatchAll_StopWatching_Proxy(
  610. IRowsetWatchAll * This);
  611. void __RPC_STUB IRowsetWatchAll_StopWatching_Stub(
  612. IRpcStubBuffer *This,
  613. IRpcChannelBuffer *_pRpcChannelBuffer,
  614. PRPC_MESSAGE _pRpcMessage,
  615. DWORD *_pdwStubPhase);
  616. #endif /* __IRowsetWatchAll_INTERFACE_DEFINED__ */
  617. #ifndef __IRowsetWatchNotify_INTERFACE_DEFINED__
  618. #define __IRowsetWatchNotify_INTERFACE_DEFINED__
  619. /* interface IRowsetWatchNotify */
  620. /* [unique][uuid][object][local] */
  621. typedef DWORD DBWATCHNOTIFY;
  622. enum DBWATCHNOTIFYENUM
  623. { DBWATCHNOTIFY_ROWSCHANGED = 1,
  624. DBWATCHNOTIFY_QUERYDONE = 2,
  625. DBWATCHNOTIFY_QUERYREEXECUTED = 3
  626. } ;
  627. EXTERN_C const IID IID_IRowsetWatchNotify;
  628. #if defined(__cplusplus) && !defined(CINTERFACE)
  629. MIDL_INTERFACE("0c733a44-2a1c-11ce-ade5-00aa0044773d")
  630. IRowsetWatchNotify : public IUnknown
  631. {
  632. public:
  633. virtual HRESULT STDMETHODCALLTYPE OnChange(
  634. /* [in] */ IRowset *pRowset,
  635. /* [in] */ DBWATCHNOTIFY eChangeReason) = 0;
  636. };
  637. #else /* C style interface */
  638. typedef struct IRowsetWatchNotifyVtbl
  639. {
  640. BEGIN_INTERFACE
  641. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  642. IRowsetWatchNotify * This,
  643. /* [in] */ REFIID riid,
  644. /* [iid_is][out] */ void **ppvObject);
  645. ULONG ( STDMETHODCALLTYPE *AddRef )(
  646. IRowsetWatchNotify * This);
  647. ULONG ( STDMETHODCALLTYPE *Release )(
  648. IRowsetWatchNotify * This);
  649. HRESULT ( STDMETHODCALLTYPE *OnChange )(
  650. IRowsetWatchNotify * This,
  651. /* [in] */ IRowset *pRowset,
  652. /* [in] */ DBWATCHNOTIFY eChangeReason);
  653. END_INTERFACE
  654. } IRowsetWatchNotifyVtbl;
  655. interface IRowsetWatchNotify
  656. {
  657. CONST_VTBL struct IRowsetWatchNotifyVtbl *lpVtbl;
  658. };
  659. #ifdef COBJMACROS
  660. #define IRowsetWatchNotify_QueryInterface(This,riid,ppvObject) \
  661. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  662. #define IRowsetWatchNotify_AddRef(This) \
  663. (This)->lpVtbl -> AddRef(This)
  664. #define IRowsetWatchNotify_Release(This) \
  665. (This)->lpVtbl -> Release(This)
  666. #define IRowsetWatchNotify_OnChange(This,pRowset,eChangeReason) \
  667. (This)->lpVtbl -> OnChange(This,pRowset,eChangeReason)
  668. #endif /* COBJMACROS */
  669. #endif /* C style interface */
  670. HRESULT STDMETHODCALLTYPE IRowsetWatchNotify_OnChange_Proxy(
  671. IRowsetWatchNotify * This,
  672. /* [in] */ IRowset *pRowset,
  673. /* [in] */ DBWATCHNOTIFY eChangeReason);
  674. void __RPC_STUB IRowsetWatchNotify_OnChange_Stub(
  675. IRpcStubBuffer *This,
  676. IRpcChannelBuffer *_pRpcChannelBuffer,
  677. PRPC_MESSAGE _pRpcMessage,
  678. DWORD *_pdwStubPhase);
  679. #endif /* __IRowsetWatchNotify_INTERFACE_DEFINED__ */
  680. #ifndef __IRowsetWatchRegion_INTERFACE_DEFINED__
  681. #define __IRowsetWatchRegion_INTERFACE_DEFINED__
  682. /* interface IRowsetWatchRegion */
  683. /* [unique][uuid][object][local] */
  684. typedef DWORD DBWATCHMODE;
  685. enum DBWATCHMODEENUM
  686. { DBWATCHMODE_ALL = 0x1,
  687. DBWATCHMODE_EXTEND = 0x2,
  688. DBWATCHMODE_MOVE = 0x4,
  689. DBWATCHMODE_COUNT = 0x8
  690. } ;
  691. typedef DWORD DBROWCHANGEKIND;
  692. enum DBROWCHANGEKINDENUM
  693. { DBROWCHANGEKIND_INSERT = 0,
  694. DBROWCHANGEKIND_DELETE = DBROWCHANGEKIND_INSERT + 1,
  695. DBROWCHANGEKIND_UPDATE = DBROWCHANGEKIND_DELETE + 1,
  696. DBROWCHANGEKIND_COUNT = DBROWCHANGEKIND_UPDATE + 1
  697. } ;
  698. typedef struct tagDBROWWATCHRANGE
  699. {
  700. HWATCHREGION hRegion;
  701. DBROWCHANGEKIND eChangeKind;
  702. HROW hRow;
  703. DBCOUNTITEM iRow;
  704. } DBROWWATCHCHANGE;
  705. EXTERN_C const IID IID_IRowsetWatchRegion;
  706. #if defined(__cplusplus) && !defined(CINTERFACE)
  707. MIDL_INTERFACE("0c733a45-2a1c-11ce-ade5-00aa0044773d")
  708. IRowsetWatchRegion : public IRowsetWatchAll
  709. {
  710. public:
  711. virtual HRESULT STDMETHODCALLTYPE CreateWatchRegion(
  712. /* [in] */ DBWATCHMODE dwWatchMode,
  713. /* [out] */ HWATCHREGION *phRegion) = 0;
  714. virtual HRESULT STDMETHODCALLTYPE ChangeWatchMode(
  715. /* [in] */ HWATCHREGION hRegion,
  716. /* [in] */ DBWATCHMODE dwWatchMode) = 0;
  717. virtual HRESULT STDMETHODCALLTYPE DeleteWatchRegion(
  718. /* [in] */ HWATCHREGION hRegion) = 0;
  719. virtual HRESULT STDMETHODCALLTYPE GetWatchRegionInfo(
  720. /* [in] */ HWATCHREGION hRegion,
  721. /* [out] */ DBWATCHMODE *pdwWatchMode,
  722. /* [out] */ HCHAPTER *phChapter,
  723. /* [out][in] */ DBBKMARK *pcbBookmark,
  724. /* [size_is][size_is][out] */ BYTE **ppBookmark,
  725. /* [out] */ DBROWCOUNT *pcRows) = 0;
  726. virtual HRESULT STDMETHODCALLTYPE Refresh(
  727. /* [out][in] */ DBCOUNTITEM *pcChangesObtained,
  728. /* [size_is][size_is][out] */ DBROWWATCHCHANGE **prgChanges) = 0;
  729. virtual HRESULT STDMETHODCALLTYPE ShrinkWatchRegion(
  730. /* [in] */ HWATCHREGION hRegion,
  731. /* [in] */ HCHAPTER hChapter,
  732. /* [in] */ DBBKMARK cbBookmark,
  733. /* [size_is][in] */ BYTE *pBookmark,
  734. /* [in] */ DBROWCOUNT cRows) = 0;
  735. };
  736. #else /* C style interface */
  737. typedef struct IRowsetWatchRegionVtbl
  738. {
  739. BEGIN_INTERFACE
  740. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  741. IRowsetWatchRegion * This,
  742. /* [in] */ REFIID riid,
  743. /* [iid_is][out] */ void **ppvObject);
  744. ULONG ( STDMETHODCALLTYPE *AddRef )(
  745. IRowsetWatchRegion * This);
  746. ULONG ( STDMETHODCALLTYPE *Release )(
  747. IRowsetWatchRegion * This);
  748. HRESULT ( STDMETHODCALLTYPE *Acknowledge )(
  749. IRowsetWatchRegion * This);
  750. HRESULT ( STDMETHODCALLTYPE *Start )(
  751. IRowsetWatchRegion * This);
  752. HRESULT ( STDMETHODCALLTYPE *StopWatching )(
  753. IRowsetWatchRegion * This);
  754. HRESULT ( STDMETHODCALLTYPE *CreateWatchRegion )(
  755. IRowsetWatchRegion * This,
  756. /* [in] */ DBWATCHMODE dwWatchMode,
  757. /* [out] */ HWATCHREGION *phRegion);
  758. HRESULT ( STDMETHODCALLTYPE *ChangeWatchMode )(
  759. IRowsetWatchRegion * This,
  760. /* [in] */ HWATCHREGION hRegion,
  761. /* [in] */ DBWATCHMODE dwWatchMode);
  762. HRESULT ( STDMETHODCALLTYPE *DeleteWatchRegion )(
  763. IRowsetWatchRegion * This,
  764. /* [in] */ HWATCHREGION hRegion);
  765. HRESULT ( STDMETHODCALLTYPE *GetWatchRegionInfo )(
  766. IRowsetWatchRegion * This,
  767. /* [in] */ HWATCHREGION hRegion,
  768. /* [out] */ DBWATCHMODE *pdwWatchMode,
  769. /* [out] */ HCHAPTER *phChapter,
  770. /* [out][in] */ DBBKMARK *pcbBookmark,
  771. /* [size_is][size_is][out] */ BYTE **ppBookmark,
  772. /* [out] */ DBROWCOUNT *pcRows);
  773. HRESULT ( STDMETHODCALLTYPE *Refresh )(
  774. IRowsetWatchRegion * This,
  775. /* [out][in] */ DBCOUNTITEM *pcChangesObtained,
  776. /* [size_is][size_is][out] */ DBROWWATCHCHANGE **prgChanges);
  777. HRESULT ( STDMETHODCALLTYPE *ShrinkWatchRegion )(
  778. IRowsetWatchRegion * This,
  779. /* [in] */ HWATCHREGION hRegion,
  780. /* [in] */ HCHAPTER hChapter,
  781. /* [in] */ DBBKMARK cbBookmark,
  782. /* [size_is][in] */ BYTE *pBookmark,
  783. /* [in] */ DBROWCOUNT cRows);
  784. END_INTERFACE
  785. } IRowsetWatchRegionVtbl;
  786. interface IRowsetWatchRegion
  787. {
  788. CONST_VTBL struct IRowsetWatchRegionVtbl *lpVtbl;
  789. };
  790. #ifdef COBJMACROS
  791. #define IRowsetWatchRegion_QueryInterface(This,riid,ppvObject) \
  792. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  793. #define IRowsetWatchRegion_AddRef(This) \
  794. (This)->lpVtbl -> AddRef(This)
  795. #define IRowsetWatchRegion_Release(This) \
  796. (This)->lpVtbl -> Release(This)
  797. #define IRowsetWatchRegion_Acknowledge(This) \
  798. (This)->lpVtbl -> Acknowledge(This)
  799. #define IRowsetWatchRegion_Start(This) \
  800. (This)->lpVtbl -> Start(This)
  801. #define IRowsetWatchRegion_StopWatching(This) \
  802. (This)->lpVtbl -> StopWatching(This)
  803. #define IRowsetWatchRegion_CreateWatchRegion(This,dwWatchMode,phRegion) \
  804. (This)->lpVtbl -> CreateWatchRegion(This,dwWatchMode,phRegion)
  805. #define IRowsetWatchRegion_ChangeWatchMode(This,hRegion,dwWatchMode) \
  806. (This)->lpVtbl -> ChangeWatchMode(This,hRegion,dwWatchMode)
  807. #define IRowsetWatchRegion_DeleteWatchRegion(This,hRegion) \
  808. (This)->lpVtbl -> DeleteWatchRegion(This,hRegion)
  809. #define IRowsetWatchRegion_GetWatchRegionInfo(This,hRegion,pdwWatchMode,phChapter,pcbBookmark,ppBookmark,pcRows) \
  810. (This)->lpVtbl -> GetWatchRegionInfo(This,hRegion,pdwWatchMode,phChapter,pcbBookmark,ppBookmark,pcRows)
  811. #define IRowsetWatchRegion_Refresh(This,pcChangesObtained,prgChanges) \
  812. (This)->lpVtbl -> Refresh(This,pcChangesObtained,prgChanges)
  813. #define IRowsetWatchRegion_ShrinkWatchRegion(This,hRegion,hChapter,cbBookmark,pBookmark,cRows) \
  814. (This)->lpVtbl -> ShrinkWatchRegion(This,hRegion,hChapter,cbBookmark,pBookmark,cRows)
  815. #endif /* COBJMACROS */
  816. #endif /* C style interface */
  817. HRESULT STDMETHODCALLTYPE IRowsetWatchRegion_CreateWatchRegion_Proxy(
  818. IRowsetWatchRegion * This,
  819. /* [in] */ DBWATCHMODE dwWatchMode,
  820. /* [out] */ HWATCHREGION *phRegion);
  821. void __RPC_STUB IRowsetWatchRegion_CreateWatchRegion_Stub(
  822. IRpcStubBuffer *This,
  823. IRpcChannelBuffer *_pRpcChannelBuffer,
  824. PRPC_MESSAGE _pRpcMessage,
  825. DWORD *_pdwStubPhase);
  826. HRESULT STDMETHODCALLTYPE IRowsetWatchRegion_ChangeWatchMode_Proxy(
  827. IRowsetWatchRegion * This,
  828. /* [in] */ HWATCHREGION hRegion,
  829. /* [in] */ DBWATCHMODE dwWatchMode);
  830. void __RPC_STUB IRowsetWatchRegion_ChangeWatchMode_Stub(
  831. IRpcStubBuffer *This,
  832. IRpcChannelBuffer *_pRpcChannelBuffer,
  833. PRPC_MESSAGE _pRpcMessage,
  834. DWORD *_pdwStubPhase);
  835. HRESULT STDMETHODCALLTYPE IRowsetWatchRegion_DeleteWatchRegion_Proxy(
  836. IRowsetWatchRegion * This,
  837. /* [in] */ HWATCHREGION hRegion);
  838. void __RPC_STUB IRowsetWatchRegion_DeleteWatchRegion_Stub(
  839. IRpcStubBuffer *This,
  840. IRpcChannelBuffer *_pRpcChannelBuffer,
  841. PRPC_MESSAGE _pRpcMessage,
  842. DWORD *_pdwStubPhase);
  843. HRESULT STDMETHODCALLTYPE IRowsetWatchRegion_GetWatchRegionInfo_Proxy(
  844. IRowsetWatchRegion * This,
  845. /* [in] */ HWATCHREGION hRegion,
  846. /* [out] */ DBWATCHMODE *pdwWatchMode,
  847. /* [out] */ HCHAPTER *phChapter,
  848. /* [out][in] */ DBBKMARK *pcbBookmark,
  849. /* [size_is][size_is][out] */ BYTE **ppBookmark,
  850. /* [out] */ DBROWCOUNT *pcRows);
  851. void __RPC_STUB IRowsetWatchRegion_GetWatchRegionInfo_Stub(
  852. IRpcStubBuffer *This,
  853. IRpcChannelBuffer *_pRpcChannelBuffer,
  854. PRPC_MESSAGE _pRpcMessage,
  855. DWORD *_pdwStubPhase);
  856. HRESULT STDMETHODCALLTYPE IRowsetWatchRegion_Refresh_Proxy(
  857. IRowsetWatchRegion * This,
  858. /* [out][in] */ DBCOUNTITEM *pcChangesObtained,
  859. /* [size_is][size_is][out] */ DBROWWATCHCHANGE **prgChanges);
  860. void __RPC_STUB IRowsetWatchRegion_Refresh_Stub(
  861. IRpcStubBuffer *This,
  862. IRpcChannelBuffer *_pRpcChannelBuffer,
  863. PRPC_MESSAGE _pRpcMessage,
  864. DWORD *_pdwStubPhase);
  865. HRESULT STDMETHODCALLTYPE IRowsetWatchRegion_ShrinkWatchRegion_Proxy(
  866. IRowsetWatchRegion * This,
  867. /* [in] */ HWATCHREGION hRegion,
  868. /* [in] */ HCHAPTER hChapter,
  869. /* [in] */ DBBKMARK cbBookmark,
  870. /* [size_is][in] */ BYTE *pBookmark,
  871. /* [in] */ DBROWCOUNT cRows);
  872. void __RPC_STUB IRowsetWatchRegion_ShrinkWatchRegion_Stub(
  873. IRpcStubBuffer *This,
  874. IRpcChannelBuffer *_pRpcChannelBuffer,
  875. PRPC_MESSAGE _pRpcMessage,
  876. DWORD *_pdwStubPhase);
  877. #endif /* __IRowsetWatchRegion_INTERFACE_DEFINED__ */
  878. #ifndef __IRowsetCopyRows_INTERFACE_DEFINED__
  879. #define __IRowsetCopyRows_INTERFACE_DEFINED__
  880. /* interface IRowsetCopyRows */
  881. /* [unique][uuid][object][local] */
  882. typedef WORD HSOURCE;
  883. EXTERN_C const IID IID_IRowsetCopyRows;
  884. #if defined(__cplusplus) && !defined(CINTERFACE)
  885. MIDL_INTERFACE("0c733a6b-2a1c-11ce-ade5-00aa0044773d")
  886. IRowsetCopyRows : public IUnknown
  887. {
  888. public:
  889. virtual HRESULT STDMETHODCALLTYPE CloseSource(
  890. /* [in] */ HSOURCE hSourceID) = 0;
  891. virtual HRESULT STDMETHODCALLTYPE CopyByHROWS(
  892. /* [in] */ HSOURCE hSourceID,
  893. /* [in] */ HCHAPTER hReserved,
  894. /* [in] */ DBROWCOUNT cRows,
  895. /* [size_is][in] */ const HROW rghRows[ ],
  896. /* [in] */ ULONG bFlags) = 0;
  897. virtual HRESULT STDMETHODCALLTYPE CopyRows(
  898. /* [in] */ HSOURCE hSourceID,
  899. /* [in] */ HCHAPTER hReserved,
  900. /* [in] */ DBROWCOUNT cRows,
  901. /* [in] */ ULONG bFlags,
  902. /* [out] */ DBCOUNTITEM *pcRowsCopied) = 0;
  903. virtual HRESULT STDMETHODCALLTYPE DefineSource(
  904. /* [in] */ const IRowset *pRowsetSource,
  905. /* [in] */ const DBORDINAL cColIds,
  906. /* [size_is][in] */ const DB_LORDINAL rgSourceColumns[ ],
  907. /* [size_is][in] */ const DB_LORDINAL rgTargetColumns[ ],
  908. /* [out] */ HSOURCE *phSourceID) = 0;
  909. };
  910. #else /* C style interface */
  911. typedef struct IRowsetCopyRowsVtbl
  912. {
  913. BEGIN_INTERFACE
  914. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  915. IRowsetCopyRows * This,
  916. /* [in] */ REFIID riid,
  917. /* [iid_is][out] */ void **ppvObject);
  918. ULONG ( STDMETHODCALLTYPE *AddRef )(
  919. IRowsetCopyRows * This);
  920. ULONG ( STDMETHODCALLTYPE *Release )(
  921. IRowsetCopyRows * This);
  922. HRESULT ( STDMETHODCALLTYPE *CloseSource )(
  923. IRowsetCopyRows * This,
  924. /* [in] */ HSOURCE hSourceID);
  925. HRESULT ( STDMETHODCALLTYPE *CopyByHROWS )(
  926. IRowsetCopyRows * This,
  927. /* [in] */ HSOURCE hSourceID,
  928. /* [in] */ HCHAPTER hReserved,
  929. /* [in] */ DBROWCOUNT cRows,
  930. /* [size_is][in] */ const HROW rghRows[ ],
  931. /* [in] */ ULONG bFlags);
  932. HRESULT ( STDMETHODCALLTYPE *CopyRows )(
  933. IRowsetCopyRows * This,
  934. /* [in] */ HSOURCE hSourceID,
  935. /* [in] */ HCHAPTER hReserved,
  936. /* [in] */ DBROWCOUNT cRows,
  937. /* [in] */ ULONG bFlags,
  938. /* [out] */ DBCOUNTITEM *pcRowsCopied);
  939. HRESULT ( STDMETHODCALLTYPE *DefineSource )(
  940. IRowsetCopyRows * This,
  941. /* [in] */ const IRowset *pRowsetSource,
  942. /* [in] */ const DBORDINAL cColIds,
  943. /* [size_is][in] */ const DB_LORDINAL rgSourceColumns[ ],
  944. /* [size_is][in] */ const DB_LORDINAL rgTargetColumns[ ],
  945. /* [out] */ HSOURCE *phSourceID);
  946. END_INTERFACE
  947. } IRowsetCopyRowsVtbl;
  948. interface IRowsetCopyRows
  949. {
  950. CONST_VTBL struct IRowsetCopyRowsVtbl *lpVtbl;
  951. };
  952. #ifdef COBJMACROS
  953. #define IRowsetCopyRows_QueryInterface(This,riid,ppvObject) \
  954. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  955. #define IRowsetCopyRows_AddRef(This) \
  956. (This)->lpVtbl -> AddRef(This)
  957. #define IRowsetCopyRows_Release(This) \
  958. (This)->lpVtbl -> Release(This)
  959. #define IRowsetCopyRows_CloseSource(This,hSourceID) \
  960. (This)->lpVtbl -> CloseSource(This,hSourceID)
  961. #define IRowsetCopyRows_CopyByHROWS(This,hSourceID,hReserved,cRows,rghRows,bFlags) \
  962. (This)->lpVtbl -> CopyByHROWS(This,hSourceID,hReserved,cRows,rghRows,bFlags)
  963. #define IRowsetCopyRows_CopyRows(This,hSourceID,hReserved,cRows,bFlags,pcRowsCopied) \
  964. (This)->lpVtbl -> CopyRows(This,hSourceID,hReserved,cRows,bFlags,pcRowsCopied)
  965. #define IRowsetCopyRows_DefineSource(This,pRowsetSource,cColIds,rgSourceColumns,rgTargetColumns,phSourceID) \
  966. (This)->lpVtbl -> DefineSource(This,pRowsetSource,cColIds,rgSourceColumns,rgTargetColumns,phSourceID)
  967. #endif /* COBJMACROS */
  968. #endif /* C style interface */
  969. HRESULT STDMETHODCALLTYPE IRowsetCopyRows_CloseSource_Proxy(
  970. IRowsetCopyRows * This,
  971. /* [in] */ HSOURCE hSourceID);
  972. void __RPC_STUB IRowsetCopyRows_CloseSource_Stub(
  973. IRpcStubBuffer *This,
  974. IRpcChannelBuffer *_pRpcChannelBuffer,
  975. PRPC_MESSAGE _pRpcMessage,
  976. DWORD *_pdwStubPhase);
  977. HRESULT STDMETHODCALLTYPE IRowsetCopyRows_CopyByHROWS_Proxy(
  978. IRowsetCopyRows * This,
  979. /* [in] */ HSOURCE hSourceID,
  980. /* [in] */ HCHAPTER hReserved,
  981. /* [in] */ DBROWCOUNT cRows,
  982. /* [size_is][in] */ const HROW rghRows[ ],
  983. /* [in] */ ULONG bFlags);
  984. void __RPC_STUB IRowsetCopyRows_CopyByHROWS_Stub(
  985. IRpcStubBuffer *This,
  986. IRpcChannelBuffer *_pRpcChannelBuffer,
  987. PRPC_MESSAGE _pRpcMessage,
  988. DWORD *_pdwStubPhase);
  989. HRESULT STDMETHODCALLTYPE IRowsetCopyRows_CopyRows_Proxy(
  990. IRowsetCopyRows * This,
  991. /* [in] */ HSOURCE hSourceID,
  992. /* [in] */ HCHAPTER hReserved,
  993. /* [in] */ DBROWCOUNT cRows,
  994. /* [in] */ ULONG bFlags,
  995. /* [out] */ DBCOUNTITEM *pcRowsCopied);
  996. void __RPC_STUB IRowsetCopyRows_CopyRows_Stub(
  997. IRpcStubBuffer *This,
  998. IRpcChannelBuffer *_pRpcChannelBuffer,
  999. PRPC_MESSAGE _pRpcMessage,
  1000. DWORD *_pdwStubPhase);
  1001. HRESULT STDMETHODCALLTYPE IRowsetCopyRows_DefineSource_Proxy(
  1002. IRowsetCopyRows * This,
  1003. /* [in] */ const IRowset *pRowsetSource,
  1004. /* [in] */ const DBORDINAL cColIds,
  1005. /* [size_is][in] */ const DB_LORDINAL rgSourceColumns[ ],
  1006. /* [size_is][in] */ const DB_LORDINAL rgTargetColumns[ ],
  1007. /* [out] */ HSOURCE *phSourceID);
  1008. void __RPC_STUB IRowsetCopyRows_DefineSource_Stub(
  1009. IRpcStubBuffer *This,
  1010. IRpcChannelBuffer *_pRpcChannelBuffer,
  1011. PRPC_MESSAGE _pRpcMessage,
  1012. DWORD *_pdwStubPhase);
  1013. #endif /* __IRowsetCopyRows_INTERFACE_DEFINED__ */
  1014. #ifndef __IReadData_INTERFACE_DEFINED__
  1015. #define __IReadData_INTERFACE_DEFINED__
  1016. /* interface IReadData */
  1017. /* [unique][uuid][object][local] */
  1018. EXTERN_C const IID IID_IReadData;
  1019. #if defined(__cplusplus) && !defined(CINTERFACE)
  1020. MIDL_INTERFACE("0c733a6a-2a1c-11ce-ade5-00aa0044773d")
  1021. IReadData : public IUnknown
  1022. {
  1023. public:
  1024. virtual HRESULT STDMETHODCALLTYPE ReadData(
  1025. /* [in] */ HCHAPTER hChapter,
  1026. /* [in] */ DBBKMARK cbBookmark,
  1027. /* [size_is][in] */ const BYTE *pBookmark,
  1028. /* [in] */ DBROWOFFSET lRowsOffset,
  1029. /* [in] */ HACCESSOR hAccessor,
  1030. /* [in] */ DBROWCOUNT cRows,
  1031. /* [out] */ DBCOUNTITEM *pcRowsObtained,
  1032. /* [out][in] */ BYTE **ppFixedData,
  1033. /* [out][in] */ DBLENGTH *pcbVariableTotal,
  1034. /* [out][in] */ BYTE **ppVariableData) = 0;
  1035. virtual HRESULT STDMETHODCALLTYPE ReleaseChapter(
  1036. /* [in] */ HCHAPTER hChapter) = 0;
  1037. };
  1038. #else /* C style interface */
  1039. typedef struct IReadDataVtbl
  1040. {
  1041. BEGIN_INTERFACE
  1042. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1043. IReadData * This,
  1044. /* [in] */ REFIID riid,
  1045. /* [iid_is][out] */ void **ppvObject);
  1046. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1047. IReadData * This);
  1048. ULONG ( STDMETHODCALLTYPE *Release )(
  1049. IReadData * This);
  1050. HRESULT ( STDMETHODCALLTYPE *ReadData )(
  1051. IReadData * This,
  1052. /* [in] */ HCHAPTER hChapter,
  1053. /* [in] */ DBBKMARK cbBookmark,
  1054. /* [size_is][in] */ const BYTE *pBookmark,
  1055. /* [in] */ DBROWOFFSET lRowsOffset,
  1056. /* [in] */ HACCESSOR hAccessor,
  1057. /* [in] */ DBROWCOUNT cRows,
  1058. /* [out] */ DBCOUNTITEM *pcRowsObtained,
  1059. /* [out][in] */ BYTE **ppFixedData,
  1060. /* [out][in] */ DBLENGTH *pcbVariableTotal,
  1061. /* [out][in] */ BYTE **ppVariableData);
  1062. HRESULT ( STDMETHODCALLTYPE *ReleaseChapter )(
  1063. IReadData * This,
  1064. /* [in] */ HCHAPTER hChapter);
  1065. END_INTERFACE
  1066. } IReadDataVtbl;
  1067. interface IReadData
  1068. {
  1069. CONST_VTBL struct IReadDataVtbl *lpVtbl;
  1070. };
  1071. #ifdef COBJMACROS
  1072. #define IReadData_QueryInterface(This,riid,ppvObject) \
  1073. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1074. #define IReadData_AddRef(This) \
  1075. (This)->lpVtbl -> AddRef(This)
  1076. #define IReadData_Release(This) \
  1077. (This)->lpVtbl -> Release(This)
  1078. #define IReadData_ReadData(This,hChapter,cbBookmark,pBookmark,lRowsOffset,hAccessor,cRows,pcRowsObtained,ppFixedData,pcbVariableTotal,ppVariableData) \
  1079. (This)->lpVtbl -> ReadData(This,hChapter,cbBookmark,pBookmark,lRowsOffset,hAccessor,cRows,pcRowsObtained,ppFixedData,pcbVariableTotal,ppVariableData)
  1080. #define IReadData_ReleaseChapter(This,hChapter) \
  1081. (This)->lpVtbl -> ReleaseChapter(This,hChapter)
  1082. #endif /* COBJMACROS */
  1083. #endif /* C style interface */
  1084. HRESULT STDMETHODCALLTYPE IReadData_ReadData_Proxy(
  1085. IReadData * This,
  1086. /* [in] */ HCHAPTER hChapter,
  1087. /* [in] */ DBBKMARK cbBookmark,
  1088. /* [size_is][in] */ const BYTE *pBookmark,
  1089. /* [in] */ DBROWOFFSET lRowsOffset,
  1090. /* [in] */ HACCESSOR hAccessor,
  1091. /* [in] */ DBROWCOUNT cRows,
  1092. /* [out] */ DBCOUNTITEM *pcRowsObtained,
  1093. /* [out][in] */ BYTE **ppFixedData,
  1094. /* [out][in] */ DBLENGTH *pcbVariableTotal,
  1095. /* [out][in] */ BYTE **ppVariableData);
  1096. void __RPC_STUB IReadData_ReadData_Stub(
  1097. IRpcStubBuffer *This,
  1098. IRpcChannelBuffer *_pRpcChannelBuffer,
  1099. PRPC_MESSAGE _pRpcMessage,
  1100. DWORD *_pdwStubPhase);
  1101. HRESULT STDMETHODCALLTYPE IReadData_ReleaseChapter_Proxy(
  1102. IReadData * This,
  1103. /* [in] */ HCHAPTER hChapter);
  1104. void __RPC_STUB IReadData_ReleaseChapter_Stub(
  1105. IRpcStubBuffer *This,
  1106. IRpcChannelBuffer *_pRpcChannelBuffer,
  1107. PRPC_MESSAGE _pRpcMessage,
  1108. DWORD *_pdwStubPhase);
  1109. #endif /* __IReadData_INTERFACE_DEFINED__ */
  1110. #ifndef __ICommandCost_INTERFACE_DEFINED__
  1111. #define __ICommandCost_INTERFACE_DEFINED__
  1112. /* interface ICommandCost */
  1113. /* [unique][uuid][object][local] */
  1114. typedef DWORD DBRESOURCEKIND;
  1115. enum DBRESOURCEKINDENUM
  1116. { DBRESOURCE_INVALID = 0,
  1117. DBRESOURCE_TOTAL = 1,
  1118. DBRESOURCE_CPU = 2,
  1119. DBRESOURCE_MEMORY = 3,
  1120. DBRESOURCE_DISK = 4,
  1121. DBRESOURCE_NETWORK = 5,
  1122. DBRESOURCE_RESPONSE = 6,
  1123. DBRESOURCE_ROWS = 7,
  1124. DBRESOURCE_OTHER = 8
  1125. } ;
  1126. typedef DWORD DBCOSTUNIT;
  1127. enum DBCOSTUNITENUM
  1128. { DBUNIT_INVALID = 0,
  1129. DBUNIT_WEIGHT = 0x1,
  1130. DBUNIT_PERCENT = 0x2,
  1131. DBUNIT_MAXIMUM = 0x4,
  1132. DBUNIT_MINIMUM = 0x8,
  1133. DBUNIT_MICRO_SECOND = 0x10,
  1134. DBUNIT_MILLI_SECOND = 0x20,
  1135. DBUNIT_SECOND = 0x40,
  1136. DBUNIT_MINUTE = 0x80,
  1137. DBUNIT_HOUR = 0x100,
  1138. DBUNIT_BYTE = 0x200,
  1139. DBUNIT_KILO_BYTE = 0x400,
  1140. DBUNIT_MEGA_BYTE = 0x800,
  1141. DBUNIT_GIGA_BYTE = 0x1000,
  1142. DBUNIT_NUM_MSGS = 0x2000,
  1143. DBUNIT_NUM_LOCKS = 0x4000,
  1144. DBUNIT_NUM_ROWS = 0x8000,
  1145. DBUNIT_OTHER = 0x10000
  1146. } ;
  1147. typedef struct tagDBCOST
  1148. {
  1149. DBRESOURCEKIND eKind;
  1150. DBCOSTUNIT dwUnits;
  1151. LONG lValue;
  1152. } DBCOST;
  1153. typedef DWORD DBEXECLIMITS;
  1154. enum DBEXECLIMITSENUM
  1155. { DBEXECLIMITS_ABORT = 1,
  1156. DBEXECLIMITS_STOP = 2,
  1157. DBEXECLIMITS_SUSPEND = 3
  1158. } ;
  1159. EXTERN_C const IID IID_ICommandCost;
  1160. #if defined(__cplusplus) && !defined(CINTERFACE)
  1161. MIDL_INTERFACE("0c733a4e-2a1c-11ce-ade5-00aa0044773d")
  1162. ICommandCost : public IUnknown
  1163. {
  1164. public:
  1165. virtual HRESULT STDMETHODCALLTYPE GetAccumulatedCost(
  1166. /* [in] */ LPCOLESTR pwszRowsetName,
  1167. /* [out][in] */ ULONG *pcCostLimits,
  1168. /* [size_is][size_is][out] */ DBCOST **prgCostLimits) = 0;
  1169. virtual HRESULT STDMETHODCALLTYPE GetCostEstimate(
  1170. /* [in] */ LPCOLESTR pwszRowsetName,
  1171. /* [out] */ ULONG *pcCostEstimates,
  1172. /* [out] */ DBCOST *prgCostEstimates) = 0;
  1173. virtual HRESULT STDMETHODCALLTYPE GetCostGoals(
  1174. /* [in] */ LPCOLESTR pwszRowsetName,
  1175. /* [out] */ ULONG *pcCostGoals,
  1176. /* [out] */ DBCOST *prgCostGoals) = 0;
  1177. virtual HRESULT STDMETHODCALLTYPE GetCostLimits(
  1178. /* [in] */ LPCOLESTR pwszRowsetName,
  1179. /* [out] */ ULONG *pcCostLimits,
  1180. /* [out] */ DBCOST *prgCostLimits) = 0;
  1181. virtual HRESULT STDMETHODCALLTYPE SetCostGoals(
  1182. /* [in] */ LPCOLESTR pwszRowsetName,
  1183. /* [in] */ ULONG cCostGoals,
  1184. /* [size_is][in] */ const DBCOST rgCostGoals[ ]) = 0;
  1185. virtual HRESULT STDMETHODCALLTYPE SetCostLimits(
  1186. /* [in] */ LPCOLESTR pwszRowsetName,
  1187. /* [in] */ ULONG cCostLimits,
  1188. /* [in] */ DBCOST *prgCostLimits,
  1189. /* [in] */ DBEXECLIMITS dwExecutionFlags) = 0;
  1190. };
  1191. #else /* C style interface */
  1192. typedef struct ICommandCostVtbl
  1193. {
  1194. BEGIN_INTERFACE
  1195. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1196. ICommandCost * This,
  1197. /* [in] */ REFIID riid,
  1198. /* [iid_is][out] */ void **ppvObject);
  1199. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1200. ICommandCost * This);
  1201. ULONG ( STDMETHODCALLTYPE *Release )(
  1202. ICommandCost * This);
  1203. HRESULT ( STDMETHODCALLTYPE *GetAccumulatedCost )(
  1204. ICommandCost * This,
  1205. /* [in] */ LPCOLESTR pwszRowsetName,
  1206. /* [out][in] */ ULONG *pcCostLimits,
  1207. /* [size_is][size_is][out] */ DBCOST **prgCostLimits);
  1208. HRESULT ( STDMETHODCALLTYPE *GetCostEstimate )(
  1209. ICommandCost * This,
  1210. /* [in] */ LPCOLESTR pwszRowsetName,
  1211. /* [out] */ ULONG *pcCostEstimates,
  1212. /* [out] */ DBCOST *prgCostEstimates);
  1213. HRESULT ( STDMETHODCALLTYPE *GetCostGoals )(
  1214. ICommandCost * This,
  1215. /* [in] */ LPCOLESTR pwszRowsetName,
  1216. /* [out] */ ULONG *pcCostGoals,
  1217. /* [out] */ DBCOST *prgCostGoals);
  1218. HRESULT ( STDMETHODCALLTYPE *GetCostLimits )(
  1219. ICommandCost * This,
  1220. /* [in] */ LPCOLESTR pwszRowsetName,
  1221. /* [out] */ ULONG *pcCostLimits,
  1222. /* [out] */ DBCOST *prgCostLimits);
  1223. HRESULT ( STDMETHODCALLTYPE *SetCostGoals )(
  1224. ICommandCost * This,
  1225. /* [in] */ LPCOLESTR pwszRowsetName,
  1226. /* [in] */ ULONG cCostGoals,
  1227. /* [size_is][in] */ const DBCOST rgCostGoals[ ]);
  1228. HRESULT ( STDMETHODCALLTYPE *SetCostLimits )(
  1229. ICommandCost * This,
  1230. /* [in] */ LPCOLESTR pwszRowsetName,
  1231. /* [in] */ ULONG cCostLimits,
  1232. /* [in] */ DBCOST *prgCostLimits,
  1233. /* [in] */ DBEXECLIMITS dwExecutionFlags);
  1234. END_INTERFACE
  1235. } ICommandCostVtbl;
  1236. interface ICommandCost
  1237. {
  1238. CONST_VTBL struct ICommandCostVtbl *lpVtbl;
  1239. };
  1240. #ifdef COBJMACROS
  1241. #define ICommandCost_QueryInterface(This,riid,ppvObject) \
  1242. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1243. #define ICommandCost_AddRef(This) \
  1244. (This)->lpVtbl -> AddRef(This)
  1245. #define ICommandCost_Release(This) \
  1246. (This)->lpVtbl -> Release(This)
  1247. #define ICommandCost_GetAccumulatedCost(This,pwszRowsetName,pcCostLimits,prgCostLimits) \
  1248. (This)->lpVtbl -> GetAccumulatedCost(This,pwszRowsetName,pcCostLimits,prgCostLimits)
  1249. #define ICommandCost_GetCostEstimate(This,pwszRowsetName,pcCostEstimates,prgCostEstimates) \
  1250. (This)->lpVtbl -> GetCostEstimate(This,pwszRowsetName,pcCostEstimates,prgCostEstimates)
  1251. #define ICommandCost_GetCostGoals(This,pwszRowsetName,pcCostGoals,prgCostGoals) \
  1252. (This)->lpVtbl -> GetCostGoals(This,pwszRowsetName,pcCostGoals,prgCostGoals)
  1253. #define ICommandCost_GetCostLimits(This,pwszRowsetName,pcCostLimits,prgCostLimits) \
  1254. (This)->lpVtbl -> GetCostLimits(This,pwszRowsetName,pcCostLimits,prgCostLimits)
  1255. #define ICommandCost_SetCostGoals(This,pwszRowsetName,cCostGoals,rgCostGoals) \
  1256. (This)->lpVtbl -> SetCostGoals(This,pwszRowsetName,cCostGoals,rgCostGoals)
  1257. #define ICommandCost_SetCostLimits(This,pwszRowsetName,cCostLimits,prgCostLimits,dwExecutionFlags) \
  1258. (This)->lpVtbl -> SetCostLimits(This,pwszRowsetName,cCostLimits,prgCostLimits,dwExecutionFlags)
  1259. #endif /* COBJMACROS */
  1260. #endif /* C style interface */
  1261. HRESULT STDMETHODCALLTYPE ICommandCost_GetAccumulatedCost_Proxy(
  1262. ICommandCost * This,
  1263. /* [in] */ LPCOLESTR pwszRowsetName,
  1264. /* [out][in] */ ULONG *pcCostLimits,
  1265. /* [size_is][size_is][out] */ DBCOST **prgCostLimits);
  1266. void __RPC_STUB ICommandCost_GetAccumulatedCost_Stub(
  1267. IRpcStubBuffer *This,
  1268. IRpcChannelBuffer *_pRpcChannelBuffer,
  1269. PRPC_MESSAGE _pRpcMessage,
  1270. DWORD *_pdwStubPhase);
  1271. HRESULT STDMETHODCALLTYPE ICommandCost_GetCostEstimate_Proxy(
  1272. ICommandCost * This,
  1273. /* [in] */ LPCOLESTR pwszRowsetName,
  1274. /* [out] */ ULONG *pcCostEstimates,
  1275. /* [out] */ DBCOST *prgCostEstimates);
  1276. void __RPC_STUB ICommandCost_GetCostEstimate_Stub(
  1277. IRpcStubBuffer *This,
  1278. IRpcChannelBuffer *_pRpcChannelBuffer,
  1279. PRPC_MESSAGE _pRpcMessage,
  1280. DWORD *_pdwStubPhase);
  1281. HRESULT STDMETHODCALLTYPE ICommandCost_GetCostGoals_Proxy(
  1282. ICommandCost * This,
  1283. /* [in] */ LPCOLESTR pwszRowsetName,
  1284. /* [out] */ ULONG *pcCostGoals,
  1285. /* [out] */ DBCOST *prgCostGoals);
  1286. void __RPC_STUB ICommandCost_GetCostGoals_Stub(
  1287. IRpcStubBuffer *This,
  1288. IRpcChannelBuffer *_pRpcChannelBuffer,
  1289. PRPC_MESSAGE _pRpcMessage,
  1290. DWORD *_pdwStubPhase);
  1291. HRESULT STDMETHODCALLTYPE ICommandCost_GetCostLimits_Proxy(
  1292. ICommandCost * This,
  1293. /* [in] */ LPCOLESTR pwszRowsetName,
  1294. /* [out] */ ULONG *pcCostLimits,
  1295. /* [out] */ DBCOST *prgCostLimits);
  1296. void __RPC_STUB ICommandCost_GetCostLimits_Stub(
  1297. IRpcStubBuffer *This,
  1298. IRpcChannelBuffer *_pRpcChannelBuffer,
  1299. PRPC_MESSAGE _pRpcMessage,
  1300. DWORD *_pdwStubPhase);
  1301. HRESULT STDMETHODCALLTYPE ICommandCost_SetCostGoals_Proxy(
  1302. ICommandCost * This,
  1303. /* [in] */ LPCOLESTR pwszRowsetName,
  1304. /* [in] */ ULONG cCostGoals,
  1305. /* [size_is][in] */ const DBCOST rgCostGoals[ ]);
  1306. void __RPC_STUB ICommandCost_SetCostGoals_Stub(
  1307. IRpcStubBuffer *This,
  1308. IRpcChannelBuffer *_pRpcChannelBuffer,
  1309. PRPC_MESSAGE _pRpcMessage,
  1310. DWORD *_pdwStubPhase);
  1311. HRESULT STDMETHODCALLTYPE ICommandCost_SetCostLimits_Proxy(
  1312. ICommandCost * This,
  1313. /* [in] */ LPCOLESTR pwszRowsetName,
  1314. /* [in] */ ULONG cCostLimits,
  1315. /* [in] */ DBCOST *prgCostLimits,
  1316. /* [in] */ DBEXECLIMITS dwExecutionFlags);
  1317. void __RPC_STUB ICommandCost_SetCostLimits_Stub(
  1318. IRpcStubBuffer *This,
  1319. IRpcChannelBuffer *_pRpcChannelBuffer,
  1320. PRPC_MESSAGE _pRpcMessage,
  1321. DWORD *_pdwStubPhase);
  1322. #endif /* __ICommandCost_INTERFACE_DEFINED__ */
  1323. #ifndef __ICommandValidate_INTERFACE_DEFINED__
  1324. #define __ICommandValidate_INTERFACE_DEFINED__
  1325. /* interface ICommandValidate */
  1326. /* [unique][uuid][object][local] */
  1327. EXTERN_C const IID IID_ICommandValidate;
  1328. #if defined(__cplusplus) && !defined(CINTERFACE)
  1329. MIDL_INTERFACE("0c733a18-2a1c-11ce-ade5-00aa0044773d")
  1330. ICommandValidate : public IUnknown
  1331. {
  1332. public:
  1333. virtual HRESULT STDMETHODCALLTYPE ValidateCompletely( void) = 0;
  1334. virtual HRESULT STDMETHODCALLTYPE ValidateSyntax( void) = 0;
  1335. };
  1336. #else /* C style interface */
  1337. typedef struct ICommandValidateVtbl
  1338. {
  1339. BEGIN_INTERFACE
  1340. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1341. ICommandValidate * This,
  1342. /* [in] */ REFIID riid,
  1343. /* [iid_is][out] */ void **ppvObject);
  1344. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1345. ICommandValidate * This);
  1346. ULONG ( STDMETHODCALLTYPE *Release )(
  1347. ICommandValidate * This);
  1348. HRESULT ( STDMETHODCALLTYPE *ValidateCompletely )(
  1349. ICommandValidate * This);
  1350. HRESULT ( STDMETHODCALLTYPE *ValidateSyntax )(
  1351. ICommandValidate * This);
  1352. END_INTERFACE
  1353. } ICommandValidateVtbl;
  1354. interface ICommandValidate
  1355. {
  1356. CONST_VTBL struct ICommandValidateVtbl *lpVtbl;
  1357. };
  1358. #ifdef COBJMACROS
  1359. #define ICommandValidate_QueryInterface(This,riid,ppvObject) \
  1360. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1361. #define ICommandValidate_AddRef(This) \
  1362. (This)->lpVtbl -> AddRef(This)
  1363. #define ICommandValidate_Release(This) \
  1364. (This)->lpVtbl -> Release(This)
  1365. #define ICommandValidate_ValidateCompletely(This) \
  1366. (This)->lpVtbl -> ValidateCompletely(This)
  1367. #define ICommandValidate_ValidateSyntax(This) \
  1368. (This)->lpVtbl -> ValidateSyntax(This)
  1369. #endif /* COBJMACROS */
  1370. #endif /* C style interface */
  1371. HRESULT STDMETHODCALLTYPE ICommandValidate_ValidateCompletely_Proxy(
  1372. ICommandValidate * This);
  1373. void __RPC_STUB ICommandValidate_ValidateCompletely_Stub(
  1374. IRpcStubBuffer *This,
  1375. IRpcChannelBuffer *_pRpcChannelBuffer,
  1376. PRPC_MESSAGE _pRpcMessage,
  1377. DWORD *_pdwStubPhase);
  1378. HRESULT STDMETHODCALLTYPE ICommandValidate_ValidateSyntax_Proxy(
  1379. ICommandValidate * This);
  1380. void __RPC_STUB ICommandValidate_ValidateSyntax_Stub(
  1381. IRpcStubBuffer *This,
  1382. IRpcChannelBuffer *_pRpcChannelBuffer,
  1383. PRPC_MESSAGE _pRpcMessage,
  1384. DWORD *_pdwStubPhase);
  1385. #endif /* __ICommandValidate_INTERFACE_DEFINED__ */
  1386. #ifndef __ITableRename_INTERFACE_DEFINED__
  1387. #define __ITableRename_INTERFACE_DEFINED__
  1388. /* interface ITableRename */
  1389. /* [unique][uuid][object][local] */
  1390. EXTERN_C const IID IID_ITableRename;
  1391. #if defined(__cplusplus) && !defined(CINTERFACE)
  1392. MIDL_INTERFACE("0c733a77-2a1c-11ce-ade5-00aa0044773d")
  1393. ITableRename : public IUnknown
  1394. {
  1395. public:
  1396. virtual HRESULT STDMETHODCALLTYPE RenameColumn(
  1397. /* [in] */ DBID *pTableId,
  1398. /* [in] */ DBID *pOldColumnId,
  1399. /* [in] */ DBID *pNewColumnId) = 0;
  1400. virtual HRESULT STDMETHODCALLTYPE RenameTable(
  1401. /* [in] */ DBID *pOldTableId,
  1402. /* [in] */ DBID *pOldIndexId,
  1403. /* [in] */ DBID *pNewTableId,
  1404. /* [in] */ DBID *pNewIndexId) = 0;
  1405. };
  1406. #else /* C style interface */
  1407. typedef struct ITableRenameVtbl
  1408. {
  1409. BEGIN_INTERFACE
  1410. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1411. ITableRename * This,
  1412. /* [in] */ REFIID riid,
  1413. /* [iid_is][out] */ void **ppvObject);
  1414. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1415. ITableRename * This);
  1416. ULONG ( STDMETHODCALLTYPE *Release )(
  1417. ITableRename * This);
  1418. HRESULT ( STDMETHODCALLTYPE *RenameColumn )(
  1419. ITableRename * This,
  1420. /* [in] */ DBID *pTableId,
  1421. /* [in] */ DBID *pOldColumnId,
  1422. /* [in] */ DBID *pNewColumnId);
  1423. HRESULT ( STDMETHODCALLTYPE *RenameTable )(
  1424. ITableRename * This,
  1425. /* [in] */ DBID *pOldTableId,
  1426. /* [in] */ DBID *pOldIndexId,
  1427. /* [in] */ DBID *pNewTableId,
  1428. /* [in] */ DBID *pNewIndexId);
  1429. END_INTERFACE
  1430. } ITableRenameVtbl;
  1431. interface ITableRename
  1432. {
  1433. CONST_VTBL struct ITableRenameVtbl *lpVtbl;
  1434. };
  1435. #ifdef COBJMACROS
  1436. #define ITableRename_QueryInterface(This,riid,ppvObject) \
  1437. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1438. #define ITableRename_AddRef(This) \
  1439. (This)->lpVtbl -> AddRef(This)
  1440. #define ITableRename_Release(This) \
  1441. (This)->lpVtbl -> Release(This)
  1442. #define ITableRename_RenameColumn(This,pTableId,pOldColumnId,pNewColumnId) \
  1443. (This)->lpVtbl -> RenameColumn(This,pTableId,pOldColumnId,pNewColumnId)
  1444. #define ITableRename_RenameTable(This,pOldTableId,pOldIndexId,pNewTableId,pNewIndexId) \
  1445. (This)->lpVtbl -> RenameTable(This,pOldTableId,pOldIndexId,pNewTableId,pNewIndexId)
  1446. #endif /* COBJMACROS */
  1447. #endif /* C style interface */
  1448. HRESULT STDMETHODCALLTYPE ITableRename_RenameColumn_Proxy(
  1449. ITableRename * This,
  1450. /* [in] */ DBID *pTableId,
  1451. /* [in] */ DBID *pOldColumnId,
  1452. /* [in] */ DBID *pNewColumnId);
  1453. void __RPC_STUB ITableRename_RenameColumn_Stub(
  1454. IRpcStubBuffer *This,
  1455. IRpcChannelBuffer *_pRpcChannelBuffer,
  1456. PRPC_MESSAGE _pRpcMessage,
  1457. DWORD *_pdwStubPhase);
  1458. HRESULT STDMETHODCALLTYPE ITableRename_RenameTable_Proxy(
  1459. ITableRename * This,
  1460. /* [in] */ DBID *pOldTableId,
  1461. /* [in] */ DBID *pOldIndexId,
  1462. /* [in] */ DBID *pNewTableId,
  1463. /* [in] */ DBID *pNewIndexId);
  1464. void __RPC_STUB ITableRename_RenameTable_Stub(
  1465. IRpcStubBuffer *This,
  1466. IRpcChannelBuffer *_pRpcChannelBuffer,
  1467. PRPC_MESSAGE _pRpcMessage,
  1468. DWORD *_pdwStubPhase);
  1469. #endif /* __ITableRename_INTERFACE_DEFINED__ */
  1470. #ifndef __IDBSchemaCommand_INTERFACE_DEFINED__
  1471. #define __IDBSchemaCommand_INTERFACE_DEFINED__
  1472. /* interface IDBSchemaCommand */
  1473. /* [unique][uuid][object][local] */
  1474. EXTERN_C const IID IID_IDBSchemaCommand;
  1475. #if defined(__cplusplus) && !defined(CINTERFACE)
  1476. MIDL_INTERFACE("0c733a50-2a1c-11ce-ade5-00aa0044773d")
  1477. IDBSchemaCommand : public IUnknown
  1478. {
  1479. public:
  1480. virtual HRESULT STDMETHODCALLTYPE GetCommand(
  1481. /* [in] */ IUnknown *pUnkOuter,
  1482. /* [in] */ REFGUID rguidSchema,
  1483. /* [out] */ ICommand **ppCommand) = 0;
  1484. virtual HRESULT STDMETHODCALLTYPE GetSchemas(
  1485. /* [out][in] */ ULONG *pcSchemas,
  1486. /* [size_is][size_is][out] */ GUID **prgSchemas) = 0;
  1487. };
  1488. #else /* C style interface */
  1489. typedef struct IDBSchemaCommandVtbl
  1490. {
  1491. BEGIN_INTERFACE
  1492. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1493. IDBSchemaCommand * This,
  1494. /* [in] */ REFIID riid,
  1495. /* [iid_is][out] */ void **ppvObject);
  1496. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1497. IDBSchemaCommand * This);
  1498. ULONG ( STDMETHODCALLTYPE *Release )(
  1499. IDBSchemaCommand * This);
  1500. HRESULT ( STDMETHODCALLTYPE *GetCommand )(
  1501. IDBSchemaCommand * This,
  1502. /* [in] */ IUnknown *pUnkOuter,
  1503. /* [in] */ REFGUID rguidSchema,
  1504. /* [out] */ ICommand **ppCommand);
  1505. HRESULT ( STDMETHODCALLTYPE *GetSchemas )(
  1506. IDBSchemaCommand * This,
  1507. /* [out][in] */ ULONG *pcSchemas,
  1508. /* [size_is][size_is][out] */ GUID **prgSchemas);
  1509. END_INTERFACE
  1510. } IDBSchemaCommandVtbl;
  1511. interface IDBSchemaCommand
  1512. {
  1513. CONST_VTBL struct IDBSchemaCommandVtbl *lpVtbl;
  1514. };
  1515. #ifdef COBJMACROS
  1516. #define IDBSchemaCommand_QueryInterface(This,riid,ppvObject) \
  1517. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1518. #define IDBSchemaCommand_AddRef(This) \
  1519. (This)->lpVtbl -> AddRef(This)
  1520. #define IDBSchemaCommand_Release(This) \
  1521. (This)->lpVtbl -> Release(This)
  1522. #define IDBSchemaCommand_GetCommand(This,pUnkOuter,rguidSchema,ppCommand) \
  1523. (This)->lpVtbl -> GetCommand(This,pUnkOuter,rguidSchema,ppCommand)
  1524. #define IDBSchemaCommand_GetSchemas(This,pcSchemas,prgSchemas) \
  1525. (This)->lpVtbl -> GetSchemas(This,pcSchemas,prgSchemas)
  1526. #endif /* COBJMACROS */
  1527. #endif /* C style interface */
  1528. HRESULT STDMETHODCALLTYPE IDBSchemaCommand_GetCommand_Proxy(
  1529. IDBSchemaCommand * This,
  1530. /* [in] */ IUnknown *pUnkOuter,
  1531. /* [in] */ REFGUID rguidSchema,
  1532. /* [out] */ ICommand **ppCommand);
  1533. void __RPC_STUB IDBSchemaCommand_GetCommand_Stub(
  1534. IRpcStubBuffer *This,
  1535. IRpcChannelBuffer *_pRpcChannelBuffer,
  1536. PRPC_MESSAGE _pRpcMessage,
  1537. DWORD *_pdwStubPhase);
  1538. HRESULT STDMETHODCALLTYPE IDBSchemaCommand_GetSchemas_Proxy(
  1539. IDBSchemaCommand * This,
  1540. /* [out][in] */ ULONG *pcSchemas,
  1541. /* [size_is][size_is][out] */ GUID **prgSchemas);
  1542. void __RPC_STUB IDBSchemaCommand_GetSchemas_Stub(
  1543. IRpcStubBuffer *This,
  1544. IRpcChannelBuffer *_pRpcChannelBuffer,
  1545. PRPC_MESSAGE _pRpcMessage,
  1546. DWORD *_pdwStubPhase);
  1547. #endif /* __IDBSchemaCommand_INTERFACE_DEFINED__ */
  1548. #ifndef __IProvideMoniker_INTERFACE_DEFINED__
  1549. #define __IProvideMoniker_INTERFACE_DEFINED__
  1550. /* interface IProvideMoniker */
  1551. /* [unique][uuid][object][local] */
  1552. EXTERN_C const IID IID_IProvideMoniker;
  1553. #if defined(__cplusplus) && !defined(CINTERFACE)
  1554. MIDL_INTERFACE("0c733a4d-2a1c-11ce-ade5-00aa0044773d")
  1555. IProvideMoniker : public IUnknown
  1556. {
  1557. public:
  1558. virtual HRESULT STDMETHODCALLTYPE GetMoniker(
  1559. /* [out] */ IMoniker **ppIMoniker) = 0;
  1560. };
  1561. #else /* C style interface */
  1562. typedef struct IProvideMonikerVtbl
  1563. {
  1564. BEGIN_INTERFACE
  1565. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1566. IProvideMoniker * This,
  1567. /* [in] */ REFIID riid,
  1568. /* [iid_is][out] */ void **ppvObject);
  1569. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1570. IProvideMoniker * This);
  1571. ULONG ( STDMETHODCALLTYPE *Release )(
  1572. IProvideMoniker * This);
  1573. HRESULT ( STDMETHODCALLTYPE *GetMoniker )(
  1574. IProvideMoniker * This,
  1575. /* [out] */ IMoniker **ppIMoniker);
  1576. END_INTERFACE
  1577. } IProvideMonikerVtbl;
  1578. interface IProvideMoniker
  1579. {
  1580. CONST_VTBL struct IProvideMonikerVtbl *lpVtbl;
  1581. };
  1582. #ifdef COBJMACROS
  1583. #define IProvideMoniker_QueryInterface(This,riid,ppvObject) \
  1584. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1585. #define IProvideMoniker_AddRef(This) \
  1586. (This)->lpVtbl -> AddRef(This)
  1587. #define IProvideMoniker_Release(This) \
  1588. (This)->lpVtbl -> Release(This)
  1589. #define IProvideMoniker_GetMoniker(This,ppIMoniker) \
  1590. (This)->lpVtbl -> GetMoniker(This,ppIMoniker)
  1591. #endif /* COBJMACROS */
  1592. #endif /* C style interface */
  1593. HRESULT STDMETHODCALLTYPE IProvideMoniker_GetMoniker_Proxy(
  1594. IProvideMoniker * This,
  1595. /* [out] */ IMoniker **ppIMoniker);
  1596. void __RPC_STUB IProvideMoniker_GetMoniker_Stub(
  1597. IRpcStubBuffer *This,
  1598. IRpcChannelBuffer *_pRpcChannelBuffer,
  1599. PRPC_MESSAGE _pRpcMessage,
  1600. DWORD *_pdwStubPhase);
  1601. #endif /* __IProvideMoniker_INTERFACE_DEFINED__ */
  1602. /* interface __MIDL_itf_oledbdep_0372 */
  1603. /* [local] */
  1604. // IID_IRowsetExactScroll = {0x0c733a7f,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}
  1605. // IID_IRowsetNextRowset = {0x0c733a72,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}
  1606. // IID_IRowsetNewRowAfter = {0x0c733a71,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}
  1607. // IID_IRowsetWithParameters = {0x0c733a6e,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}
  1608. // IID_IRowsetAsynch = {0x0c733a0f,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}
  1609. // IID_IRowsetKeys = {0x0c733a12,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}
  1610. // IID_IRowsetWatchAll = {0x0c733a73,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}
  1611. // IID_IRowsetWatchNotify = {0x0c733a44,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}
  1612. // IID_IRowsetWatchRegion = {0x0c733a45,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}
  1613. // IID_IRowsetCopyRows = {0x0c733a6b,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}
  1614. // IID_IReadData = {0x0c733a6a,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}
  1615. // IID_ICommandCost = {0x0c733a4e,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}
  1616. // IID_ICommandTree = {0x0c733a87,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}
  1617. // IID_ICommandValidate = {0x0c733a18,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}
  1618. // IID_IQuery = {0x0c733a51,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}
  1619. // IID_ITableRename = {0x0c733a77,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}
  1620. // IID_IDBSchemaCommand = {0x0c733a50,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}
  1621. // IID_IProvideMoniker = {0x0c733a4d,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}
  1622. #include <poppack.h> // restore original structure packing
  1623. extern RPC_IF_HANDLE __MIDL_itf_oledbdep_0372_v0_0_c_ifspec;
  1624. extern RPC_IF_HANDLE __MIDL_itf_oledbdep_0372_v0_0_s_ifspec;
  1625. /* Additional Prototypes for ALL interfaces */
  1626. /* end of Additional Prototypes */
  1627. #ifdef __cplusplus
  1628. }
  1629. #endif
  1630. #endif