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.

11128 lines
460 KiB

  1. //--------------------------------------------------------------------
  2. // File: Microsoft ADO
  3. //
  4. // Copyright: Copyright (c) Microsoft Corporation
  5. //
  6. // @doc
  7. //
  8. // @module adoint.h | ADO Interface header
  9. //
  10. // @devnote None
  11. //--------------------------------------------------------------------
  12. #ifndef _ADOINT_H_
  13. #define _ADOINT_H_
  14. #ifndef _INC_TCHAR
  15. #include <tchar.h>
  16. #endif
  17. #if _MSC_VER >= 1100
  18. #define DECLSPEC_UUID(x) __declspec(uuid(x))
  19. #else
  20. #define DECLSPEC_UUID(x)
  21. #endif
  22. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  23. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  24. /* File created by MIDL compiler version 6.00.0347 */
  25. /* at Wed Jul 10 09:57:26 2002
  26. */
  27. /* Compiler settings for obj\i386\m_bobj.odl:
  28. Os, W4, Zp8, env=Win32 (32b run)
  29. protocol : dce , ms_ext, c_ext
  30. error checks: allocation ref bounds_check enum stub_data
  31. VC __declspec() decoration level:
  32. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  33. DECLSPEC_UUID(), MIDL_INTERFACE()
  34. */
  35. //@@MIDL_FILE_HEADING( )
  36. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  37. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  38. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  39. #endif
  40. #include "rpc.h"
  41. #include "rpcndr.h"
  42. #ifndef __m_bobj_h__
  43. #define __m_bobj_h__
  44. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  45. #pragma once
  46. #endif
  47. /* Forward Declarations */
  48. #ifndef ___ADOCollection_FWD_DEFINED__
  49. #define ___ADOCollection_FWD_DEFINED__
  50. typedef interface _ADOCollection _ADOCollection;
  51. #endif /* ___ADOCollection_FWD_DEFINED__ */
  52. #ifndef ___ADODynaCollection_FWD_DEFINED__
  53. #define ___ADODynaCollection_FWD_DEFINED__
  54. typedef interface _ADODynaCollection _ADODynaCollection;
  55. #endif /* ___ADODynaCollection_FWD_DEFINED__ */
  56. #ifndef ___ADO_FWD_DEFINED__
  57. #define ___ADO_FWD_DEFINED__
  58. typedef interface _ADO _ADO;
  59. #endif /* ___ADO_FWD_DEFINED__ */
  60. #ifndef __Error_FWD_DEFINED__
  61. #define __Error_FWD_DEFINED__
  62. typedef interface ADOError Error;
  63. #endif /* __Error_FWD_DEFINED__ */
  64. #ifndef __Errors_FWD_DEFINED__
  65. #define __Errors_FWD_DEFINED__
  66. typedef interface ADOErrors Errors;
  67. #endif /* __Errors_FWD_DEFINED__ */
  68. #ifndef __Command15_FWD_DEFINED__
  69. #define __Command15_FWD_DEFINED__
  70. typedef interface Command15 Command15;
  71. #endif /* __Command15_FWD_DEFINED__ */
  72. #ifndef __Command25_FWD_DEFINED__
  73. #define __Command25_FWD_DEFINED__
  74. typedef interface Command25 Command25;
  75. #endif /* __Command25_FWD_DEFINED__ */
  76. #ifndef ___Command_FWD_DEFINED__
  77. #define ___Command_FWD_DEFINED__
  78. typedef interface _ADOCommand _Command;
  79. #endif /* ___Command_FWD_DEFINED__ */
  80. #ifndef __ConnectionEventsVt_FWD_DEFINED__
  81. #define __ConnectionEventsVt_FWD_DEFINED__
  82. typedef interface ConnectionEventsVt ConnectionEventsVt;
  83. #endif /* __ConnectionEventsVt_FWD_DEFINED__ */
  84. #ifndef __RecordsetEventsVt_FWD_DEFINED__
  85. #define __RecordsetEventsVt_FWD_DEFINED__
  86. typedef interface RecordsetEventsVt RecordsetEventsVt;
  87. #endif /* __RecordsetEventsVt_FWD_DEFINED__ */
  88. #ifndef __ConnectionEvents_FWD_DEFINED__
  89. #define __ConnectionEvents_FWD_DEFINED__
  90. typedef interface ConnectionEvents ConnectionEvents;
  91. #endif /* __ConnectionEvents_FWD_DEFINED__ */
  92. #ifndef __RecordsetEvents_FWD_DEFINED__
  93. #define __RecordsetEvents_FWD_DEFINED__
  94. typedef interface RecordsetEvents RecordsetEvents;
  95. #endif /* __RecordsetEvents_FWD_DEFINED__ */
  96. #ifndef __Connection15_FWD_DEFINED__
  97. #define __Connection15_FWD_DEFINED__
  98. typedef interface Connection15 Connection15;
  99. #endif /* __Connection15_FWD_DEFINED__ */
  100. #ifndef ___Connection_FWD_DEFINED__
  101. #define ___Connection_FWD_DEFINED__
  102. typedef interface _ADOConnection _Connection;
  103. #endif /* ___Connection_FWD_DEFINED__ */
  104. #ifndef __ADOConnectionConstruction15_FWD_DEFINED__
  105. #define __ADOConnectionConstruction15_FWD_DEFINED__
  106. typedef interface ADOConnectionConstruction15 ADOConnectionConstruction15;
  107. #endif /* __ADOConnectionConstruction15_FWD_DEFINED__ */
  108. #ifndef __ADOConnectionConstruction_FWD_DEFINED__
  109. #define __ADOConnectionConstruction_FWD_DEFINED__
  110. typedef interface ADOConnectionConstruction ADOConnectionConstruction;
  111. #endif /* __ADOConnectionConstruction_FWD_DEFINED__ */
  112. #ifndef __Connection_FWD_DEFINED__
  113. #define __Connection_FWD_DEFINED__
  114. #ifdef __cplusplus
  115. typedef class ADOConnection Connection;
  116. #else
  117. typedef struct ADOConnection Connection;
  118. #endif /* __cplusplus */
  119. #endif /* __Connection_FWD_DEFINED__ */
  120. #ifndef ___Record_FWD_DEFINED__
  121. #define ___Record_FWD_DEFINED__
  122. typedef interface _ADORecord _Record;
  123. #endif /* ___Record_FWD_DEFINED__ */
  124. #ifndef __Record_FWD_DEFINED__
  125. #define __Record_FWD_DEFINED__
  126. #ifdef __cplusplus
  127. typedef class ADORecord Record;
  128. #else
  129. typedef struct ADORecord Record;
  130. #endif /* __cplusplus */
  131. #endif /* __Record_FWD_DEFINED__ */
  132. #ifndef ___Stream_FWD_DEFINED__
  133. #define ___Stream_FWD_DEFINED__
  134. typedef interface _ADOStream _Stream;
  135. #endif /* ___Stream_FWD_DEFINED__ */
  136. #ifndef __Stream_FWD_DEFINED__
  137. #define __Stream_FWD_DEFINED__
  138. #ifdef __cplusplus
  139. typedef class ADOStream Stream;
  140. #else
  141. typedef struct ADOStream Stream;
  142. #endif /* __cplusplus */
  143. #endif /* __Stream_FWD_DEFINED__ */
  144. #ifndef __ADORecordConstruction_FWD_DEFINED__
  145. #define __ADORecordConstruction_FWD_DEFINED__
  146. typedef interface ADORecordConstruction ADORecordConstruction;
  147. #endif /* __ADORecordConstruction_FWD_DEFINED__ */
  148. #ifndef __ADOStreamConstruction_FWD_DEFINED__
  149. #define __ADOStreamConstruction_FWD_DEFINED__
  150. typedef interface ADOStreamConstruction ADOStreamConstruction;
  151. #endif /* __ADOStreamConstruction_FWD_DEFINED__ */
  152. #ifndef __ADOCommandConstruction_FWD_DEFINED__
  153. #define __ADOCommandConstruction_FWD_DEFINED__
  154. typedef interface ADOCommandConstruction ADOCommandConstruction;
  155. #endif /* __ADOCommandConstruction_FWD_DEFINED__ */
  156. #ifndef __Command_FWD_DEFINED__
  157. #define __Command_FWD_DEFINED__
  158. #ifdef __cplusplus
  159. typedef class ADOCommand Command;
  160. #else
  161. typedef struct ADOCommand Command;
  162. #endif /* __cplusplus */
  163. #endif /* __Command_FWD_DEFINED__ */
  164. #ifndef __Recordset_FWD_DEFINED__
  165. #define __Recordset_FWD_DEFINED__
  166. #ifdef __cplusplus
  167. typedef class ADORecordset Recordset;
  168. #else
  169. typedef struct ADORecordset Recordset;
  170. #endif /* __cplusplus */
  171. #endif /* __Recordset_FWD_DEFINED__ */
  172. #ifndef __Recordset15_FWD_DEFINED__
  173. #define __Recordset15_FWD_DEFINED__
  174. typedef interface Recordset15 Recordset15;
  175. #endif /* __Recordset15_FWD_DEFINED__ */
  176. #ifndef __Recordset20_FWD_DEFINED__
  177. #define __Recordset20_FWD_DEFINED__
  178. typedef interface Recordset20 Recordset20;
  179. #endif /* __Recordset20_FWD_DEFINED__ */
  180. #ifndef __Recordset21_FWD_DEFINED__
  181. #define __Recordset21_FWD_DEFINED__
  182. typedef interface Recordset21 Recordset21;
  183. #endif /* __Recordset21_FWD_DEFINED__ */
  184. #ifndef ___Recordset_FWD_DEFINED__
  185. #define ___Recordset_FWD_DEFINED__
  186. typedef interface _ADORecordset _Recordset;
  187. #endif /* ___Recordset_FWD_DEFINED__ */
  188. #ifndef __ADORecordsetConstruction_FWD_DEFINED__
  189. #define __ADORecordsetConstruction_FWD_DEFINED__
  190. typedef interface ADORecordsetConstruction ADORecordsetConstruction;
  191. #endif /* __ADORecordsetConstruction_FWD_DEFINED__ */
  192. #ifndef __Field15_FWD_DEFINED__
  193. #define __Field15_FWD_DEFINED__
  194. typedef interface Field15 Field15;
  195. #endif /* __Field15_FWD_DEFINED__ */
  196. #ifndef __Field20_FWD_DEFINED__
  197. #define __Field20_FWD_DEFINED__
  198. typedef interface Field20 Field20;
  199. #endif /* __Field20_FWD_DEFINED__ */
  200. #ifndef __Field_FWD_DEFINED__
  201. #define __Field_FWD_DEFINED__
  202. typedef interface ADOField Field;
  203. #endif /* __Field_FWD_DEFINED__ */
  204. #ifndef __Fields15_FWD_DEFINED__
  205. #define __Fields15_FWD_DEFINED__
  206. typedef interface Fields15 Fields15;
  207. #endif /* __Fields15_FWD_DEFINED__ */
  208. #ifndef __Fields20_FWD_DEFINED__
  209. #define __Fields20_FWD_DEFINED__
  210. typedef interface Fields20 Fields20;
  211. #endif /* __Fields20_FWD_DEFINED__ */
  212. #ifndef __Fields_FWD_DEFINED__
  213. #define __Fields_FWD_DEFINED__
  214. typedef interface ADOFields Fields;
  215. #endif /* __Fields_FWD_DEFINED__ */
  216. #ifndef ___Parameter_FWD_DEFINED__
  217. #define ___Parameter_FWD_DEFINED__
  218. typedef interface _ADOParameter _Parameter;
  219. #endif /* ___Parameter_FWD_DEFINED__ */
  220. #ifndef __Parameter_FWD_DEFINED__
  221. #define __Parameter_FWD_DEFINED__
  222. #ifdef __cplusplus
  223. typedef class ADOParameter Parameter;
  224. #else
  225. typedef struct ADOParameter Parameter;
  226. #endif /* __cplusplus */
  227. #endif /* __Parameter_FWD_DEFINED__ */
  228. #ifndef __Parameters_FWD_DEFINED__
  229. #define __Parameters_FWD_DEFINED__
  230. typedef interface ADOParameters Parameters;
  231. #endif /* __Parameters_FWD_DEFINED__ */
  232. #ifndef __Property_FWD_DEFINED__
  233. #define __Property_FWD_DEFINED__
  234. typedef interface ADOProperty Property;
  235. #endif /* __Property_FWD_DEFINED__ */
  236. #ifndef __Properties_FWD_DEFINED__
  237. #define __Properties_FWD_DEFINED__
  238. typedef interface ADOProperties Properties;
  239. #endif /* __Properties_FWD_DEFINED__ */
  240. #ifdef __cplusplus
  241. extern "C"{
  242. #endif
  243. void * __RPC_USER MIDL_user_allocate(size_t);
  244. void __RPC_USER MIDL_user_free( void * );
  245. /* interface __MIDL_itf_m_bobj_0000 */
  246. /* [local] */
  247. #if 0
  248. typedef /* [uuid][public] */ DECLSPEC_UUID("54D8B4B9-663B-4a9c-95F6-0E749ABD70F1") __int64 ADO_LONGPTR;
  249. typedef /* [uuid][public] */ DECLSPEC_UUID("54D8B4B9-663B-4a9c-95F6-0E749ABD70F1") long ADO_LONGPTR;
  250. #endif
  251. #ifdef _WIN64
  252. // Number of rows
  253. typedef LONGLONG ADO_LONGPTR;
  254. #else
  255. // Number of rows
  256. typedef LONG ADO_LONGPTR;
  257. #endif // _WIN64
  258. extern RPC_IF_HANDLE __MIDL_itf_m_bobj_0000_v0_0_c_ifspec;
  259. extern RPC_IF_HANDLE __MIDL_itf_m_bobj_0000_v0_0_s_ifspec;
  260. #ifndef __ADODB_LIBRARY_DEFINED__
  261. #define __ADODB_LIBRARY_DEFINED__
  262. /* library ADODB */
  263. /* [helpstring][helpfile][version][uuid] */
  264. typedef /* [uuid][helpcontext][public] */ DECLSPEC_UUID("0000051B-0000-0010-8000-00AA006D2EA4")
  265. enum CursorTypeEnum
  266. { adOpenUnspecified = -1,
  267. adOpenForwardOnly = 0,
  268. adOpenKeyset = 1,
  269. adOpenDynamic = 2,
  270. adOpenStatic = 3
  271. } CursorTypeEnum;
  272. typedef /* [uuid][helpcontext] */ DECLSPEC_UUID("0000051C-0000-0010-8000-00AA006D2EA4")
  273. enum CursorOptionEnum
  274. { adHoldRecords = 0x100,
  275. adMovePrevious = 0x200,
  276. adAddNew = 0x1000400,
  277. adDelete = 0x1000800,
  278. adUpdate = 0x1008000,
  279. adBookmark = 0x2000,
  280. adApproxPosition = 0x4000,
  281. adUpdateBatch = 0x10000,
  282. adResync = 0x20000,
  283. adNotify = 0x40000,
  284. adFind = 0x80000,
  285. adSeek = 0x400000,
  286. adIndex = 0x800000
  287. } CursorOptionEnum;
  288. typedef /* [uuid][helpcontext] */ DECLSPEC_UUID("0000051D-0000-0010-8000-00AA006D2EA4")
  289. enum LockTypeEnum
  290. { adLockUnspecified = -1,
  291. adLockReadOnly = 1,
  292. adLockPessimistic = 2,
  293. adLockOptimistic = 3,
  294. adLockBatchOptimistic = 4
  295. } LockTypeEnum;
  296. typedef /* [uuid][helpcontext] */ DECLSPEC_UUID("0000051E-0000-0010-8000-00AA006D2EA4")
  297. enum ExecuteOptionEnum
  298. { adOptionUnspecified = -1,
  299. adAsyncExecute = 0x10,
  300. adAsyncFetch = 0x20,
  301. adAsyncFetchNonBlocking = 0x40,
  302. adExecuteNoRecords = 0x80,
  303. adExecuteStream = 0x400,
  304. adExecuteRecord = 0x800
  305. } ExecuteOptionEnum;
  306. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000541-0000-0010-8000-00AA006D2EA4")
  307. enum ConnectOptionEnum
  308. { adConnectUnspecified = -1,
  309. adAsyncConnect = 0x10
  310. } ConnectOptionEnum;
  311. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000532-0000-0010-8000-00AA006D2EA4")
  312. enum ObjectStateEnum
  313. { adStateClosed = 0,
  314. adStateOpen = 0x1,
  315. adStateConnecting = 0x2,
  316. adStateExecuting = 0x4,
  317. adStateFetching = 0x8
  318. } ObjectStateEnum;
  319. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("0000052F-0000-0010-8000-00AA006D2EA4")
  320. enum CursorLocationEnum
  321. { adUseNone = 1,
  322. adUseServer = 2,
  323. adUseClient = 3,
  324. adUseClientBatch = 3
  325. } CursorLocationEnum;
  326. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("0000051F-0000-0010-8000-00AA006D2EA4")
  327. enum DataTypeEnum
  328. { adEmpty = 0,
  329. adTinyInt = 16,
  330. adSmallInt = 2,
  331. adInteger = 3,
  332. adBigInt = 20,
  333. adUnsignedTinyInt = 17,
  334. adUnsignedSmallInt = 18,
  335. adUnsignedInt = 19,
  336. adUnsignedBigInt = 21,
  337. adSingle = 4,
  338. adDouble = 5,
  339. adCurrency = 6,
  340. adDecimal = 14,
  341. adNumeric = 131,
  342. adBoolean = 11,
  343. adError = 10,
  344. adUserDefined = 132,
  345. adVariant = 12,
  346. adIDispatch = 9,
  347. adIUnknown = 13,
  348. adGUID = 72,
  349. adDate = 7,
  350. adDBDate = 133,
  351. adDBTime = 134,
  352. adDBTimeStamp = 135,
  353. adBSTR = 8,
  354. adChar = 129,
  355. adVarChar = 200,
  356. adLongVarChar = 201,
  357. adWChar = 130,
  358. adVarWChar = 202,
  359. adLongVarWChar = 203,
  360. adBinary = 128,
  361. adVarBinary = 204,
  362. adLongVarBinary = 205,
  363. adChapter = 136,
  364. adFileTime = 64,
  365. adPropVariant = 138,
  366. adVarNumeric = 139,
  367. adArray = 0x2000
  368. } DataTypeEnum;
  369. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000525-0000-0010-8000-00AA006D2EA4")
  370. enum FieldAttributeEnum
  371. { adFldUnspecified = -1,
  372. adFldMayDefer = 0x2,
  373. adFldUpdatable = 0x4,
  374. adFldUnknownUpdatable = 0x8,
  375. adFldFixed = 0x10,
  376. adFldIsNullable = 0x20,
  377. adFldMayBeNull = 0x40,
  378. adFldLong = 0x80,
  379. adFldRowID = 0x100,
  380. adFldRowVersion = 0x200,
  381. adFldCacheDeferred = 0x1000,
  382. adFldIsChapter = 0x2000,
  383. adFldNegativeScale = 0x4000,
  384. adFldKeyColumn = 0x8000,
  385. adFldIsRowURL = 0x10000,
  386. adFldIsDefaultStream = 0x20000,
  387. adFldIsCollection = 0x40000
  388. } FieldAttributeEnum;
  389. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000526-0000-0010-8000-00AA006D2EA4")
  390. enum EditModeEnum
  391. { adEditNone = 0,
  392. adEditInProgress = 0x1,
  393. adEditAdd = 0x2,
  394. adEditDelete = 0x4
  395. } EditModeEnum;
  396. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000527-0000-0010-8000-00AA006D2EA4")
  397. enum RecordStatusEnum
  398. { adRecOK = 0,
  399. adRecNew = 0x1,
  400. adRecModified = 0x2,
  401. adRecDeleted = 0x4,
  402. adRecUnmodified = 0x8,
  403. adRecInvalid = 0x10,
  404. adRecMultipleChanges = 0x40,
  405. adRecPendingChanges = 0x80,
  406. adRecCanceled = 0x100,
  407. adRecCantRelease = 0x400,
  408. adRecConcurrencyViolation = 0x800,
  409. adRecIntegrityViolation = 0x1000,
  410. adRecMaxChangesExceeded = 0x2000,
  411. adRecObjectOpen = 0x4000,
  412. adRecOutOfMemory = 0x8000,
  413. adRecPermissionDenied = 0x10000,
  414. adRecSchemaViolation = 0x20000,
  415. adRecDBDeleted = 0x40000
  416. } RecordStatusEnum;
  417. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000542-0000-0010-8000-00AA006D2EA4")
  418. enum GetRowsOptionEnum
  419. { adGetRowsRest = -1
  420. } GetRowsOptionEnum;
  421. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000528-0000-0010-8000-00AA006D2EA4")
  422. enum PositionEnum
  423. { adPosUnknown = -1,
  424. adPosBOF = -2,
  425. adPosEOF = -3
  426. } PositionEnum;
  427. #if 0
  428. typedef /* [uuid][public] */ DECLSPEC_UUID("A56187C5-D690-4037-AE32-A00EDC376AC3") ADO_LONGPTR PositionEnum_Param;
  429. typedef /* [uuid][public] */ DECLSPEC_UUID("A56187C5-D690-4037-AE32-A00EDC376AC3") PositionEnum PositionEnum_Param;
  430. #endif
  431. #ifdef _WIN64
  432. typedef ADO_LONGPTR PositionEnum_Param;
  433. #else
  434. typedef PositionEnum PositionEnum_Param;
  435. #endif
  436. typedef /* [helpcontext] */
  437. enum BookmarkEnum
  438. { adBookmarkCurrent = 0,
  439. adBookmarkFirst = 1,
  440. adBookmarkLast = 2
  441. } BookmarkEnum;
  442. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000540-0000-0010-8000-00AA006D2EA4")
  443. enum MarshalOptionsEnum
  444. { adMarshalAll = 0,
  445. adMarshalModifiedOnly = 1
  446. } MarshalOptionsEnum;
  447. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000543-0000-0010-8000-00AA006D2EA4")
  448. enum AffectEnum
  449. { adAffectCurrent = 1,
  450. adAffectGroup = 2,
  451. adAffectAll = 3,
  452. adAffectAllChapters = 4
  453. } AffectEnum;
  454. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000544-0000-0010-8000-00AA006D2EA4")
  455. enum ResyncEnum
  456. { adResyncUnderlyingValues = 1,
  457. adResyncAllValues = 2
  458. } ResyncEnum;
  459. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000545-0000-0010-8000-00AA006D2EA4")
  460. enum CompareEnum
  461. { adCompareLessThan = 0,
  462. adCompareEqual = 1,
  463. adCompareGreaterThan = 2,
  464. adCompareNotEqual = 3,
  465. adCompareNotComparable = 4
  466. } CompareEnum;
  467. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000546-0000-0010-8000-00AA006D2EA4")
  468. enum FilterGroupEnum
  469. { adFilterNone = 0,
  470. adFilterPendingRecords = 1,
  471. adFilterAffectedRecords = 2,
  472. adFilterFetchedRecords = 3,
  473. adFilterPredicate = 4,
  474. adFilterConflictingRecords = 5
  475. } FilterGroupEnum;
  476. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000547-0000-0010-8000-00AA006D2EA4")
  477. enum SearchDirectionEnum
  478. { adSearchForward = 1,
  479. adSearchBackward = -1
  480. } SearchDirectionEnum;
  481. typedef /* [hidden] */ SearchDirectionEnum SearchDirection;
  482. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000548-0000-0010-8000-00AA006D2EA4")
  483. enum PersistFormatEnum
  484. { adPersistADTG = 0,
  485. adPersistXML = 1
  486. } PersistFormatEnum;
  487. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000549-0000-0010-8000-00AA006D2EA4")
  488. enum StringFormatEnum
  489. { adClipString = 2
  490. } StringFormatEnum;
  491. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000520-0000-0010-8000-00AA006D2EA4")
  492. enum ConnectPromptEnum
  493. { adPromptAlways = 1,
  494. adPromptComplete = 2,
  495. adPromptCompleteRequired = 3,
  496. adPromptNever = 4
  497. } ConnectPromptEnum;
  498. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000521-0000-0010-8000-00AA006D2EA4")
  499. enum ConnectModeEnum
  500. { adModeUnknown = 0,
  501. adModeRead = 1,
  502. adModeWrite = 2,
  503. adModeReadWrite = 3,
  504. adModeShareDenyRead = 4,
  505. adModeShareDenyWrite = 8,
  506. adModeShareExclusive = 0xc,
  507. adModeShareDenyNone = 0x10,
  508. adModeRecursive = 0x400000
  509. } ConnectModeEnum;
  510. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000570-0000-0010-8000-00AA006D2EA4")
  511. enum RecordCreateOptionsEnum
  512. { adCreateCollection = 0x2000,
  513. adCreateStructDoc = 0x80000000,
  514. adCreateNonCollection = 0,
  515. adOpenIfExists = 0x2000000,
  516. adCreateOverwrite = 0x4000000,
  517. adFailIfNotExists = -1
  518. } RecordCreateOptionsEnum;
  519. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000571-0000-0010-8000-00AA006D2EA4")
  520. enum RecordOpenOptionsEnum
  521. { adOpenRecordUnspecified = -1,
  522. adOpenSource = 0x800000,
  523. adOpenOutput = 0x800000,
  524. adOpenAsync = 0x1000,
  525. adDelayFetchStream = 0x4000,
  526. adDelayFetchFields = 0x8000,
  527. adOpenExecuteCommand = 0x10000
  528. } RecordOpenOptionsEnum;
  529. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000523-0000-0010-8000-00AA006D2EA4")
  530. enum IsolationLevelEnum
  531. { adXactUnspecified = 0xffffffff,
  532. adXactChaos = 0x10,
  533. adXactReadUncommitted = 0x100,
  534. adXactBrowse = 0x100,
  535. adXactCursorStability = 0x1000,
  536. adXactReadCommitted = 0x1000,
  537. adXactRepeatableRead = 0x10000,
  538. adXactSerializable = 0x100000,
  539. adXactIsolated = 0x100000
  540. } IsolationLevelEnum;
  541. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000524-0000-0010-8000-00AA006D2EA4")
  542. enum XactAttributeEnum
  543. { adXactCommitRetaining = 0x20000,
  544. adXactAbortRetaining = 0x40000,
  545. adXactAsyncPhaseOne = 0x80000,
  546. adXactSyncPhaseOne = 0x100000
  547. } XactAttributeEnum;
  548. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000529-0000-0010-8000-00AA006D2EA4")
  549. enum PropertyAttributesEnum
  550. { adPropNotSupported = 0,
  551. adPropRequired = 0x1,
  552. adPropOptional = 0x2,
  553. adPropRead = 0x200,
  554. adPropWrite = 0x400
  555. } PropertyAttributesEnum;
  556. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("0000052A-0000-0010-8000-00AA006D2EA4")
  557. enum ErrorValueEnum
  558. { adErrProviderFailed = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xbb8),
  559. adErrInvalidArgument = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xbb9),
  560. adErrOpeningFile = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xbba),
  561. adErrReadFile = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xbbb),
  562. adErrWriteFile = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xbbc),
  563. adErrNoCurrentRecord = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xbcd),
  564. adErrIllegalOperation = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xc93),
  565. adErrCantChangeProvider = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xc94),
  566. adErrInTransaction = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xcae),
  567. adErrFeatureNotAvailable = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xcb3),
  568. adErrItemNotFound = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xcc1),
  569. adErrObjectInCollection = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xd27),
  570. adErrObjectNotSet = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xd5c),
  571. adErrDataConversion = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xd5d),
  572. adErrObjectClosed = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe78),
  573. adErrObjectOpen = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe79),
  574. adErrProviderNotFound = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe7a),
  575. adErrBoundToCommand = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe7b),
  576. adErrInvalidParamInfo = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe7c),
  577. adErrInvalidConnection = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe7d),
  578. adErrNotReentrant = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe7e),
  579. adErrStillExecuting = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe7f),
  580. adErrOperationCancelled = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe80),
  581. adErrStillConnecting = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe81),
  582. adErrInvalidTransaction = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe82),
  583. adErrNotExecuting = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe83),
  584. adErrUnsafeOperation = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe84),
  585. adwrnSecurityDialog = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe85),
  586. adwrnSecurityDialogHeader = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe86),
  587. adErrIntegrityViolation = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe87),
  588. adErrPermissionDenied = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe88),
  589. adErrDataOverflow = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe89),
  590. adErrSchemaViolation = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe8a),
  591. adErrSignMismatch = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe8b),
  592. adErrCantConvertvalue = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe8c),
  593. adErrCantCreate = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe8d),
  594. adErrColumnNotOnThisRow = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe8e),
  595. adErrURLDoesNotExist = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe8f),
  596. adErrTreePermissionDenied = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe90),
  597. adErrInvalidURL = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe91),
  598. adErrResourceLocked = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe92),
  599. adErrResourceExists = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe93),
  600. adErrCannotComplete = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe94),
  601. adErrVolumeNotFound = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe95),
  602. adErrOutOfSpace = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe96),
  603. adErrResourceOutOfScope = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe97),
  604. adErrUnavailable = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe98),
  605. adErrURLNamedRowDoesNotExist = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe99),
  606. adErrDelResOutOfScope = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe9a),
  607. adErrPropInvalidColumn = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe9b),
  608. adErrPropInvalidOption = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe9c),
  609. adErrPropInvalidValue = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe9d),
  610. adErrPropConflicting = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe9e),
  611. adErrPropNotAllSettable = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe9f),
  612. adErrPropNotSet = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xea0),
  613. adErrPropNotSettable = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xea1),
  614. adErrPropNotSupported = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xea2),
  615. adErrCatalogNotSet = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xea3),
  616. adErrCantChangeConnection = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xea4),
  617. adErrFieldsUpdateFailed = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xea5),
  618. adErrDenyNotSupported = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xea6),
  619. adErrDenyTypeNotSupported = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xea7),
  620. adErrProviderNotSpecified = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xea9),
  621. } ErrorValueEnum;
  622. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("0000052B-0000-0010-8000-00AA006D2EA4")
  623. enum ParameterAttributesEnum
  624. { adParamSigned = 0x10,
  625. adParamNullable = 0x40,
  626. adParamLong = 0x80
  627. } ParameterAttributesEnum;
  628. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("0000052C-0000-0010-8000-00AA006D2EA4")
  629. enum ParameterDirectionEnum
  630. { adParamUnknown = 0,
  631. adParamInput = 0x1,
  632. adParamOutput = 0x2,
  633. adParamInputOutput = 0x3,
  634. adParamReturnValue = 0x4
  635. } ParameterDirectionEnum;
  636. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("0000052E-0000-0010-8000-00AA006D2EA4")
  637. enum CommandTypeEnum
  638. { adCmdUnspecified = -1,
  639. adCmdUnknown = 0x8,
  640. adCmdText = 0x1,
  641. adCmdTable = 0x2,
  642. adCmdStoredProc = 0x4,
  643. adCmdFile = 0x100,
  644. adCmdTableDirect = 0x200
  645. } CommandTypeEnum;
  646. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000530-0000-0010-8000-00AA006D2EA4")
  647. enum EventStatusEnum
  648. { adStatusOK = 0x1,
  649. adStatusErrorsOccurred = 0x2,
  650. adStatusCantDeny = 0x3,
  651. adStatusCancel = 0x4,
  652. adStatusUnwantedEvent = 0x5
  653. } EventStatusEnum;
  654. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000531-0000-0010-8000-00AA006D2EA4")
  655. enum EventReasonEnum
  656. { adRsnAddNew = 1,
  657. adRsnDelete = 2,
  658. adRsnUpdate = 3,
  659. adRsnUndoUpdate = 4,
  660. adRsnUndoAddNew = 5,
  661. adRsnUndoDelete = 6,
  662. adRsnRequery = 7,
  663. adRsnResynch = 8,
  664. adRsnClose = 9,
  665. adRsnMove = 10,
  666. adRsnFirstChange = 11,
  667. adRsnMoveFirst = 12,
  668. adRsnMoveNext = 13,
  669. adRsnMovePrevious = 14,
  670. adRsnMoveLast = 15
  671. } EventReasonEnum;
  672. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000533-0000-0010-8000-00AA006D2EA4")
  673. enum SchemaEnum
  674. { adSchemaProviderSpecific = -1,
  675. adSchemaAsserts = 0,
  676. adSchemaCatalogs = 1,
  677. adSchemaCharacterSets = 2,
  678. adSchemaCollations = 3,
  679. adSchemaColumns = 4,
  680. adSchemaCheckConstraints = 5,
  681. adSchemaConstraintColumnUsage = 6,
  682. adSchemaConstraintTableUsage = 7,
  683. adSchemaKeyColumnUsage = 8,
  684. adSchemaReferentialContraints = 9,
  685. adSchemaReferentialConstraints = 9,
  686. adSchemaTableConstraints = 10,
  687. adSchemaColumnsDomainUsage = 11,
  688. adSchemaIndexes = 12,
  689. adSchemaColumnPrivileges = 13,
  690. adSchemaTablePrivileges = 14,
  691. adSchemaUsagePrivileges = 15,
  692. adSchemaProcedures = 16,
  693. adSchemaSchemata = 17,
  694. adSchemaSQLLanguages = 18,
  695. adSchemaStatistics = 19,
  696. adSchemaTables = 20,
  697. adSchemaTranslations = 21,
  698. adSchemaProviderTypes = 22,
  699. adSchemaViews = 23,
  700. adSchemaViewColumnUsage = 24,
  701. adSchemaViewTableUsage = 25,
  702. adSchemaProcedureParameters = 26,
  703. adSchemaForeignKeys = 27,
  704. adSchemaPrimaryKeys = 28,
  705. adSchemaProcedureColumns = 29,
  706. adSchemaDBInfoKeywords = 30,
  707. adSchemaDBInfoLiterals = 31,
  708. adSchemaCubes = 32,
  709. adSchemaDimensions = 33,
  710. adSchemaHierarchies = 34,
  711. adSchemaLevels = 35,
  712. adSchemaMeasures = 36,
  713. adSchemaProperties = 37,
  714. adSchemaMembers = 38,
  715. adSchemaTrustees = 39,
  716. adSchemaFunctions = 40,
  717. adSchemaActions = 41,
  718. adSchemaCommands = 42,
  719. adSchemaSets = 43
  720. } SchemaEnum;
  721. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("0000057E-0000-0010-8000-00AA006D2EA4")
  722. enum FieldStatusEnum
  723. { adFieldOK = 0,
  724. adFieldCantConvertValue = 2,
  725. adFieldIsNull = 3,
  726. adFieldTruncated = 4,
  727. adFieldSignMismatch = 5,
  728. adFieldDataOverflow = 6,
  729. adFieldCantCreate = 7,
  730. adFieldUnavailable = 8,
  731. adFieldPermissionDenied = 9,
  732. adFieldIntegrityViolation = 10,
  733. adFieldSchemaViolation = 11,
  734. adFieldBadStatus = 12,
  735. adFieldDefault = 13,
  736. adFieldIgnore = 15,
  737. adFieldDoesNotExist = 16,
  738. adFieldInvalidURL = 17,
  739. adFieldResourceLocked = 18,
  740. adFieldResourceExists = 19,
  741. adFieldCannotComplete = 20,
  742. adFieldVolumeNotFound = 21,
  743. adFieldOutOfSpace = 22,
  744. adFieldCannotDeleteSource = 23,
  745. adFieldReadOnly = 24,
  746. adFieldResourceOutOfScope = 25,
  747. adFieldAlreadyExists = 26,
  748. adFieldPendingInsert = 0x10000,
  749. adFieldPendingDelete = 0x20000,
  750. adFieldPendingChange = 0x40000,
  751. adFieldPendingUnknown = 0x80000,
  752. adFieldPendingUnknownDelete = 0x100000
  753. } FieldStatusEnum;
  754. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000552-0000-0010-8000-00AA006D2EA4")
  755. enum SeekEnum
  756. { adSeekFirstEQ = 0x1,
  757. adSeekLastEQ = 0x2,
  758. adSeekAfterEQ = 0x4,
  759. adSeekAfter = 0x8,
  760. adSeekBeforeEQ = 0x10,
  761. adSeekBefore = 0x20
  762. } SeekEnum;
  763. #ifndef _COMMON_ADC_AND_ADO_PROPS_
  764. #define _COMMON_ADC_AND_ADO_PROPS_
  765. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("0000054A-0000-0010-8000-00AA006D2EA4")
  766. enum ADCPROP_UPDATECRITERIA_ENUM
  767. { adCriteriaKey = 0,
  768. adCriteriaAllCols = 1,
  769. adCriteriaUpdCols = 2,
  770. adCriteriaTimeStamp = 3
  771. } ADCPROP_UPDATECRITERIA_ENUM;
  772. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("0000054B-0000-0010-8000-00AA006D2EA4")
  773. enum ADCPROP_ASYNCTHREADPRIORITY_ENUM
  774. { adPriorityLowest = 1,
  775. adPriorityBelowNormal = 2,
  776. adPriorityNormal = 3,
  777. adPriorityAboveNormal = 4,
  778. adPriorityHighest = 5
  779. } ADCPROP_ASYNCTHREADPRIORITY_ENUM;
  780. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000554-0000-0010-8000-00AA006D2EA4")
  781. enum ADCPROP_AUTORECALC_ENUM
  782. { adRecalcUpFront = 0,
  783. adRecalcAlways = 1
  784. } ADCPROP_AUTORECALC_ENUM;
  785. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000553-0000-0010-8000-00AA006D2EA4")
  786. enum ADCPROP_UPDATERESYNC_ENUM
  787. { adResyncNone = 0,
  788. adResyncAutoIncrement = 1,
  789. adResyncConflicts = 2,
  790. adResyncUpdates = 4,
  791. adResyncInserts = 8,
  792. adResyncAll = 15
  793. } ADCPROP_UPDATERESYNC_ENUM;
  794. #endif /* _COMMON_ADC_AND_ADO_PROPS_ */
  795. typedef ADCPROP_UPDATERESYNC_ENUM CEResyncEnum;
  796. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000573-0000-0010-8000-00AA006D2EA4")
  797. enum MoveRecordOptionsEnum
  798. { adMoveUnspecified = -1,
  799. adMoveOverWrite = 1,
  800. adMoveDontUpdateLinks = 2,
  801. adMoveAllowEmulation = 4
  802. } MoveRecordOptionsEnum;
  803. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000574-0000-0010-8000-00AA006D2EA4")
  804. enum CopyRecordOptionsEnum
  805. { adCopyUnspecified = -1,
  806. adCopyOverWrite = 1,
  807. adCopyAllowEmulation = 4,
  808. adCopyNonRecursive = 2
  809. } CopyRecordOptionsEnum;
  810. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000576-0000-0010-8000-00AA006D2EA4")
  811. enum StreamTypeEnum
  812. { adTypeBinary = 1,
  813. adTypeText = 2
  814. } StreamTypeEnum;
  815. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000577-0000-0010-8000-00AA006D2EA4")
  816. enum LineSeparatorEnum
  817. { adLF = 10,
  818. adCR = 13,
  819. adCRLF = -1
  820. } LineSeparatorEnum;
  821. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("0000057A-0000-0010-8000-00AA006D2EA4")
  822. enum StreamOpenOptionsEnum
  823. { adOpenStreamUnspecified = -1,
  824. adOpenStreamAsync = 1,
  825. adOpenStreamFromRecord = 4
  826. } StreamOpenOptionsEnum;
  827. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("0000057B-0000-0010-8000-00AA006D2EA4")
  828. enum StreamWriteEnum
  829. { adWriteChar = 0,
  830. adWriteLine = 1,
  831. stWriteChar = 0,
  832. stWriteLine = 1
  833. } StreamWriteEnum;
  834. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("0000057C-0000-0010-8000-00AA006D2EA4")
  835. enum SaveOptionsEnum
  836. { adSaveCreateNotExist = 1,
  837. adSaveCreateOverWrite = 2
  838. } SaveOptionsEnum;
  839. typedef /* [helpcontext] */
  840. enum FieldEnum
  841. { adDefaultStream = -1,
  842. adRecordURL = -2
  843. } FieldEnum;
  844. typedef /* [helpcontext] */
  845. enum StreamReadEnum
  846. { adReadAll = -1,
  847. adReadLine = -2
  848. } StreamReadEnum;
  849. typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("0000057D-0000-0010-8000-00AA006D2EA4")
  850. enum RecordTypeEnum
  851. { adSimpleRecord = 0,
  852. adCollectionRecord = 1,
  853. adStructDoc = 2
  854. } RecordTypeEnum;
  855. EXTERN_C const IID LIBID_ADODB;
  856. #ifndef ___ADOCollection_INTERFACE_DEFINED__
  857. #define ___ADOCollection_INTERFACE_DEFINED__
  858. /* interface _ADOCollection */
  859. /* [object][uuid][nonextensible][dual] */
  860. EXTERN_C const IID IID__ADOCollection;
  861. #if defined(__cplusplus) && !defined(CINTERFACE)
  862. MIDL_INTERFACE("00000512-0000-0010-8000-00AA006D2EA4")
  863. _ADOCollection : public IDispatch
  864. {
  865. public:
  866. virtual /* [id][helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
  867. /* [retval][out] */ long *c) = 0;
  868. virtual /* [id][restricted] */ HRESULT STDMETHODCALLTYPE _NewEnum(
  869. /* [retval][out] */ IUnknown **ppvObject) = 0;
  870. virtual /* [id][helpcontext] */ HRESULT STDMETHODCALLTYPE Refresh( void) = 0;
  871. };
  872. #else /* C style interface */
  873. typedef struct _ADOCollectionVtbl
  874. {
  875. BEGIN_INTERFACE
  876. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  877. _ADOCollection * This,
  878. /* [in] */ REFIID riid,
  879. /* [iid_is][out] */ void **ppvObject);
  880. ULONG ( STDMETHODCALLTYPE *AddRef )(
  881. _ADOCollection * This);
  882. ULONG ( STDMETHODCALLTYPE *Release )(
  883. _ADOCollection * This);
  884. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  885. _ADOCollection * This,
  886. /* [out] */ UINT *pctinfo);
  887. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  888. _ADOCollection * This,
  889. /* [in] */ UINT iTInfo,
  890. /* [in] */ LCID lcid,
  891. /* [out] */ ITypeInfo **ppTInfo);
  892. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  893. _ADOCollection * This,
  894. /* [in] */ REFIID riid,
  895. /* [size_is][in] */ LPOLESTR *rgszNames,
  896. /* [in] */ UINT cNames,
  897. /* [in] */ LCID lcid,
  898. /* [size_is][out] */ DISPID *rgDispId);
  899. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  900. _ADOCollection * This,
  901. /* [in] */ DISPID dispIdMember,
  902. /* [in] */ REFIID riid,
  903. /* [in] */ LCID lcid,
  904. /* [in] */ WORD wFlags,
  905. /* [out][in] */ DISPPARAMS *pDispParams,
  906. /* [out] */ VARIANT *pVarResult,
  907. /* [out] */ EXCEPINFO *pExcepInfo,
  908. /* [out] */ UINT *puArgErr);
  909. /* [id][helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  910. _ADOCollection * This,
  911. /* [retval][out] */ long *c);
  912. /* [id][restricted] */ HRESULT ( STDMETHODCALLTYPE *_NewEnum )(
  913. _ADOCollection * This,
  914. /* [retval][out] */ IUnknown **ppvObject);
  915. /* [id][helpcontext] */ HRESULT ( STDMETHODCALLTYPE *Refresh )(
  916. _ADOCollection * This);
  917. END_INTERFACE
  918. } _ADOCollectionVtbl;
  919. interface _ADOCollection
  920. {
  921. CONST_VTBL struct _ADOCollectionVtbl *lpVtbl;
  922. };
  923. #ifdef COBJMACROS
  924. #define _ADOCollection_QueryInterface(This,riid,ppvObject) \
  925. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  926. #define _ADOCollection_AddRef(This) \
  927. (This)->lpVtbl -> AddRef(This)
  928. #define _ADOCollection_Release(This) \
  929. (This)->lpVtbl -> Release(This)
  930. #define _ADOCollection_GetTypeInfoCount(This,pctinfo) \
  931. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  932. #define _ADOCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  933. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  934. #define _ADOCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  935. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  936. #define _ADOCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  937. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  938. #define _Collection_get_Count(This,c) \
  939. (This)->lpVtbl -> get_Count(This,c)
  940. #define _ADOCollection__NewEnum(This,ppvObject) \
  941. (This)->lpVtbl -> _NewEnum(This,ppvObject)
  942. #define _ADOCollection_Refresh(This) \
  943. (This)->lpVtbl -> Refresh(This)
  944. #endif /* COBJMACROS */
  945. #endif /* C style interface */
  946. /* [id][helpcontext][propget] */ HRESULT STDMETHODCALLTYPE _Collection_get_Count_Proxy(
  947. _ADOCollection * This,
  948. /* [retval][out] */ long *c);
  949. void __RPC_STUB _Collection_get_Count_Stub(
  950. IRpcStubBuffer *This,
  951. IRpcChannelBuffer *_pRpcChannelBuffer,
  952. PRPC_MESSAGE _pRpcMessage,
  953. DWORD *_pdwStubPhase);
  954. /* [id][restricted] */ HRESULT STDMETHODCALLTYPE _ADOCollection__NewEnum_Proxy(
  955. _ADOCollection * This,
  956. /* [retval][out] */ IUnknown **ppvObject);
  957. void __RPC_STUB _ADOCollection__NewEnum_Stub(
  958. IRpcStubBuffer *This,
  959. IRpcChannelBuffer *_pRpcChannelBuffer,
  960. PRPC_MESSAGE _pRpcMessage,
  961. DWORD *_pdwStubPhase);
  962. /* [id][helpcontext] */ HRESULT STDMETHODCALLTYPE _ADOCollection_Refresh_Proxy(
  963. _ADOCollection * This);
  964. void __RPC_STUB _ADOCollection_Refresh_Stub(
  965. IRpcStubBuffer *This,
  966. IRpcChannelBuffer *_pRpcChannelBuffer,
  967. PRPC_MESSAGE _pRpcMessage,
  968. DWORD *_pdwStubPhase);
  969. #endif /* ___ADOCollection_INTERFACE_DEFINED__ */
  970. #ifndef ___ADODynaCollection_INTERFACE_DEFINED__
  971. #define ___ADODynaCollection_INTERFACE_DEFINED__
  972. /* interface _ADODynaCollection */
  973. /* [object][uuid][nonextensible][dual] */
  974. EXTERN_C const IID IID__ADODynaCollection;
  975. #if defined(__cplusplus) && !defined(CINTERFACE)
  976. MIDL_INTERFACE("00000513-0000-0010-8000-00AA006D2EA4")
  977. _ADODynaCollection : public _ADOCollection
  978. {
  979. public:
  980. virtual /* [helpcontext] */ HRESULT STDMETHODCALLTYPE Append(
  981. /* [in] */ IDispatch *Object) = 0;
  982. virtual /* [helpcontext] */ HRESULT STDMETHODCALLTYPE Delete(
  983. /* [in] */ VARIANT Index) = 0;
  984. };
  985. #else /* C style interface */
  986. typedef struct _ADODynaCollectionVtbl
  987. {
  988. BEGIN_INTERFACE
  989. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  990. _ADODynaCollection * This,
  991. /* [in] */ REFIID riid,
  992. /* [iid_is][out] */ void **ppvObject);
  993. ULONG ( STDMETHODCALLTYPE *AddRef )(
  994. _ADODynaCollection * This);
  995. ULONG ( STDMETHODCALLTYPE *Release )(
  996. _ADODynaCollection * This);
  997. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  998. _ADODynaCollection * This,
  999. /* [out] */ UINT *pctinfo);
  1000. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1001. _ADODynaCollection * This,
  1002. /* [in] */ UINT iTInfo,
  1003. /* [in] */ LCID lcid,
  1004. /* [out] */ ITypeInfo **ppTInfo);
  1005. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1006. _ADODynaCollection * This,
  1007. /* [in] */ REFIID riid,
  1008. /* [size_is][in] */ LPOLESTR *rgszNames,
  1009. /* [in] */ UINT cNames,
  1010. /* [in] */ LCID lcid,
  1011. /* [size_is][out] */ DISPID *rgDispId);
  1012. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1013. _ADODynaCollection * This,
  1014. /* [in] */ DISPID dispIdMember,
  1015. /* [in] */ REFIID riid,
  1016. /* [in] */ LCID lcid,
  1017. /* [in] */ WORD wFlags,
  1018. /* [out][in] */ DISPPARAMS *pDispParams,
  1019. /* [out] */ VARIANT *pVarResult,
  1020. /* [out] */ EXCEPINFO *pExcepInfo,
  1021. /* [out] */ UINT *puArgErr);
  1022. /* [id][helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  1023. _ADODynaCollection * This,
  1024. /* [retval][out] */ long *c);
  1025. /* [id][restricted] */ HRESULT ( STDMETHODCALLTYPE *_NewEnum )(
  1026. _ADODynaCollection * This,
  1027. /* [retval][out] */ IUnknown **ppvObject);
  1028. /* [id][helpcontext] */ HRESULT ( STDMETHODCALLTYPE *Refresh )(
  1029. _ADODynaCollection * This);
  1030. /* [helpcontext] */ HRESULT ( STDMETHODCALLTYPE *Append )(
  1031. _ADODynaCollection * This,
  1032. /* [in] */ IDispatch *Object);
  1033. /* [helpcontext] */ HRESULT ( STDMETHODCALLTYPE *Delete )(
  1034. _ADODynaCollection * This,
  1035. /* [in] */ VARIANT Index);
  1036. END_INTERFACE
  1037. } _ADODynaCollectionVtbl;
  1038. interface _ADODynaCollection
  1039. {
  1040. CONST_VTBL struct _ADODynaCollectionVtbl *lpVtbl;
  1041. };
  1042. #ifdef COBJMACROS
  1043. #define _ADODynaCollection_QueryInterface(This,riid,ppvObject) \
  1044. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1045. #define _ADODynaCollection_AddRef(This) \
  1046. (This)->lpVtbl -> AddRef(This)
  1047. #define _ADODynaCollection_Release(This) \
  1048. (This)->lpVtbl -> Release(This)
  1049. #define _ADODynaCollection_GetTypeInfoCount(This,pctinfo) \
  1050. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1051. #define _ADODynaCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1052. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1053. #define _ADODynaCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1054. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1055. #define _ADODynaCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1056. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1057. #define _DynaCollection_get_Count(This,c) \
  1058. (This)->lpVtbl -> get_Count(This,c)
  1059. #define _ADODynaCollection__NewEnum(This,ppvObject) \
  1060. (This)->lpVtbl -> _NewEnum(This,ppvObject)
  1061. #define _ADODynaCollection_Refresh(This) \
  1062. (This)->lpVtbl -> Refresh(This)
  1063. #define _ADODynaCollection_Append(This,Object) \
  1064. (This)->lpVtbl -> Append(This,Object)
  1065. #define _ADODynaCollection_Delete(This,Index) \
  1066. (This)->lpVtbl -> Delete(This,Index)
  1067. #endif /* COBJMACROS */
  1068. #endif /* C style interface */
  1069. /* [helpcontext] */ HRESULT STDMETHODCALLTYPE _ADODynaCollection_Append_Proxy(
  1070. _ADODynaCollection * This,
  1071. /* [in] */ IDispatch *Object);
  1072. void __RPC_STUB _ADODynaCollection_Append_Stub(
  1073. IRpcStubBuffer *This,
  1074. IRpcChannelBuffer *_pRpcChannelBuffer,
  1075. PRPC_MESSAGE _pRpcMessage,
  1076. DWORD *_pdwStubPhase);
  1077. /* [helpcontext] */ HRESULT STDMETHODCALLTYPE _ADODynaCollection_Delete_Proxy(
  1078. _ADODynaCollection * This,
  1079. /* [in] */ VARIANT Index);
  1080. void __RPC_STUB _ADODynaCollection_Delete_Stub(
  1081. IRpcStubBuffer *This,
  1082. IRpcChannelBuffer *_pRpcChannelBuffer,
  1083. PRPC_MESSAGE _pRpcMessage,
  1084. DWORD *_pdwStubPhase);
  1085. #endif /* ___ADODynaCollection_INTERFACE_DEFINED__ */
  1086. #ifndef ___ADO_INTERFACE_DEFINED__
  1087. #define ___ADO_INTERFACE_DEFINED__
  1088. /* interface _ADO */
  1089. /* [object][uuid][nonextensible][dual] */
  1090. EXTERN_C const IID IID__ADO;
  1091. #if defined(__cplusplus) && !defined(CINTERFACE)
  1092. MIDL_INTERFACE("00000534-0000-0010-8000-00AA006D2EA4")
  1093. _ADO : public IDispatch
  1094. {
  1095. public:
  1096. virtual /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE get_Properties(
  1097. /* [retval][out] */ ADOProperties **ppvObject) = 0;
  1098. };
  1099. #else /* C style interface */
  1100. typedef struct _ADOVtbl
  1101. {
  1102. BEGIN_INTERFACE
  1103. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1104. _ADO * This,
  1105. /* [in] */ REFIID riid,
  1106. /* [iid_is][out] */ void **ppvObject);
  1107. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1108. _ADO * This);
  1109. ULONG ( STDMETHODCALLTYPE *Release )(
  1110. _ADO * This);
  1111. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1112. _ADO * This,
  1113. /* [out] */ UINT *pctinfo);
  1114. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1115. _ADO * This,
  1116. /* [in] */ UINT iTInfo,
  1117. /* [in] */ LCID lcid,
  1118. /* [out] */ ITypeInfo **ppTInfo);
  1119. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1120. _ADO * This,
  1121. /* [in] */ REFIID riid,
  1122. /* [size_is][in] */ LPOLESTR *rgszNames,
  1123. /* [in] */ UINT cNames,
  1124. /* [in] */ LCID lcid,
  1125. /* [size_is][out] */ DISPID *rgDispId);
  1126. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1127. _ADO * This,
  1128. /* [in] */ DISPID dispIdMember,
  1129. /* [in] */ REFIID riid,
  1130. /* [in] */ LCID lcid,
  1131. /* [in] */ WORD wFlags,
  1132. /* [out][in] */ DISPPARAMS *pDispParams,
  1133. /* [out] */ VARIANT *pVarResult,
  1134. /* [out] */ EXCEPINFO *pExcepInfo,
  1135. /* [out] */ UINT *puArgErr);
  1136. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Properties )(
  1137. _ADO * This,
  1138. /* [retval][out] */ ADOProperties **ppvObject);
  1139. END_INTERFACE
  1140. } _ADOVtbl;
  1141. interface _ADO
  1142. {
  1143. CONST_VTBL struct _ADOVtbl *lpVtbl;
  1144. };
  1145. #ifdef COBJMACROS
  1146. #define _ADO_QueryInterface(This,riid,ppvObject) \
  1147. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1148. #define _ADO_AddRef(This) \
  1149. (This)->lpVtbl -> AddRef(This)
  1150. #define _ADO_Release(This) \
  1151. (This)->lpVtbl -> Release(This)
  1152. #define _ADO_GetTypeInfoCount(This,pctinfo) \
  1153. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1154. #define _ADO_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1155. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1156. #define _ADO_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1157. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1158. #define _ADO_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1159. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1160. #define _ADO_get_Properties(This,ppvObject) \
  1161. (This)->lpVtbl -> get_Properties(This,ppvObject)
  1162. #endif /* COBJMACROS */
  1163. #endif /* C style interface */
  1164. /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE _ADO_get_Properties_Proxy(
  1165. _ADO * This,
  1166. /* [retval][out] */ ADOProperties **ppvObject);
  1167. void __RPC_STUB _ADO_get_Properties_Stub(
  1168. IRpcStubBuffer *This,
  1169. IRpcChannelBuffer *_pRpcChannelBuffer,
  1170. PRPC_MESSAGE _pRpcMessage,
  1171. DWORD *_pdwStubPhase);
  1172. #endif /* ___ADO_INTERFACE_DEFINED__ */
  1173. #ifndef __Error_INTERFACE_DEFINED__
  1174. #define __Error_INTERFACE_DEFINED__
  1175. /* interface ADOError */
  1176. /* [object][helpcontext][uuid][nonextensible][dual] */
  1177. EXTERN_C const IID IID_Error;
  1178. #if defined(__cplusplus) && !defined(CINTERFACE)
  1179. MIDL_INTERFACE("00000500-0000-0010-8000-00AA006D2EA4")
  1180. ADOError : public IDispatch
  1181. {
  1182. public:
  1183. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Number(
  1184. /* [retval][out] */ long *pl) = 0;
  1185. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Source(
  1186. /* [retval][out] */ BSTR *pbstr) = 0;
  1187. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Description(
  1188. /* [retval][out] */ BSTR *pbstr) = 0;
  1189. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_HelpFile(
  1190. /* [retval][out] */ BSTR *pbstr) = 0;
  1191. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_HelpContext(
  1192. /* [retval][out] */ long *pl) = 0;
  1193. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_SQLState(
  1194. /* [retval][out] */ BSTR *pbstr) = 0;
  1195. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_NativeError(
  1196. /* [retval][out] */ long *pl) = 0;
  1197. };
  1198. #else /* C style interface */
  1199. typedef struct ErrorVtbl
  1200. {
  1201. BEGIN_INTERFACE
  1202. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1203. ADOError * This,
  1204. /* [in] */ REFIID riid,
  1205. /* [iid_is][out] */ void **ppvObject);
  1206. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1207. ADOError * This);
  1208. ULONG ( STDMETHODCALLTYPE *Release )(
  1209. ADOError * This);
  1210. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1211. ADOError * This,
  1212. /* [out] */ UINT *pctinfo);
  1213. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1214. ADOError * This,
  1215. /* [in] */ UINT iTInfo,
  1216. /* [in] */ LCID lcid,
  1217. /* [out] */ ITypeInfo **ppTInfo);
  1218. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1219. ADOError * This,
  1220. /* [in] */ REFIID riid,
  1221. /* [size_is][in] */ LPOLESTR *rgszNames,
  1222. /* [in] */ UINT cNames,
  1223. /* [in] */ LCID lcid,
  1224. /* [size_is][out] */ DISPID *rgDispId);
  1225. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1226. ADOError * This,
  1227. /* [in] */ DISPID dispIdMember,
  1228. /* [in] */ REFIID riid,
  1229. /* [in] */ LCID lcid,
  1230. /* [in] */ WORD wFlags,
  1231. /* [out][in] */ DISPPARAMS *pDispParams,
  1232. /* [out] */ VARIANT *pVarResult,
  1233. /* [out] */ EXCEPINFO *pExcepInfo,
  1234. /* [out] */ UINT *puArgErr);
  1235. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Number )(
  1236. ADOError * This,
  1237. /* [retval][out] */ long *pl);
  1238. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Source )(
  1239. ADOError * This,
  1240. /* [retval][out] */ BSTR *pbstr);
  1241. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Description )(
  1242. ADOError * This,
  1243. /* [retval][out] */ BSTR *pbstr);
  1244. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_HelpFile )(
  1245. ADOError * This,
  1246. /* [retval][out] */ BSTR *pbstr);
  1247. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_HelpContext )(
  1248. ADOError * This,
  1249. /* [retval][out] */ long *pl);
  1250. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_SQLState )(
  1251. ADOError * This,
  1252. /* [retval][out] */ BSTR *pbstr);
  1253. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_NativeError )(
  1254. ADOError * This,
  1255. /* [retval][out] */ long *pl);
  1256. END_INTERFACE
  1257. } ErrorVtbl;
  1258. interface Error
  1259. {
  1260. CONST_VTBL struct ErrorVtbl *lpVtbl;
  1261. };
  1262. #ifdef COBJMACROS
  1263. #define Error_QueryInterface(This,riid,ppvObject) \
  1264. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1265. #define Error_AddRef(This) \
  1266. (This)->lpVtbl -> AddRef(This)
  1267. #define Error_Release(This) \
  1268. (This)->lpVtbl -> Release(This)
  1269. #define Error_GetTypeInfoCount(This,pctinfo) \
  1270. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1271. #define Error_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1272. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1273. #define Error_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1274. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1275. #define Error_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1276. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1277. #define Error_get_Number(This,pl) \
  1278. (This)->lpVtbl -> get_Number(This,pl)
  1279. #define Error_get_Source(This,pbstr) \
  1280. (This)->lpVtbl -> get_Source(This,pbstr)
  1281. #define Error_get_Description(This,pbstr) \
  1282. (This)->lpVtbl -> get_Description(This,pbstr)
  1283. #define Error_get_HelpFile(This,pbstr) \
  1284. (This)->lpVtbl -> get_HelpFile(This,pbstr)
  1285. #define Error_get_HelpContext(This,pl) \
  1286. (This)->lpVtbl -> get_HelpContext(This,pl)
  1287. #define Error_get_SQLState(This,pbstr) \
  1288. (This)->lpVtbl -> get_SQLState(This,pbstr)
  1289. #define Error_get_NativeError(This,pl) \
  1290. (This)->lpVtbl -> get_NativeError(This,pl)
  1291. #endif /* COBJMACROS */
  1292. #endif /* C style interface */
  1293. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Error_get_Number_Proxy(
  1294. ADOError * This,
  1295. /* [retval][out] */ long *pl);
  1296. void __RPC_STUB Error_get_Number_Stub(
  1297. IRpcStubBuffer *This,
  1298. IRpcChannelBuffer *_pRpcChannelBuffer,
  1299. PRPC_MESSAGE _pRpcMessage,
  1300. DWORD *_pdwStubPhase);
  1301. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Error_get_Source_Proxy(
  1302. ADOError * This,
  1303. /* [retval][out] */ BSTR *pbstr);
  1304. void __RPC_STUB Error_get_Source_Stub(
  1305. IRpcStubBuffer *This,
  1306. IRpcChannelBuffer *_pRpcChannelBuffer,
  1307. PRPC_MESSAGE _pRpcMessage,
  1308. DWORD *_pdwStubPhase);
  1309. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Error_get_Description_Proxy(
  1310. ADOError * This,
  1311. /* [retval][out] */ BSTR *pbstr);
  1312. void __RPC_STUB Error_get_Description_Stub(
  1313. IRpcStubBuffer *This,
  1314. IRpcChannelBuffer *_pRpcChannelBuffer,
  1315. PRPC_MESSAGE _pRpcMessage,
  1316. DWORD *_pdwStubPhase);
  1317. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Error_get_HelpFile_Proxy(
  1318. ADOError * This,
  1319. /* [retval][out] */ BSTR *pbstr);
  1320. void __RPC_STUB Error_get_HelpFile_Stub(
  1321. IRpcStubBuffer *This,
  1322. IRpcChannelBuffer *_pRpcChannelBuffer,
  1323. PRPC_MESSAGE _pRpcMessage,
  1324. DWORD *_pdwStubPhase);
  1325. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Error_get_HelpContext_Proxy(
  1326. ADOError * This,
  1327. /* [retval][out] */ long *pl);
  1328. void __RPC_STUB Error_get_HelpContext_Stub(
  1329. IRpcStubBuffer *This,
  1330. IRpcChannelBuffer *_pRpcChannelBuffer,
  1331. PRPC_MESSAGE _pRpcMessage,
  1332. DWORD *_pdwStubPhase);
  1333. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Error_get_SQLState_Proxy(
  1334. ADOError * This,
  1335. /* [retval][out] */ BSTR *pbstr);
  1336. void __RPC_STUB Error_get_SQLState_Stub(
  1337. IRpcStubBuffer *This,
  1338. IRpcChannelBuffer *_pRpcChannelBuffer,
  1339. PRPC_MESSAGE _pRpcMessage,
  1340. DWORD *_pdwStubPhase);
  1341. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Error_get_NativeError_Proxy(
  1342. ADOError * This,
  1343. /* [retval][out] */ long *pl);
  1344. void __RPC_STUB Error_get_NativeError_Stub(
  1345. IRpcStubBuffer *This,
  1346. IRpcChannelBuffer *_pRpcChannelBuffer,
  1347. PRPC_MESSAGE _pRpcMessage,
  1348. DWORD *_pdwStubPhase);
  1349. #endif /* __Error_INTERFACE_DEFINED__ */
  1350. #ifndef __Errors_INTERFACE_DEFINED__
  1351. #define __Errors_INTERFACE_DEFINED__
  1352. /* interface ADOErrors */
  1353. /* [object][helpcontext][uuid][nonextensible][dual] */
  1354. EXTERN_C const IID IID_Errors;
  1355. #if defined(__cplusplus) && !defined(CINTERFACE)
  1356. MIDL_INTERFACE("00000501-0000-0010-8000-00AA006D2EA4")
  1357. ADOErrors : public _ADOCollection
  1358. {
  1359. public:
  1360. virtual /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE get_Item(
  1361. /* [in] */ VARIANT Index,
  1362. /* [retval][out] */ ADOError **ppvObject) = 0;
  1363. virtual /* [helpcontext] */ HRESULT STDMETHODCALLTYPE Clear( void) = 0;
  1364. };
  1365. #else /* C style interface */
  1366. typedef struct ErrorsVtbl
  1367. {
  1368. BEGIN_INTERFACE
  1369. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1370. ADOErrors * This,
  1371. /* [in] */ REFIID riid,
  1372. /* [iid_is][out] */ void **ppvObject);
  1373. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1374. ADOErrors * This);
  1375. ULONG ( STDMETHODCALLTYPE *Release )(
  1376. ADOErrors * This);
  1377. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1378. ADOErrors * This,
  1379. /* [out] */ UINT *pctinfo);
  1380. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1381. ADOErrors * This,
  1382. /* [in] */ UINT iTInfo,
  1383. /* [in] */ LCID lcid,
  1384. /* [out] */ ITypeInfo **ppTInfo);
  1385. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1386. ADOErrors * This,
  1387. /* [in] */ REFIID riid,
  1388. /* [size_is][in] */ LPOLESTR *rgszNames,
  1389. /* [in] */ UINT cNames,
  1390. /* [in] */ LCID lcid,
  1391. /* [size_is][out] */ DISPID *rgDispId);
  1392. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1393. ADOErrors * This,
  1394. /* [in] */ DISPID dispIdMember,
  1395. /* [in] */ REFIID riid,
  1396. /* [in] */ LCID lcid,
  1397. /* [in] */ WORD wFlags,
  1398. /* [out][in] */ DISPPARAMS *pDispParams,
  1399. /* [out] */ VARIANT *pVarResult,
  1400. /* [out] */ EXCEPINFO *pExcepInfo,
  1401. /* [out] */ UINT *puArgErr);
  1402. /* [id][helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  1403. ADOErrors * This,
  1404. /* [retval][out] */ long *c);
  1405. /* [id][restricted] */ HRESULT ( STDMETHODCALLTYPE *_NewEnum )(
  1406. ADOErrors * This,
  1407. /* [retval][out] */ IUnknown **ppvObject);
  1408. /* [id][helpcontext] */ HRESULT ( STDMETHODCALLTYPE *Refresh )(
  1409. ADOErrors * This);
  1410. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )(
  1411. ADOErrors * This,
  1412. /* [in] */ VARIANT Index,
  1413. /* [retval][out] */ ADOError **ppvObject);
  1414. /* [helpcontext] */ HRESULT ( STDMETHODCALLTYPE *Clear )(
  1415. ADOErrors * This);
  1416. END_INTERFACE
  1417. } ErrorsVtbl;
  1418. interface Errors
  1419. {
  1420. CONST_VTBL struct ErrorsVtbl *lpVtbl;
  1421. };
  1422. #ifdef COBJMACROS
  1423. #define Errors_QueryInterface(This,riid,ppvObject) \
  1424. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1425. #define Errors_AddRef(This) \
  1426. (This)->lpVtbl -> AddRef(This)
  1427. #define Errors_Release(This) \
  1428. (This)->lpVtbl -> Release(This)
  1429. #define Errors_GetTypeInfoCount(This,pctinfo) \
  1430. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1431. #define Errors_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1432. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1433. #define Errors_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1434. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1435. #define Errors_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1436. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1437. #define Errors_get_Count(This,c) \
  1438. (This)->lpVtbl -> get_Count(This,c)
  1439. #define Errors__NewEnum(This,ppvObject) \
  1440. (This)->lpVtbl -> _NewEnum(This,ppvObject)
  1441. #define Errors_Refresh(This) \
  1442. (This)->lpVtbl -> Refresh(This)
  1443. #define Errors_get_Item(This,Index,ppvObject) \
  1444. (This)->lpVtbl -> get_Item(This,Index,ppvObject)
  1445. #define Errors_Clear(This) \
  1446. (This)->lpVtbl -> Clear(This)
  1447. #endif /* COBJMACROS */
  1448. #endif /* C style interface */
  1449. /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE Errors_get_Item_Proxy(
  1450. ADOErrors * This,
  1451. /* [in] */ VARIANT Index,
  1452. /* [retval][out] */ ADOError **ppvObject);
  1453. void __RPC_STUB Errors_get_Item_Stub(
  1454. IRpcStubBuffer *This,
  1455. IRpcChannelBuffer *_pRpcChannelBuffer,
  1456. PRPC_MESSAGE _pRpcMessage,
  1457. DWORD *_pdwStubPhase);
  1458. /* [helpcontext] */ HRESULT STDMETHODCALLTYPE Errors_Clear_Proxy(
  1459. ADOErrors * This);
  1460. void __RPC_STUB Errors_Clear_Stub(
  1461. IRpcStubBuffer *This,
  1462. IRpcChannelBuffer *_pRpcChannelBuffer,
  1463. PRPC_MESSAGE _pRpcMessage,
  1464. DWORD *_pdwStubPhase);
  1465. #endif /* __Errors_INTERFACE_DEFINED__ */
  1466. #ifndef __Command15_INTERFACE_DEFINED__
  1467. #define __Command15_INTERFACE_DEFINED__
  1468. /* interface Command15 */
  1469. /* [object][helpcontext][uuid][hidden][nonextensible][dual] */
  1470. EXTERN_C const IID IID_Command15;
  1471. #if defined(__cplusplus) && !defined(CINTERFACE)
  1472. MIDL_INTERFACE("00000508-0000-0010-8000-00AA006D2EA4")
  1473. Command15 : public _ADO
  1474. {
  1475. public:
  1476. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_ActiveConnection(
  1477. /* [retval][out] */ _ADOConnection **ppvObject) = 0;
  1478. virtual /* [helpcontext][propputref][id] */ HRESULT STDMETHODCALLTYPE putref_ActiveConnection(
  1479. /* [in] */ _ADOConnection *pCon) = 0;
  1480. virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_ActiveConnection(
  1481. /* [in] */ VARIANT vConn) = 0;
  1482. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_CommandText(
  1483. /* [retval][out] */ BSTR *pbstr) = 0;
  1484. virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_CommandText(
  1485. /* [in] */ BSTR bstr) = 0;
  1486. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_CommandTimeout(
  1487. /* [retval][out] */ LONG *pl) = 0;
  1488. virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_CommandTimeout(
  1489. /* [in] */ LONG Timeout) = 0;
  1490. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Prepared(
  1491. /* [retval][out] */ VARIANT_BOOL *pfPrepared) = 0;
  1492. virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_Prepared(
  1493. /* [in] */ VARIANT_BOOL fPrepared) = 0;
  1494. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Execute(
  1495. /* [optional][out] */ VARIANT *RecordsAffected,
  1496. /* [optional][in] */ VARIANT *Parameters,
  1497. /* [defaultvalue][in] */ long Options,
  1498. /* [retval][out] */ _ADORecordset **ppirs) = 0;
  1499. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE CreateParameter(
  1500. /* [defaultvalue][in] */ BSTR Name,
  1501. /* [defaultvalue][in] */ DataTypeEnum Type,
  1502. /* [defaultvalue][in] */ ParameterDirectionEnum Direction,
  1503. /* [defaultvalue][in] */ ADO_LONGPTR Size,
  1504. /* [optional][in] */ VARIANT Value,
  1505. /* [retval][out] */ _ADOParameter **ppiprm) = 0;
  1506. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Parameters(
  1507. /* [retval][out] */ ADOParameters **ppvObject) = 0;
  1508. virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_CommandType(
  1509. /* [in] */ CommandTypeEnum lCmdType) = 0;
  1510. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_CommandType(
  1511. /* [retval][out] */ CommandTypeEnum *plCmdType) = 0;
  1512. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Name(
  1513. /* [retval][out] */ BSTR *pbstrName) = 0;
  1514. virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_Name(
  1515. /* [in] */ BSTR bstrName) = 0;
  1516. };
  1517. #else /* C style interface */
  1518. typedef struct Command15Vtbl
  1519. {
  1520. BEGIN_INTERFACE
  1521. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1522. Command15 * This,
  1523. /* [in] */ REFIID riid,
  1524. /* [iid_is][out] */ void **ppvObject);
  1525. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1526. Command15 * This);
  1527. ULONG ( STDMETHODCALLTYPE *Release )(
  1528. Command15 * This);
  1529. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1530. Command15 * This,
  1531. /* [out] */ UINT *pctinfo);
  1532. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1533. Command15 * This,
  1534. /* [in] */ UINT iTInfo,
  1535. /* [in] */ LCID lcid,
  1536. /* [out] */ ITypeInfo **ppTInfo);
  1537. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1538. Command15 * This,
  1539. /* [in] */ REFIID riid,
  1540. /* [size_is][in] */ LPOLESTR *rgszNames,
  1541. /* [in] */ UINT cNames,
  1542. /* [in] */ LCID lcid,
  1543. /* [size_is][out] */ DISPID *rgDispId);
  1544. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1545. Command15 * This,
  1546. /* [in] */ DISPID dispIdMember,
  1547. /* [in] */ REFIID riid,
  1548. /* [in] */ LCID lcid,
  1549. /* [in] */ WORD wFlags,
  1550. /* [out][in] */ DISPPARAMS *pDispParams,
  1551. /* [out] */ VARIANT *pVarResult,
  1552. /* [out] */ EXCEPINFO *pExcepInfo,
  1553. /* [out] */ UINT *puArgErr);
  1554. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Properties )(
  1555. Command15 * This,
  1556. /* [retval][out] */ ADOProperties **ppvObject);
  1557. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ActiveConnection )(
  1558. Command15 * This,
  1559. /* [retval][out] */ _ADOConnection **ppvObject);
  1560. /* [helpcontext][propputref][id] */ HRESULT ( STDMETHODCALLTYPE *putref_ActiveADOConnection )(
  1561. Command15 * This,
  1562. /* [in] */ _ADOConnection *pCon);
  1563. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_ActiveConnection )(
  1564. Command15 * This,
  1565. /* [in] */ VARIANT vConn);
  1566. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CommandText )(
  1567. Command15 * This,
  1568. /* [retval][out] */ BSTR *pbstr);
  1569. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CommandText )(
  1570. Command15 * This,
  1571. /* [in] */ BSTR bstr);
  1572. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CommandTimeout )(
  1573. Command15 * This,
  1574. /* [retval][out] */ LONG *pl);
  1575. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CommandTimeout )(
  1576. Command15 * This,
  1577. /* [in] */ LONG Timeout);
  1578. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Prepared )(
  1579. Command15 * This,
  1580. /* [retval][out] */ VARIANT_BOOL *pfPrepared);
  1581. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Prepared )(
  1582. Command15 * This,
  1583. /* [in] */ VARIANT_BOOL fPrepared);
  1584. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Execute )(
  1585. Command15 * This,
  1586. /* [optional][out] */ VARIANT *RecordsAffected,
  1587. /* [optional][in] */ VARIANT *Parameters,
  1588. /* [defaultvalue][in] */ long Options,
  1589. /* [retval][out] */ _ADORecordset **ppirs);
  1590. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *CreateParameter )(
  1591. Command15 * This,
  1592. /* [defaultvalue][in] */ BSTR Name,
  1593. /* [defaultvalue][in] */ DataTypeEnum Type,
  1594. /* [defaultvalue][in] */ ParameterDirectionEnum Direction,
  1595. /* [defaultvalue][in] */ ADO_LONGPTR Size,
  1596. /* [optional][in] */ VARIANT Value,
  1597. /* [retval][out] */ _ADOParameter **ppiprm);
  1598. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Parameters )(
  1599. Command15 * This,
  1600. /* [retval][out] */ ADOParameters **ppvObject);
  1601. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CommandType )(
  1602. Command15 * This,
  1603. /* [in] */ CommandTypeEnum lCmdType);
  1604. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CommandType )(
  1605. Command15 * This,
  1606. /* [retval][out] */ CommandTypeEnum *plCmdType);
  1607. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  1608. Command15 * This,
  1609. /* [retval][out] */ BSTR *pbstrName);
  1610. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Name )(
  1611. Command15 * This,
  1612. /* [in] */ BSTR bstrName);
  1613. END_INTERFACE
  1614. } Command15Vtbl;
  1615. interface Command15
  1616. {
  1617. CONST_VTBL struct Command15Vtbl *lpVtbl;
  1618. };
  1619. #ifdef COBJMACROS
  1620. #define Command15_QueryInterface(This,riid,ppvObject) \
  1621. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1622. #define Command15_AddRef(This) \
  1623. (This)->lpVtbl -> AddRef(This)
  1624. #define Command15_Release(This) \
  1625. (This)->lpVtbl -> Release(This)
  1626. #define Command15_GetTypeInfoCount(This,pctinfo) \
  1627. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1628. #define Command15_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1629. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1630. #define Command15_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1631. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1632. #define Command15_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1633. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1634. #define Command15_get_Properties(This,ppvObject) \
  1635. (This)->lpVtbl -> get_Properties(This,ppvObject)
  1636. #define Command15_get_ActiveConnection(This,ppvObject) \
  1637. (This)->lpVtbl -> get_ActiveConnection(This,ppvObject)
  1638. #define Command15_putref_ActiveConnection(This,pCon) \
  1639. (This)->lpVtbl -> putref_ActiveConnection(This,pCon)
  1640. #define Command15_put_ActiveConnection(This,vConn) \
  1641. (This)->lpVtbl -> put_ActiveConnection(This,vConn)
  1642. #define Command15_get_CommandText(This,pbstr) \
  1643. (This)->lpVtbl -> get_CommandText(This,pbstr)
  1644. #define Command15_put_CommandText(This,bstr) \
  1645. (This)->lpVtbl -> put_CommandText(This,bstr)
  1646. #define Command15_get_CommandTimeout(This,pl) \
  1647. (This)->lpVtbl -> get_CommandTimeout(This,pl)
  1648. #define Command15_put_CommandTimeout(This,Timeout) \
  1649. (This)->lpVtbl -> put_CommandTimeout(This,Timeout)
  1650. #define Command15_get_Prepared(This,pfPrepared) \
  1651. (This)->lpVtbl -> get_Prepared(This,pfPrepared)
  1652. #define Command15_put_Prepared(This,fPrepared) \
  1653. (This)->lpVtbl -> put_Prepared(This,fPrepared)
  1654. #define Command15_Execute(This,RecordsAffected,Parameters,Options,ppirs) \
  1655. (This)->lpVtbl -> Execute(This,RecordsAffected,Parameters,Options,ppirs)
  1656. #define Command15_CreateParameter(This,Name,Type,Direction,Size,Value,ppiprm) \
  1657. (This)->lpVtbl -> CreateParameter(This,Name,Type,Direction,Size,Value,ppiprm)
  1658. #define Command15_get_Parameters(This,ppvObject) \
  1659. (This)->lpVtbl -> get_Parameters(This,ppvObject)
  1660. #define Command15_put_CommandType(This,lCmdType) \
  1661. (This)->lpVtbl -> put_CommandType(This,lCmdType)
  1662. #define Command15_get_CommandType(This,plCmdType) \
  1663. (This)->lpVtbl -> get_CommandType(This,plCmdType)
  1664. #define Command15_get_Name(This,pbstrName) \
  1665. (This)->lpVtbl -> get_Name(This,pbstrName)
  1666. #define Command15_put_Name(This,bstrName) \
  1667. (This)->lpVtbl -> put_Name(This,bstrName)
  1668. #endif /* COBJMACROS */
  1669. #endif /* C style interface */
  1670. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Command15_get_ActiveConnection_Proxy(
  1671. Command15 * This,
  1672. /* [retval][out] */ _ADOConnection **ppvObject);
  1673. void __RPC_STUB Command15_get_ActiveConnection_Stub(
  1674. IRpcStubBuffer *This,
  1675. IRpcChannelBuffer *_pRpcChannelBuffer,
  1676. PRPC_MESSAGE _pRpcMessage,
  1677. DWORD *_pdwStubPhase);
  1678. /* [helpcontext][propputref][id] */ HRESULT STDMETHODCALLTYPE Command15_putref_ActiveConnection_Proxy(
  1679. Command15 * This,
  1680. /* [in] */ _ADOConnection *pCon);
  1681. void __RPC_STUB Command15_putref_ActiveConnection_Stub(
  1682. IRpcStubBuffer *This,
  1683. IRpcChannelBuffer *_pRpcChannelBuffer,
  1684. PRPC_MESSAGE _pRpcMessage,
  1685. DWORD *_pdwStubPhase);
  1686. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Command15_put_ActiveConnection_Proxy(
  1687. Command15 * This,
  1688. /* [in] */ VARIANT vConn);
  1689. void __RPC_STUB Command15_put_ActiveConnection_Stub(
  1690. IRpcStubBuffer *This,
  1691. IRpcChannelBuffer *_pRpcChannelBuffer,
  1692. PRPC_MESSAGE _pRpcMessage,
  1693. DWORD *_pdwStubPhase);
  1694. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Command15_get_CommandText_Proxy(
  1695. Command15 * This,
  1696. /* [retval][out] */ BSTR *pbstr);
  1697. void __RPC_STUB Command15_get_CommandText_Stub(
  1698. IRpcStubBuffer *This,
  1699. IRpcChannelBuffer *_pRpcChannelBuffer,
  1700. PRPC_MESSAGE _pRpcMessage,
  1701. DWORD *_pdwStubPhase);
  1702. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Command15_put_CommandText_Proxy(
  1703. Command15 * This,
  1704. /* [in] */ BSTR bstr);
  1705. void __RPC_STUB Command15_put_CommandText_Stub(
  1706. IRpcStubBuffer *This,
  1707. IRpcChannelBuffer *_pRpcChannelBuffer,
  1708. PRPC_MESSAGE _pRpcMessage,
  1709. DWORD *_pdwStubPhase);
  1710. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Command15_get_CommandTimeout_Proxy(
  1711. Command15 * This,
  1712. /* [retval][out] */ LONG *pl);
  1713. void __RPC_STUB Command15_get_CommandTimeout_Stub(
  1714. IRpcStubBuffer *This,
  1715. IRpcChannelBuffer *_pRpcChannelBuffer,
  1716. PRPC_MESSAGE _pRpcMessage,
  1717. DWORD *_pdwStubPhase);
  1718. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Command15_put_CommandTimeout_Proxy(
  1719. Command15 * This,
  1720. /* [in] */ LONG Timeout);
  1721. void __RPC_STUB Command15_put_CommandTimeout_Stub(
  1722. IRpcStubBuffer *This,
  1723. IRpcChannelBuffer *_pRpcChannelBuffer,
  1724. PRPC_MESSAGE _pRpcMessage,
  1725. DWORD *_pdwStubPhase);
  1726. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Command15_get_Prepared_Proxy(
  1727. Command15 * This,
  1728. /* [retval][out] */ VARIANT_BOOL *pfPrepared);
  1729. void __RPC_STUB Command15_get_Prepared_Stub(
  1730. IRpcStubBuffer *This,
  1731. IRpcChannelBuffer *_pRpcChannelBuffer,
  1732. PRPC_MESSAGE _pRpcMessage,
  1733. DWORD *_pdwStubPhase);
  1734. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Command15_put_Prepared_Proxy(
  1735. Command15 * This,
  1736. /* [in] */ VARIANT_BOOL fPrepared);
  1737. void __RPC_STUB Command15_put_Prepared_Stub(
  1738. IRpcStubBuffer *This,
  1739. IRpcChannelBuffer *_pRpcChannelBuffer,
  1740. PRPC_MESSAGE _pRpcMessage,
  1741. DWORD *_pdwStubPhase);
  1742. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Command15_Execute_Proxy(
  1743. Command15 * This,
  1744. /* [optional][out] */ VARIANT *RecordsAffected,
  1745. /* [optional][in] */ VARIANT *Parameters,
  1746. /* [defaultvalue][in] */ long Options,
  1747. /* [retval][out] */ _ADORecordset **ppirs);
  1748. void __RPC_STUB Command15_Execute_Stub(
  1749. IRpcStubBuffer *This,
  1750. IRpcChannelBuffer *_pRpcChannelBuffer,
  1751. PRPC_MESSAGE _pRpcMessage,
  1752. DWORD *_pdwStubPhase);
  1753. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Command15_CreateParameter_Proxy(
  1754. Command15 * This,
  1755. /* [defaultvalue][in] */ BSTR Name,
  1756. /* [defaultvalue][in] */ DataTypeEnum Type,
  1757. /* [defaultvalue][in] */ ParameterDirectionEnum Direction,
  1758. /* [defaultvalue][in] */ ADO_LONGPTR Size,
  1759. /* [optional][in] */ VARIANT Value,
  1760. /* [retval][out] */ _ADOParameter **ppiprm);
  1761. void __RPC_STUB Command15_CreateParameter_Stub(
  1762. IRpcStubBuffer *This,
  1763. IRpcChannelBuffer *_pRpcChannelBuffer,
  1764. PRPC_MESSAGE _pRpcMessage,
  1765. DWORD *_pdwStubPhase);
  1766. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Command15_get_Parameters_Proxy(
  1767. Command15 * This,
  1768. /* [retval][out] */ ADOParameters **ppvObject);
  1769. void __RPC_STUB Command15_get_Parameters_Stub(
  1770. IRpcStubBuffer *This,
  1771. IRpcChannelBuffer *_pRpcChannelBuffer,
  1772. PRPC_MESSAGE _pRpcMessage,
  1773. DWORD *_pdwStubPhase);
  1774. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Command15_put_CommandType_Proxy(
  1775. Command15 * This,
  1776. /* [in] */ CommandTypeEnum lCmdType);
  1777. void __RPC_STUB Command15_put_CommandType_Stub(
  1778. IRpcStubBuffer *This,
  1779. IRpcChannelBuffer *_pRpcChannelBuffer,
  1780. PRPC_MESSAGE _pRpcMessage,
  1781. DWORD *_pdwStubPhase);
  1782. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Command15_get_CommandType_Proxy(
  1783. Command15 * This,
  1784. /* [retval][out] */ CommandTypeEnum *plCmdType);
  1785. void __RPC_STUB Command15_get_CommandType_Stub(
  1786. IRpcStubBuffer *This,
  1787. IRpcChannelBuffer *_pRpcChannelBuffer,
  1788. PRPC_MESSAGE _pRpcMessage,
  1789. DWORD *_pdwStubPhase);
  1790. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Command15_get_Name_Proxy(
  1791. Command15 * This,
  1792. /* [retval][out] */ BSTR *pbstrName);
  1793. void __RPC_STUB Command15_get_Name_Stub(
  1794. IRpcStubBuffer *This,
  1795. IRpcChannelBuffer *_pRpcChannelBuffer,
  1796. PRPC_MESSAGE _pRpcMessage,
  1797. DWORD *_pdwStubPhase);
  1798. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Command15_put_Name_Proxy(
  1799. Command15 * This,
  1800. /* [in] */ BSTR bstrName);
  1801. void __RPC_STUB Command15_put_Name_Stub(
  1802. IRpcStubBuffer *This,
  1803. IRpcChannelBuffer *_pRpcChannelBuffer,
  1804. PRPC_MESSAGE _pRpcMessage,
  1805. DWORD *_pdwStubPhase);
  1806. #endif /* __Command15_INTERFACE_DEFINED__ */
  1807. #ifndef __Command25_INTERFACE_DEFINED__
  1808. #define __Command25_INTERFACE_DEFINED__
  1809. /* interface Command25 */
  1810. /* [object][helpcontext][uuid][hidden][nonextensible][dual] */
  1811. EXTERN_C const IID IID_Command25;
  1812. #if defined(__cplusplus) && !defined(CINTERFACE)
  1813. MIDL_INTERFACE("0000054E-0000-0010-8000-00AA006D2EA4")
  1814. Command25 : public Command15
  1815. {
  1816. public:
  1817. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_State(
  1818. /* [retval][out] */ LONG *plObjState) = 0;
  1819. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Cancel( void) = 0;
  1820. };
  1821. #else /* C style interface */
  1822. typedef struct Command25Vtbl
  1823. {
  1824. BEGIN_INTERFACE
  1825. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1826. Command25 * This,
  1827. /* [in] */ REFIID riid,
  1828. /* [iid_is][out] */ void **ppvObject);
  1829. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1830. Command25 * This);
  1831. ULONG ( STDMETHODCALLTYPE *Release )(
  1832. Command25 * This);
  1833. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1834. Command25 * This,
  1835. /* [out] */ UINT *pctinfo);
  1836. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1837. Command25 * This,
  1838. /* [in] */ UINT iTInfo,
  1839. /* [in] */ LCID lcid,
  1840. /* [out] */ ITypeInfo **ppTInfo);
  1841. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1842. Command25 * This,
  1843. /* [in] */ REFIID riid,
  1844. /* [size_is][in] */ LPOLESTR *rgszNames,
  1845. /* [in] */ UINT cNames,
  1846. /* [in] */ LCID lcid,
  1847. /* [size_is][out] */ DISPID *rgDispId);
  1848. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1849. Command25 * This,
  1850. /* [in] */ DISPID dispIdMember,
  1851. /* [in] */ REFIID riid,
  1852. /* [in] */ LCID lcid,
  1853. /* [in] */ WORD wFlags,
  1854. /* [out][in] */ DISPPARAMS *pDispParams,
  1855. /* [out] */ VARIANT *pVarResult,
  1856. /* [out] */ EXCEPINFO *pExcepInfo,
  1857. /* [out] */ UINT *puArgErr);
  1858. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Properties )(
  1859. Command25 * This,
  1860. /* [retval][out] */ ADOProperties **ppvObject);
  1861. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ActiveConnection )(
  1862. Command25 * This,
  1863. /* [retval][out] */ _ADOConnection **ppvObject);
  1864. /* [helpcontext][propputref][id] */ HRESULT ( STDMETHODCALLTYPE *putref_ActiveADOConnection )(
  1865. Command25 * This,
  1866. /* [in] */ _ADOConnection *pCon);
  1867. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_ActiveConnection )(
  1868. Command25 * This,
  1869. /* [in] */ VARIANT vConn);
  1870. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CommandText )(
  1871. Command25 * This,
  1872. /* [retval][out] */ BSTR *pbstr);
  1873. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CommandText )(
  1874. Command25 * This,
  1875. /* [in] */ BSTR bstr);
  1876. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CommandTimeout )(
  1877. Command25 * This,
  1878. /* [retval][out] */ LONG *pl);
  1879. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CommandTimeout )(
  1880. Command25 * This,
  1881. /* [in] */ LONG Timeout);
  1882. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Prepared )(
  1883. Command25 * This,
  1884. /* [retval][out] */ VARIANT_BOOL *pfPrepared);
  1885. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Prepared )(
  1886. Command25 * This,
  1887. /* [in] */ VARIANT_BOOL fPrepared);
  1888. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Execute )(
  1889. Command25 * This,
  1890. /* [optional][out] */ VARIANT *RecordsAffected,
  1891. /* [optional][in] */ VARIANT *Parameters,
  1892. /* [defaultvalue][in] */ long Options,
  1893. /* [retval][out] */ _ADORecordset **ppirs);
  1894. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *CreateParameter )(
  1895. Command25 * This,
  1896. /* [defaultvalue][in] */ BSTR Name,
  1897. /* [defaultvalue][in] */ DataTypeEnum Type,
  1898. /* [defaultvalue][in] */ ParameterDirectionEnum Direction,
  1899. /* [defaultvalue][in] */ ADO_LONGPTR Size,
  1900. /* [optional][in] */ VARIANT Value,
  1901. /* [retval][out] */ _ADOParameter **ppiprm);
  1902. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Parameters )(
  1903. Command25 * This,
  1904. /* [retval][out] */ ADOParameters **ppvObject);
  1905. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CommandType )(
  1906. Command25 * This,
  1907. /* [in] */ CommandTypeEnum lCmdType);
  1908. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CommandType )(
  1909. Command25 * This,
  1910. /* [retval][out] */ CommandTypeEnum *plCmdType);
  1911. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  1912. Command25 * This,
  1913. /* [retval][out] */ BSTR *pbstrName);
  1914. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Name )(
  1915. Command25 * This,
  1916. /* [in] */ BSTR bstrName);
  1917. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_State )(
  1918. Command25 * This,
  1919. /* [retval][out] */ LONG *plObjState);
  1920. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Cancel )(
  1921. Command25 * This);
  1922. END_INTERFACE
  1923. } Command25Vtbl;
  1924. interface Command25
  1925. {
  1926. CONST_VTBL struct Command25Vtbl *lpVtbl;
  1927. };
  1928. #ifdef COBJMACROS
  1929. #define Command25_QueryInterface(This,riid,ppvObject) \
  1930. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1931. #define Command25_AddRef(This) \
  1932. (This)->lpVtbl -> AddRef(This)
  1933. #define Command25_Release(This) \
  1934. (This)->lpVtbl -> Release(This)
  1935. #define Command25_GetTypeInfoCount(This,pctinfo) \
  1936. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1937. #define Command25_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1938. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1939. #define Command25_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1940. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1941. #define Command25_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1942. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1943. #define Command25_get_Properties(This,ppvObject) \
  1944. (This)->lpVtbl -> get_Properties(This,ppvObject)
  1945. #define Command25_get_ActiveConnection(This,ppvObject) \
  1946. (This)->lpVtbl -> get_ActiveConnection(This,ppvObject)
  1947. #define Command25_putref_ActiveConnection(This,pCon) \
  1948. (This)->lpVtbl -> putref_ActiveConnection(This,pCon)
  1949. #define Command25_put_ActiveConnection(This,vConn) \
  1950. (This)->lpVtbl -> put_ActiveConnection(This,vConn)
  1951. #define Command25_get_CommandText(This,pbstr) \
  1952. (This)->lpVtbl -> get_CommandText(This,pbstr)
  1953. #define Command25_put_CommandText(This,bstr) \
  1954. (This)->lpVtbl -> put_CommandText(This,bstr)
  1955. #define Command25_get_CommandTimeout(This,pl) \
  1956. (This)->lpVtbl -> get_CommandTimeout(This,pl)
  1957. #define Command25_put_CommandTimeout(This,Timeout) \
  1958. (This)->lpVtbl -> put_CommandTimeout(This,Timeout)
  1959. #define Command25_get_Prepared(This,pfPrepared) \
  1960. (This)->lpVtbl -> get_Prepared(This,pfPrepared)
  1961. #define Command25_put_Prepared(This,fPrepared) \
  1962. (This)->lpVtbl -> put_Prepared(This,fPrepared)
  1963. #define Command25_Execute(This,RecordsAffected,Parameters,Options,ppirs) \
  1964. (This)->lpVtbl -> Execute(This,RecordsAffected,Parameters,Options,ppirs)
  1965. #define Command25_CreateParameter(This,Name,Type,Direction,Size,Value,ppiprm) \
  1966. (This)->lpVtbl -> CreateParameter(This,Name,Type,Direction,Size,Value,ppiprm)
  1967. #define Command25_get_Parameters(This,ppvObject) \
  1968. (This)->lpVtbl -> get_Parameters(This,ppvObject)
  1969. #define Command25_put_CommandType(This,lCmdType) \
  1970. (This)->lpVtbl -> put_CommandType(This,lCmdType)
  1971. #define Command25_get_CommandType(This,plCmdType) \
  1972. (This)->lpVtbl -> get_CommandType(This,plCmdType)
  1973. #define Command25_get_Name(This,pbstrName) \
  1974. (This)->lpVtbl -> get_Name(This,pbstrName)
  1975. #define Command25_put_Name(This,bstrName) \
  1976. (This)->lpVtbl -> put_Name(This,bstrName)
  1977. #define Command25_get_State(This,plObjState) \
  1978. (This)->lpVtbl -> get_State(This,plObjState)
  1979. #define Command25_Cancel(This) \
  1980. (This)->lpVtbl -> Cancel(This)
  1981. #endif /* COBJMACROS */
  1982. #endif /* C style interface */
  1983. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Command25_get_State_Proxy(
  1984. Command25 * This,
  1985. /* [retval][out] */ LONG *plObjState);
  1986. void __RPC_STUB Command25_get_State_Stub(
  1987. IRpcStubBuffer *This,
  1988. IRpcChannelBuffer *_pRpcChannelBuffer,
  1989. PRPC_MESSAGE _pRpcMessage,
  1990. DWORD *_pdwStubPhase);
  1991. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Command25_Cancel_Proxy(
  1992. Command25 * This);
  1993. void __RPC_STUB Command25_Cancel_Stub(
  1994. IRpcStubBuffer *This,
  1995. IRpcChannelBuffer *_pRpcChannelBuffer,
  1996. PRPC_MESSAGE _pRpcMessage,
  1997. DWORD *_pdwStubPhase);
  1998. #endif /* __Command25_INTERFACE_DEFINED__ */
  1999. #ifndef ___Command_INTERFACE_DEFINED__
  2000. #define ___Command_INTERFACE_DEFINED__
  2001. /* interface _ADOCommand */
  2002. /* [object][helpcontext][uuid][nonextensible][dual] */
  2003. EXTERN_C const IID IID__Command;
  2004. #if defined(__cplusplus) && !defined(CINTERFACE)
  2005. MIDL_INTERFACE("B08400BD-F9D1-4D02-B856-71D5DBA123E9")
  2006. _ADOCommand : public Command25
  2007. {
  2008. public:
  2009. virtual /* [helpcontext][propputref][id] */ HRESULT __stdcall putref_CommandStream(
  2010. /* [in] */ IUnknown *pStream) = 0;
  2011. virtual /* [helpcontext][propget][id] */ HRESULT __stdcall get_CommandStream(
  2012. /* [retval][out] */ VARIANT *pvStream) = 0;
  2013. virtual /* [helpcontext][propput][id] */ HRESULT __stdcall put_Dialect(
  2014. /* [in] */ BSTR bstrDialect) = 0;
  2015. virtual /* [helpcontext][propget][id] */ HRESULT __stdcall get_Dialect(
  2016. /* [retval][out] */ BSTR *pbstrDialect) = 0;
  2017. virtual /* [helpcontext][propput][id] */ HRESULT __stdcall put_NamedParameters(
  2018. /* [in] */ VARIANT_BOOL fNamedParameters) = 0;
  2019. virtual /* [helpcontext][propget][id] */ HRESULT __stdcall get_NamedParameters(
  2020. /* [retval][out] */ VARIANT_BOOL *pfNamedParameters) = 0;
  2021. };
  2022. #else /* C style interface */
  2023. typedef struct _CommandVtbl
  2024. {
  2025. BEGIN_INTERFACE
  2026. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2027. _ADOCommand * This,
  2028. /* [in] */ REFIID riid,
  2029. /* [iid_is][out] */ void **ppvObject);
  2030. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2031. _ADOCommand * This);
  2032. ULONG ( STDMETHODCALLTYPE *Release )(
  2033. _ADOCommand * This);
  2034. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  2035. _ADOCommand * This,
  2036. /* [out] */ UINT *pctinfo);
  2037. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  2038. _ADOCommand * This,
  2039. /* [in] */ UINT iTInfo,
  2040. /* [in] */ LCID lcid,
  2041. /* [out] */ ITypeInfo **ppTInfo);
  2042. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2043. _ADOCommand * This,
  2044. /* [in] */ REFIID riid,
  2045. /* [size_is][in] */ LPOLESTR *rgszNames,
  2046. /* [in] */ UINT cNames,
  2047. /* [in] */ LCID lcid,
  2048. /* [size_is][out] */ DISPID *rgDispId);
  2049. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  2050. _ADOCommand * This,
  2051. /* [in] */ DISPID dispIdMember,
  2052. /* [in] */ REFIID riid,
  2053. /* [in] */ LCID lcid,
  2054. /* [in] */ WORD wFlags,
  2055. /* [out][in] */ DISPPARAMS *pDispParams,
  2056. /* [out] */ VARIANT *pVarResult,
  2057. /* [out] */ EXCEPINFO *pExcepInfo,
  2058. /* [out] */ UINT *puArgErr);
  2059. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Properties )(
  2060. _ADOCommand * This,
  2061. /* [retval][out] */ ADOProperties **ppvObject);
  2062. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ActiveConnection )(
  2063. _ADOCommand * This,
  2064. /* [retval][out] */ _ADOConnection **ppvObject);
  2065. /* [helpcontext][propputref][id] */ HRESULT ( STDMETHODCALLTYPE *putref_ActiveADOConnection )(
  2066. _ADOCommand * This,
  2067. /* [in] */ _ADOConnection *pCon);
  2068. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_ActiveConnection )(
  2069. _ADOCommand * This,
  2070. /* [in] */ VARIANT vConn);
  2071. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CommandText )(
  2072. _ADOCommand * This,
  2073. /* [retval][out] */ BSTR *pbstr);
  2074. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CommandText )(
  2075. _ADOCommand * This,
  2076. /* [in] */ BSTR bstr);
  2077. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CommandTimeout )(
  2078. _ADOCommand * This,
  2079. /* [retval][out] */ LONG *pl);
  2080. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CommandTimeout )(
  2081. _ADOCommand * This,
  2082. /* [in] */ LONG Timeout);
  2083. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Prepared )(
  2084. _ADOCommand * This,
  2085. /* [retval][out] */ VARIANT_BOOL *pfPrepared);
  2086. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Prepared )(
  2087. _ADOCommand * This,
  2088. /* [in] */ VARIANT_BOOL fPrepared);
  2089. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Execute )(
  2090. _ADOCommand * This,
  2091. /* [optional][out] */ VARIANT *RecordsAffected,
  2092. /* [optional][in] */ VARIANT *Parameters,
  2093. /* [defaultvalue][in] */ long Options,
  2094. /* [retval][out] */ _ADORecordset **ppirs);
  2095. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *CreateParameter )(
  2096. _ADOCommand * This,
  2097. /* [defaultvalue][in] */ BSTR Name,
  2098. /* [defaultvalue][in] */ DataTypeEnum Type,
  2099. /* [defaultvalue][in] */ ParameterDirectionEnum Direction,
  2100. /* [defaultvalue][in] */ ADO_LONGPTR Size,
  2101. /* [optional][in] */ VARIANT Value,
  2102. /* [retval][out] */ _ADOParameter **ppiprm);
  2103. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Parameters )(
  2104. _ADOCommand * This,
  2105. /* [retval][out] */ ADOParameters **ppvObject);
  2106. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CommandType )(
  2107. _ADOCommand * This,
  2108. /* [in] */ CommandTypeEnum lCmdType);
  2109. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CommandType )(
  2110. _ADOCommand * This,
  2111. /* [retval][out] */ CommandTypeEnum *plCmdType);
  2112. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  2113. _ADOCommand * This,
  2114. /* [retval][out] */ BSTR *pbstrName);
  2115. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Name )(
  2116. _ADOCommand * This,
  2117. /* [in] */ BSTR bstrName);
  2118. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_State )(
  2119. _ADOCommand * This,
  2120. /* [retval][out] */ LONG *plObjState);
  2121. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Cancel )(
  2122. _ADOCommand * This);
  2123. /* [helpcontext][propputref][id] */ HRESULT ( __stdcall *putref_CommandADOStream )(
  2124. _ADOCommand * This,
  2125. /* [in] */ IUnknown *pStream);
  2126. /* [helpcontext][propget][id] */ HRESULT ( __stdcall *get_CommandStream )(
  2127. _ADOCommand * This,
  2128. /* [retval][out] */ VARIANT *pvStream);
  2129. /* [helpcontext][propput][id] */ HRESULT ( __stdcall *put_Dialect )(
  2130. _ADOCommand * This,
  2131. /* [in] */ BSTR bstrDialect);
  2132. /* [helpcontext][propget][id] */ HRESULT ( __stdcall *get_Dialect )(
  2133. _ADOCommand * This,
  2134. /* [retval][out] */ BSTR *pbstrDialect);
  2135. /* [helpcontext][propput][id] */ HRESULT ( __stdcall *put_NamedParameters )(
  2136. _ADOCommand * This,
  2137. /* [in] */ VARIANT_BOOL fNamedParameters);
  2138. /* [helpcontext][propget][id] */ HRESULT ( __stdcall *get_NamedParameters )(
  2139. _ADOCommand * This,
  2140. /* [retval][out] */ VARIANT_BOOL *pfNamedParameters);
  2141. END_INTERFACE
  2142. } _CommandVtbl;
  2143. interface _Command
  2144. {
  2145. CONST_VTBL struct _CommandVtbl *lpVtbl;
  2146. };
  2147. #ifdef COBJMACROS
  2148. #define _Command_QueryInterface(This,riid,ppvObject) \
  2149. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2150. #define _Command_AddRef(This) \
  2151. (This)->lpVtbl -> AddRef(This)
  2152. #define _Command_Release(This) \
  2153. (This)->lpVtbl -> Release(This)
  2154. #define _Command_GetTypeInfoCount(This,pctinfo) \
  2155. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2156. #define _Command_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2157. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2158. #define _Command_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2159. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2160. #define _Command_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2161. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2162. #define _Command_get_Properties(This,ppvObject) \
  2163. (This)->lpVtbl -> get_Properties(This,ppvObject)
  2164. #define _Command_get_ActiveConnection(This,ppvObject) \
  2165. (This)->lpVtbl -> get_ActiveConnection(This,ppvObject)
  2166. #define _Command_putref_ActiveConnection(This,pCon) \
  2167. (This)->lpVtbl -> putref_ActiveConnection(This,pCon)
  2168. #define _Command_put_ActiveConnection(This,vConn) \
  2169. (This)->lpVtbl -> put_ActiveConnection(This,vConn)
  2170. #define _Command_get_CommandText(This,pbstr) \
  2171. (This)->lpVtbl -> get_CommandText(This,pbstr)
  2172. #define _Command_put_CommandText(This,bstr) \
  2173. (This)->lpVtbl -> put_CommandText(This,bstr)
  2174. #define _Command_get_CommandTimeout(This,pl) \
  2175. (This)->lpVtbl -> get_CommandTimeout(This,pl)
  2176. #define _Command_put_CommandTimeout(This,Timeout) \
  2177. (This)->lpVtbl -> put_CommandTimeout(This,Timeout)
  2178. #define _Command_get_Prepared(This,pfPrepared) \
  2179. (This)->lpVtbl -> get_Prepared(This,pfPrepared)
  2180. #define _Command_put_Prepared(This,fPrepared) \
  2181. (This)->lpVtbl -> put_Prepared(This,fPrepared)
  2182. #define _Command_Execute(This,RecordsAffected,Parameters,Options,ppirs) \
  2183. (This)->lpVtbl -> Execute(This,RecordsAffected,Parameters,Options,ppirs)
  2184. #define _Command_CreateParameter(This,Name,Type,Direction,Size,Value,ppiprm) \
  2185. (This)->lpVtbl -> CreateParameter(This,Name,Type,Direction,Size,Value,ppiprm)
  2186. #define _Command_get_Parameters(This,ppvObject) \
  2187. (This)->lpVtbl -> get_Parameters(This,ppvObject)
  2188. #define _Command_put_CommandType(This,lCmdType) \
  2189. (This)->lpVtbl -> put_CommandType(This,lCmdType)
  2190. #define _Command_get_CommandType(This,plCmdType) \
  2191. (This)->lpVtbl -> get_CommandType(This,plCmdType)
  2192. #define _Command_get_Name(This,pbstrName) \
  2193. (This)->lpVtbl -> get_Name(This,pbstrName)
  2194. #define _Command_put_Name(This,bstrName) \
  2195. (This)->lpVtbl -> put_Name(This,bstrName)
  2196. #define _Command_get_State(This,plObjState) \
  2197. (This)->lpVtbl -> get_State(This,plObjState)
  2198. #define _Command_Cancel(This) \
  2199. (This)->lpVtbl -> Cancel(This)
  2200. #define _Command_putref_CommandStream(This,pStream) \
  2201. (This)->lpVtbl -> putref_CommandStream(This,pStream)
  2202. #define _Command_get_CommandStream(This,pvStream) \
  2203. (This)->lpVtbl -> get_CommandStream(This,pvStream)
  2204. #define _Command_put_Dialect(This,bstrDialect) \
  2205. (This)->lpVtbl -> put_Dialect(This,bstrDialect)
  2206. #define _Command_get_Dialect(This,pbstrDialect) \
  2207. (This)->lpVtbl -> get_Dialect(This,pbstrDialect)
  2208. #define _Command_put_NamedParameters(This,fNamedParameters) \
  2209. (This)->lpVtbl -> put_NamedParameters(This,fNamedParameters)
  2210. #define _Command_get_NamedParameters(This,pfNamedParameters) \
  2211. (This)->lpVtbl -> get_NamedParameters(This,pfNamedParameters)
  2212. #endif /* COBJMACROS */
  2213. #endif /* C style interface */
  2214. /* [helpcontext][propputref][id] */ HRESULT __stdcall _Command_putref_CommandStream_Proxy(
  2215. _ADOCommand * This,
  2216. /* [in] */ IUnknown *pStream);
  2217. void __RPC_STUB _Command_putref_CommandStream_Stub(
  2218. IRpcStubBuffer *This,
  2219. IRpcChannelBuffer *_pRpcChannelBuffer,
  2220. PRPC_MESSAGE _pRpcMessage,
  2221. DWORD *_pdwStubPhase);
  2222. /* [helpcontext][propget][id] */ HRESULT __stdcall _Command_get_CommandStream_Proxy(
  2223. _ADOCommand * This,
  2224. /* [retval][out] */ VARIANT *pvStream);
  2225. void __RPC_STUB _Command_get_CommandStream_Stub(
  2226. IRpcStubBuffer *This,
  2227. IRpcChannelBuffer *_pRpcChannelBuffer,
  2228. PRPC_MESSAGE _pRpcMessage,
  2229. DWORD *_pdwStubPhase);
  2230. /* [helpcontext][propput][id] */ HRESULT __stdcall _Command_put_Dialect_Proxy(
  2231. _ADOCommand * This,
  2232. /* [in] */ BSTR bstrDialect);
  2233. void __RPC_STUB _Command_put_Dialect_Stub(
  2234. IRpcStubBuffer *This,
  2235. IRpcChannelBuffer *_pRpcChannelBuffer,
  2236. PRPC_MESSAGE _pRpcMessage,
  2237. DWORD *_pdwStubPhase);
  2238. /* [helpcontext][propget][id] */ HRESULT __stdcall _Command_get_Dialect_Proxy(
  2239. _ADOCommand * This,
  2240. /* [retval][out] */ BSTR *pbstrDialect);
  2241. void __RPC_STUB _Command_get_Dialect_Stub(
  2242. IRpcStubBuffer *This,
  2243. IRpcChannelBuffer *_pRpcChannelBuffer,
  2244. PRPC_MESSAGE _pRpcMessage,
  2245. DWORD *_pdwStubPhase);
  2246. /* [helpcontext][propput][id] */ HRESULT __stdcall _Command_put_NamedParameters_Proxy(
  2247. _ADOCommand * This,
  2248. /* [in] */ VARIANT_BOOL fNamedParameters);
  2249. void __RPC_STUB _Command_put_NamedParameters_Stub(
  2250. IRpcStubBuffer *This,
  2251. IRpcChannelBuffer *_pRpcChannelBuffer,
  2252. PRPC_MESSAGE _pRpcMessage,
  2253. DWORD *_pdwStubPhase);
  2254. /* [helpcontext][propget][id] */ HRESULT __stdcall _Command_get_NamedParameters_Proxy(
  2255. _ADOCommand * This,
  2256. /* [retval][out] */ VARIANT_BOOL *pfNamedParameters);
  2257. void __RPC_STUB _Command_get_NamedParameters_Stub(
  2258. IRpcStubBuffer *This,
  2259. IRpcChannelBuffer *_pRpcChannelBuffer,
  2260. PRPC_MESSAGE _pRpcMessage,
  2261. DWORD *_pdwStubPhase);
  2262. #endif /* ___Command_INTERFACE_DEFINED__ */
  2263. #ifndef __ConnectionEventsVt_INTERFACE_DEFINED__
  2264. #define __ConnectionEventsVt_INTERFACE_DEFINED__
  2265. /* interface ConnectionEventsVt */
  2266. /* [object][uuid][hidden] */
  2267. EXTERN_C const IID IID_ConnectionEventsVt;
  2268. #if defined(__cplusplus) && !defined(CINTERFACE)
  2269. MIDL_INTERFACE("00000402-0000-0010-8000-00AA006D2EA4")
  2270. ConnectionEventsVt : public IUnknown
  2271. {
  2272. public:
  2273. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE InfoMessage(
  2274. /* [in] */ ADOError *pError,
  2275. /* [out][in] */ EventStatusEnum *adStatus,
  2276. /* [in] */ _ADOConnection *pConnection) = 0;
  2277. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE BeginTransComplete(
  2278. /* [in] */ LONG TransactionLevel,
  2279. /* [in] */ ADOError *pError,
  2280. /* [out][in] */ EventStatusEnum *adStatus,
  2281. /* [in] */ _ADOConnection *pConnection) = 0;
  2282. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE CommitTransComplete(
  2283. /* [in] */ ADOError *pError,
  2284. /* [out][in] */ EventStatusEnum *adStatus,
  2285. /* [in] */ _ADOConnection *pConnection) = 0;
  2286. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE RollbackTransComplete(
  2287. /* [in] */ ADOError *pError,
  2288. /* [out][in] */ EventStatusEnum *adStatus,
  2289. /* [in] */ _ADOConnection *pConnection) = 0;
  2290. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE WillExecute(
  2291. /* [out][in] */ BSTR *Source,
  2292. /* [out][in] */ CursorTypeEnum *CursorType,
  2293. /* [out][in] */ LockTypeEnum *LockType,
  2294. /* [out][in] */ long *Options,
  2295. /* [out][in] */ EventStatusEnum *adStatus,
  2296. /* [in] */ _ADOCommand *pCommand,
  2297. /* [in] */ _ADORecordset *pRecordset,
  2298. /* [in] */ _ADOConnection *pConnection) = 0;
  2299. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE ExecuteComplete(
  2300. /* [in] */ LONG RecordsAffected,
  2301. /* [in] */ ADOError *pError,
  2302. /* [out][in] */ EventStatusEnum *adStatus,
  2303. /* [in] */ _ADOCommand *pCommand,
  2304. /* [in] */ _ADORecordset *pRecordset,
  2305. /* [in] */ _ADOConnection *pConnection) = 0;
  2306. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE WillConnect(
  2307. /* [out][in] */ BSTR *ConnectionString,
  2308. /* [out][in] */ BSTR *UserID,
  2309. /* [out][in] */ BSTR *Password,
  2310. /* [out][in] */ long *Options,
  2311. /* [out][in] */ EventStatusEnum *adStatus,
  2312. /* [in] */ _ADOConnection *pConnection) = 0;
  2313. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE ConnectComplete(
  2314. /* [in] */ ADOError *pError,
  2315. /* [out][in] */ EventStatusEnum *adStatus,
  2316. /* [in] */ _ADOConnection *pConnection) = 0;
  2317. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Disconnect(
  2318. /* [out][in] */ EventStatusEnum *adStatus,
  2319. /* [in] */ _ADOConnection *pConnection) = 0;
  2320. };
  2321. #else /* C style interface */
  2322. typedef struct ConnectionEventsVtVtbl
  2323. {
  2324. BEGIN_INTERFACE
  2325. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2326. ConnectionEventsVt * This,
  2327. /* [in] */ REFIID riid,
  2328. /* [iid_is][out] */ void **ppvObject);
  2329. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2330. ConnectionEventsVt * This);
  2331. ULONG ( STDMETHODCALLTYPE *Release )(
  2332. ConnectionEventsVt * This);
  2333. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *InfoMessage )(
  2334. ConnectionEventsVt * This,
  2335. /* [in] */ ADOError *pError,
  2336. /* [out][in] */ EventStatusEnum *adStatus,
  2337. /* [in] */ _ADOConnection *pConnection);
  2338. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *BeginTransComplete )(
  2339. ConnectionEventsVt * This,
  2340. /* [in] */ LONG TransactionLevel,
  2341. /* [in] */ ADOError *pError,
  2342. /* [out][in] */ EventStatusEnum *adStatus,
  2343. /* [in] */ _ADOConnection *pConnection);
  2344. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *CommitTransComplete )(
  2345. ConnectionEventsVt * This,
  2346. /* [in] */ ADOError *pError,
  2347. /* [out][in] */ EventStatusEnum *adStatus,
  2348. /* [in] */ _ADOConnection *pConnection);
  2349. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *RollbackTransComplete )(
  2350. ConnectionEventsVt * This,
  2351. /* [in] */ ADOError *pError,
  2352. /* [out][in] */ EventStatusEnum *adStatus,
  2353. /* [in] */ _ADOConnection *pConnection);
  2354. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *WillExecute )(
  2355. ConnectionEventsVt * This,
  2356. /* [out][in] */ BSTR *Source,
  2357. /* [out][in] */ CursorTypeEnum *CursorType,
  2358. /* [out][in] */ LockTypeEnum *LockType,
  2359. /* [out][in] */ long *Options,
  2360. /* [out][in] */ EventStatusEnum *adStatus,
  2361. /* [in] */ _ADOCommand *pCommand,
  2362. /* [in] */ _ADORecordset *pRecordset,
  2363. /* [in] */ _ADOConnection *pConnection);
  2364. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *ExecuteComplete )(
  2365. ConnectionEventsVt * This,
  2366. /* [in] */ LONG RecordsAffected,
  2367. /* [in] */ ADOError *pError,
  2368. /* [out][in] */ EventStatusEnum *adStatus,
  2369. /* [in] */ _ADOCommand *pCommand,
  2370. /* [in] */ _ADORecordset *pRecordset,
  2371. /* [in] */ _ADOConnection *pConnection);
  2372. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *WillConnect )(
  2373. ConnectionEventsVt * This,
  2374. /* [out][in] */ BSTR *ConnectionString,
  2375. /* [out][in] */ BSTR *UserID,
  2376. /* [out][in] */ BSTR *Password,
  2377. /* [out][in] */ long *Options,
  2378. /* [out][in] */ EventStatusEnum *adStatus,
  2379. /* [in] */ _ADOConnection *pConnection);
  2380. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *ConnectComplete )(
  2381. ConnectionEventsVt * This,
  2382. /* [in] */ ADOError *pError,
  2383. /* [out][in] */ EventStatusEnum *adStatus,
  2384. /* [in] */ _ADOConnection *pConnection);
  2385. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Disconnect )(
  2386. ConnectionEventsVt * This,
  2387. /* [out][in] */ EventStatusEnum *adStatus,
  2388. /* [in] */ _ADOConnection *pConnection);
  2389. END_INTERFACE
  2390. } ConnectionEventsVtVtbl;
  2391. interface ConnectionEventsVt
  2392. {
  2393. CONST_VTBL struct ConnectionEventsVtVtbl *lpVtbl;
  2394. };
  2395. #ifdef COBJMACROS
  2396. #define ConnectionEventsVt_QueryInterface(This,riid,ppvObject) \
  2397. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2398. #define ConnectionEventsVt_AddRef(This) \
  2399. (This)->lpVtbl -> AddRef(This)
  2400. #define ConnectionEventsVt_Release(This) \
  2401. (This)->lpVtbl -> Release(This)
  2402. #define ConnectionEventsVt_InfoMessage(This,pError,adStatus,pConnection) \
  2403. (This)->lpVtbl -> InfoMessage(This,pError,adStatus,pConnection)
  2404. #define ConnectionEventsVt_BeginTransComplete(This,TransactionLevel,pError,adStatus,pConnection) \
  2405. (This)->lpVtbl -> BeginTransComplete(This,TransactionLevel,pError,adStatus,pConnection)
  2406. #define ConnectionEventsVt_CommitTransComplete(This,pError,adStatus,pConnection) \
  2407. (This)->lpVtbl -> CommitTransComplete(This,pError,adStatus,pConnection)
  2408. #define ConnectionEventsVt_RollbackTransComplete(This,pError,adStatus,pConnection) \
  2409. (This)->lpVtbl -> RollbackTransComplete(This,pError,adStatus,pConnection)
  2410. #define ConnectionEventsVt_WillExecute(This,Source,CursorType,LockType,Options,adStatus,pCommand,pRecordset,pConnection) \
  2411. (This)->lpVtbl -> WillExecute(This,Source,CursorType,LockType,Options,adStatus,pCommand,pRecordset,pConnection)
  2412. #define ConnectionEventsVt_ExecuteComplete(This,RecordsAffected,pError,adStatus,pCommand,pRecordset,pConnection) \
  2413. (This)->lpVtbl -> ExecuteComplete(This,RecordsAffected,pError,adStatus,pCommand,pRecordset,pConnection)
  2414. #define ConnectionEventsVt_WillConnect(This,ConnectionString,UserID,Password,Options,adStatus,pConnection) \
  2415. (This)->lpVtbl -> WillConnect(This,ConnectionString,UserID,Password,Options,adStatus,pConnection)
  2416. #define ConnectionEventsVt_ConnectComplete(This,pError,adStatus,pConnection) \
  2417. (This)->lpVtbl -> ConnectComplete(This,pError,adStatus,pConnection)
  2418. #define ConnectionEventsVt_Disconnect(This,adStatus,pConnection) \
  2419. (This)->lpVtbl -> Disconnect(This,adStatus,pConnection)
  2420. #endif /* COBJMACROS */
  2421. #endif /* C style interface */
  2422. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE ConnectionEventsVt_InfoMessage_Proxy(
  2423. ConnectionEventsVt * This,
  2424. /* [in] */ ADOError *pError,
  2425. /* [out][in] */ EventStatusEnum *adStatus,
  2426. /* [in] */ _ADOConnection *pConnection);
  2427. void __RPC_STUB ConnectionEventsVt_InfoMessage_Stub(
  2428. IRpcStubBuffer *This,
  2429. IRpcChannelBuffer *_pRpcChannelBuffer,
  2430. PRPC_MESSAGE _pRpcMessage,
  2431. DWORD *_pdwStubPhase);
  2432. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE ConnectionEventsVt_BeginTransComplete_Proxy(
  2433. ConnectionEventsVt * This,
  2434. /* [in] */ LONG TransactionLevel,
  2435. /* [in] */ ADOError *pError,
  2436. /* [out][in] */ EventStatusEnum *adStatus,
  2437. /* [in] */ _ADOConnection *pConnection);
  2438. void __RPC_STUB ConnectionEventsVt_BeginTransComplete_Stub(
  2439. IRpcStubBuffer *This,
  2440. IRpcChannelBuffer *_pRpcChannelBuffer,
  2441. PRPC_MESSAGE _pRpcMessage,
  2442. DWORD *_pdwStubPhase);
  2443. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE ConnectionEventsVt_CommitTransComplete_Proxy(
  2444. ConnectionEventsVt * This,
  2445. /* [in] */ ADOError *pError,
  2446. /* [out][in] */ EventStatusEnum *adStatus,
  2447. /* [in] */ _ADOConnection *pConnection);
  2448. void __RPC_STUB ConnectionEventsVt_CommitTransComplete_Stub(
  2449. IRpcStubBuffer *This,
  2450. IRpcChannelBuffer *_pRpcChannelBuffer,
  2451. PRPC_MESSAGE _pRpcMessage,
  2452. DWORD *_pdwStubPhase);
  2453. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE ConnectionEventsVt_RollbackTransComplete_Proxy(
  2454. ConnectionEventsVt * This,
  2455. /* [in] */ ADOError *pError,
  2456. /* [out][in] */ EventStatusEnum *adStatus,
  2457. /* [in] */ _ADOConnection *pConnection);
  2458. void __RPC_STUB ConnectionEventsVt_RollbackTransComplete_Stub(
  2459. IRpcStubBuffer *This,
  2460. IRpcChannelBuffer *_pRpcChannelBuffer,
  2461. PRPC_MESSAGE _pRpcMessage,
  2462. DWORD *_pdwStubPhase);
  2463. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE ConnectionEventsVt_WillExecute_Proxy(
  2464. ConnectionEventsVt * This,
  2465. /* [out][in] */ BSTR *Source,
  2466. /* [out][in] */ CursorTypeEnum *CursorType,
  2467. /* [out][in] */ LockTypeEnum *LockType,
  2468. /* [out][in] */ long *Options,
  2469. /* [out][in] */ EventStatusEnum *adStatus,
  2470. /* [in] */ _ADOCommand *pCommand,
  2471. /* [in] */ _ADORecordset *pRecordset,
  2472. /* [in] */ _ADOConnection *pConnection);
  2473. void __RPC_STUB ConnectionEventsVt_WillExecute_Stub(
  2474. IRpcStubBuffer *This,
  2475. IRpcChannelBuffer *_pRpcChannelBuffer,
  2476. PRPC_MESSAGE _pRpcMessage,
  2477. DWORD *_pdwStubPhase);
  2478. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE ConnectionEventsVt_ExecuteComplete_Proxy(
  2479. ConnectionEventsVt * This,
  2480. /* [in] */ LONG RecordsAffected,
  2481. /* [in] */ ADOError *pError,
  2482. /* [out][in] */ EventStatusEnum *adStatus,
  2483. /* [in] */ _ADOCommand *pCommand,
  2484. /* [in] */ _ADORecordset *pRecordset,
  2485. /* [in] */ _ADOConnection *pConnection);
  2486. void __RPC_STUB ConnectionEventsVt_ExecuteComplete_Stub(
  2487. IRpcStubBuffer *This,
  2488. IRpcChannelBuffer *_pRpcChannelBuffer,
  2489. PRPC_MESSAGE _pRpcMessage,
  2490. DWORD *_pdwStubPhase);
  2491. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE ConnectionEventsVt_WillConnect_Proxy(
  2492. ConnectionEventsVt * This,
  2493. /* [out][in] */ BSTR *ConnectionString,
  2494. /* [out][in] */ BSTR *UserID,
  2495. /* [out][in] */ BSTR *Password,
  2496. /* [out][in] */ long *Options,
  2497. /* [out][in] */ EventStatusEnum *adStatus,
  2498. /* [in] */ _ADOConnection *pConnection);
  2499. void __RPC_STUB ConnectionEventsVt_WillConnect_Stub(
  2500. IRpcStubBuffer *This,
  2501. IRpcChannelBuffer *_pRpcChannelBuffer,
  2502. PRPC_MESSAGE _pRpcMessage,
  2503. DWORD *_pdwStubPhase);
  2504. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE ConnectionEventsVt_ConnectComplete_Proxy(
  2505. ConnectionEventsVt * This,
  2506. /* [in] */ ADOError *pError,
  2507. /* [out][in] */ EventStatusEnum *adStatus,
  2508. /* [in] */ _ADOConnection *pConnection);
  2509. void __RPC_STUB ConnectionEventsVt_ConnectComplete_Stub(
  2510. IRpcStubBuffer *This,
  2511. IRpcChannelBuffer *_pRpcChannelBuffer,
  2512. PRPC_MESSAGE _pRpcMessage,
  2513. DWORD *_pdwStubPhase);
  2514. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE ConnectionEventsVt_Disconnect_Proxy(
  2515. ConnectionEventsVt * This,
  2516. /* [out][in] */ EventStatusEnum *adStatus,
  2517. /* [in] */ _ADOConnection *pConnection);
  2518. void __RPC_STUB ConnectionEventsVt_Disconnect_Stub(
  2519. IRpcStubBuffer *This,
  2520. IRpcChannelBuffer *_pRpcChannelBuffer,
  2521. PRPC_MESSAGE _pRpcMessage,
  2522. DWORD *_pdwStubPhase);
  2523. #endif /* __ConnectionEventsVt_INTERFACE_DEFINED__ */
  2524. #ifndef __RecordsetEventsVt_INTERFACE_DEFINED__
  2525. #define __RecordsetEventsVt_INTERFACE_DEFINED__
  2526. /* interface RecordsetEventsVt */
  2527. /* [object][uuid][hidden] */
  2528. EXTERN_C const IID IID_RecordsetEventsVt;
  2529. #if defined(__cplusplus) && !defined(CINTERFACE)
  2530. MIDL_INTERFACE("00000403-0000-0010-8000-00AA006D2EA4")
  2531. RecordsetEventsVt : public IUnknown
  2532. {
  2533. public:
  2534. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE WillChangeField(
  2535. /* [in] */ LONG cFields,
  2536. /* [in] */ VARIANT Fields,
  2537. /* [out][in] */ EventStatusEnum *adStatus,
  2538. /* [in] */ _ADORecordset *pRecordset) = 0;
  2539. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE FieldChangeComplete(
  2540. /* [in] */ LONG cFields,
  2541. /* [in] */ VARIANT Fields,
  2542. /* [in] */ ADOError *pError,
  2543. /* [out][in] */ EventStatusEnum *adStatus,
  2544. /* [in] */ _ADORecordset *pRecordset) = 0;
  2545. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE WillChangeRecord(
  2546. /* [in] */ EventReasonEnum adReason,
  2547. /* [in] */ LONG cRecords,
  2548. /* [out][in] */ EventStatusEnum *adStatus,
  2549. /* [in] */ _ADORecordset *pRecordset) = 0;
  2550. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE RecordChangeComplete(
  2551. /* [in] */ EventReasonEnum adReason,
  2552. /* [in] */ LONG cRecords,
  2553. /* [in] */ ADOError *pError,
  2554. /* [out][in] */ EventStatusEnum *adStatus,
  2555. /* [in] */ _ADORecordset *pRecordset) = 0;
  2556. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE WillChangeRecordset(
  2557. /* [in] */ EventReasonEnum adReason,
  2558. /* [out][in] */ EventStatusEnum *adStatus,
  2559. /* [in] */ _ADORecordset *pRecordset) = 0;
  2560. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE RecordsetChangeComplete(
  2561. /* [in] */ EventReasonEnum adReason,
  2562. /* [in] */ ADOError *pError,
  2563. /* [out][in] */ EventStatusEnum *adStatus,
  2564. /* [in] */ _ADORecordset *pRecordset) = 0;
  2565. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE WillMove(
  2566. /* [in] */ EventReasonEnum adReason,
  2567. /* [out][in] */ EventStatusEnum *adStatus,
  2568. /* [in] */ _ADORecordset *pRecordset) = 0;
  2569. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE MoveComplete(
  2570. /* [in] */ EventReasonEnum adReason,
  2571. /* [in] */ ADOError *pError,
  2572. /* [out][in] */ EventStatusEnum *adStatus,
  2573. /* [in] */ _ADORecordset *pRecordset) = 0;
  2574. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE EndOfRecordset(
  2575. /* [out][in] */ VARIANT_BOOL *fMoreData,
  2576. /* [out][in] */ EventStatusEnum *adStatus,
  2577. /* [in] */ _ADORecordset *pRecordset) = 0;
  2578. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE FetchProgress(
  2579. /* [in] */ long Progress,
  2580. /* [in] */ long MaxProgress,
  2581. /* [out][in] */ EventStatusEnum *adStatus,
  2582. /* [in] */ _ADORecordset *pRecordset) = 0;
  2583. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE FetchComplete(
  2584. /* [in] */ ADOError *pError,
  2585. /* [out][in] */ EventStatusEnum *adStatus,
  2586. /* [in] */ _ADORecordset *pRecordset) = 0;
  2587. };
  2588. #else /* C style interface */
  2589. typedef struct RecordsetEventsVtVtbl
  2590. {
  2591. BEGIN_INTERFACE
  2592. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2593. RecordsetEventsVt * This,
  2594. /* [in] */ REFIID riid,
  2595. /* [iid_is][out] */ void **ppvObject);
  2596. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2597. RecordsetEventsVt * This);
  2598. ULONG ( STDMETHODCALLTYPE *Release )(
  2599. RecordsetEventsVt * This);
  2600. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *WillChangeADOField )(
  2601. RecordsetEventsVt * This,
  2602. /* [in] */ LONG cFields,
  2603. /* [in] */ VARIANT Fields,
  2604. /* [out][in] */ EventStatusEnum *adStatus,
  2605. /* [in] */ _ADORecordset *pRecordset);
  2606. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *FieldChangeComplete )(
  2607. RecordsetEventsVt * This,
  2608. /* [in] */ LONG cFields,
  2609. /* [in] */ VARIANT Fields,
  2610. /* [in] */ ADOError *pError,
  2611. /* [out][in] */ EventStatusEnum *adStatus,
  2612. /* [in] */ _ADORecordset *pRecordset);
  2613. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *WillChangeADORecord )(
  2614. RecordsetEventsVt * This,
  2615. /* [in] */ EventReasonEnum adReason,
  2616. /* [in] */ LONG cRecords,
  2617. /* [out][in] */ EventStatusEnum *adStatus,
  2618. /* [in] */ _ADORecordset *pRecordset);
  2619. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *RecordChangeComplete )(
  2620. RecordsetEventsVt * This,
  2621. /* [in] */ EventReasonEnum adReason,
  2622. /* [in] */ LONG cRecords,
  2623. /* [in] */ ADOError *pError,
  2624. /* [out][in] */ EventStatusEnum *adStatus,
  2625. /* [in] */ _ADORecordset *pRecordset);
  2626. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *WillChangeADORecordset )(
  2627. RecordsetEventsVt * This,
  2628. /* [in] */ EventReasonEnum adReason,
  2629. /* [out][in] */ EventStatusEnum *adStatus,
  2630. /* [in] */ _ADORecordset *pRecordset);
  2631. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *RecordsetChangeComplete )(
  2632. RecordsetEventsVt * This,
  2633. /* [in] */ EventReasonEnum adReason,
  2634. /* [in] */ ADOError *pError,
  2635. /* [out][in] */ EventStatusEnum *adStatus,
  2636. /* [in] */ _ADORecordset *pRecordset);
  2637. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *WillMove )(
  2638. RecordsetEventsVt * This,
  2639. /* [in] */ EventReasonEnum adReason,
  2640. /* [out][in] */ EventStatusEnum *adStatus,
  2641. /* [in] */ _ADORecordset *pRecordset);
  2642. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *MoveComplete )(
  2643. RecordsetEventsVt * This,
  2644. /* [in] */ EventReasonEnum adReason,
  2645. /* [in] */ ADOError *pError,
  2646. /* [out][in] */ EventStatusEnum *adStatus,
  2647. /* [in] */ _ADORecordset *pRecordset);
  2648. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *EndOfADORecordset )(
  2649. RecordsetEventsVt * This,
  2650. /* [out][in] */ VARIANT_BOOL *fMoreData,
  2651. /* [out][in] */ EventStatusEnum *adStatus,
  2652. /* [in] */ _ADORecordset *pRecordset);
  2653. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *FetchProgress )(
  2654. RecordsetEventsVt * This,
  2655. /* [in] */ long Progress,
  2656. /* [in] */ long MaxProgress,
  2657. /* [out][in] */ EventStatusEnum *adStatus,
  2658. /* [in] */ _ADORecordset *pRecordset);
  2659. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *FetchComplete )(
  2660. RecordsetEventsVt * This,
  2661. /* [in] */ ADOError *pError,
  2662. /* [out][in] */ EventStatusEnum *adStatus,
  2663. /* [in] */ _ADORecordset *pRecordset);
  2664. END_INTERFACE
  2665. } RecordsetEventsVtVtbl;
  2666. interface RecordsetEventsVt
  2667. {
  2668. CONST_VTBL struct RecordsetEventsVtVtbl *lpVtbl;
  2669. };
  2670. #ifdef COBJMACROS
  2671. #define RecordsetEventsVt_QueryInterface(This,riid,ppvObject) \
  2672. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2673. #define RecordsetEventsVt_AddRef(This) \
  2674. (This)->lpVtbl -> AddRef(This)
  2675. #define RecordsetEventsVt_Release(This) \
  2676. (This)->lpVtbl -> Release(This)
  2677. #define RecordsetEventsVt_WillChangeField(This,cFields,Fields,adStatus,pRecordset) \
  2678. (This)->lpVtbl -> WillChangeField(This,cFields,Fields,adStatus,pRecordset)
  2679. #define RecordsetEventsVt_FieldChangeComplete(This,cFields,Fields,pError,adStatus,pRecordset) \
  2680. (This)->lpVtbl -> FieldChangeComplete(This,cFields,Fields,pError,adStatus,pRecordset)
  2681. #define RecordsetEventsVt_WillChangeRecord(This,adReason,cRecords,adStatus,pRecordset) \
  2682. (This)->lpVtbl -> WillChangeRecord(This,adReason,cRecords,adStatus,pRecordset)
  2683. #define RecordsetEventsVt_RecordChangeComplete(This,adReason,cRecords,pError,adStatus,pRecordset) \
  2684. (This)->lpVtbl -> RecordChangeComplete(This,adReason,cRecords,pError,adStatus,pRecordset)
  2685. #define RecordsetEventsVt_WillChangeRecordset(This,adReason,adStatus,pRecordset) \
  2686. (This)->lpVtbl -> WillChangeRecordset(This,adReason,adStatus,pRecordset)
  2687. #define RecordsetEventsVt_RecordsetChangeComplete(This,adReason,pError,adStatus,pRecordset) \
  2688. (This)->lpVtbl -> RecordsetChangeComplete(This,adReason,pError,adStatus,pRecordset)
  2689. #define RecordsetEventsVt_WillMove(This,adReason,adStatus,pRecordset) \
  2690. (This)->lpVtbl -> WillMove(This,adReason,adStatus,pRecordset)
  2691. #define RecordsetEventsVt_MoveComplete(This,adReason,pError,adStatus,pRecordset) \
  2692. (This)->lpVtbl -> MoveComplete(This,adReason,pError,adStatus,pRecordset)
  2693. #define RecordsetEventsVt_EndOfRecordset(This,fMoreData,adStatus,pRecordset) \
  2694. (This)->lpVtbl -> EndOfRecordset(This,fMoreData,adStatus,pRecordset)
  2695. #define RecordsetEventsVt_FetchProgress(This,Progress,MaxProgress,adStatus,pRecordset) \
  2696. (This)->lpVtbl -> FetchProgress(This,Progress,MaxProgress,adStatus,pRecordset)
  2697. #define RecordsetEventsVt_FetchComplete(This,pError,adStatus,pRecordset) \
  2698. (This)->lpVtbl -> FetchComplete(This,pError,adStatus,pRecordset)
  2699. #endif /* COBJMACROS */
  2700. #endif /* C style interface */
  2701. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE RecordsetEventsVt_WillChangeField_Proxy(
  2702. RecordsetEventsVt * This,
  2703. /* [in] */ LONG cFields,
  2704. /* [in] */ VARIANT Fields,
  2705. /* [out][in] */ EventStatusEnum *adStatus,
  2706. /* [in] */ _ADORecordset *pRecordset);
  2707. void __RPC_STUB RecordsetEventsVt_WillChangeField_Stub(
  2708. IRpcStubBuffer *This,
  2709. IRpcChannelBuffer *_pRpcChannelBuffer,
  2710. PRPC_MESSAGE _pRpcMessage,
  2711. DWORD *_pdwStubPhase);
  2712. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE RecordsetEventsVt_FieldChangeComplete_Proxy(
  2713. RecordsetEventsVt * This,
  2714. /* [in] */ LONG cFields,
  2715. /* [in] */ VARIANT Fields,
  2716. /* [in] */ ADOError *pError,
  2717. /* [out][in] */ EventStatusEnum *adStatus,
  2718. /* [in] */ _ADORecordset *pRecordset);
  2719. void __RPC_STUB RecordsetEventsVt_FieldChangeComplete_Stub(
  2720. IRpcStubBuffer *This,
  2721. IRpcChannelBuffer *_pRpcChannelBuffer,
  2722. PRPC_MESSAGE _pRpcMessage,
  2723. DWORD *_pdwStubPhase);
  2724. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE RecordsetEventsVt_WillChangeRecord_Proxy(
  2725. RecordsetEventsVt * This,
  2726. /* [in] */ EventReasonEnum adReason,
  2727. /* [in] */ LONG cRecords,
  2728. /* [out][in] */ EventStatusEnum *adStatus,
  2729. /* [in] */ _ADORecordset *pRecordset);
  2730. void __RPC_STUB RecordsetEventsVt_WillChangeRecord_Stub(
  2731. IRpcStubBuffer *This,
  2732. IRpcChannelBuffer *_pRpcChannelBuffer,
  2733. PRPC_MESSAGE _pRpcMessage,
  2734. DWORD *_pdwStubPhase);
  2735. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE RecordsetEventsVt_RecordChangeComplete_Proxy(
  2736. RecordsetEventsVt * This,
  2737. /* [in] */ EventReasonEnum adReason,
  2738. /* [in] */ LONG cRecords,
  2739. /* [in] */ ADOError *pError,
  2740. /* [out][in] */ EventStatusEnum *adStatus,
  2741. /* [in] */ _ADORecordset *pRecordset);
  2742. void __RPC_STUB RecordsetEventsVt_RecordChangeComplete_Stub(
  2743. IRpcStubBuffer *This,
  2744. IRpcChannelBuffer *_pRpcChannelBuffer,
  2745. PRPC_MESSAGE _pRpcMessage,
  2746. DWORD *_pdwStubPhase);
  2747. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE RecordsetEventsVt_WillChangeRecordset_Proxy(
  2748. RecordsetEventsVt * This,
  2749. /* [in] */ EventReasonEnum adReason,
  2750. /* [out][in] */ EventStatusEnum *adStatus,
  2751. /* [in] */ _ADORecordset *pRecordset);
  2752. void __RPC_STUB RecordsetEventsVt_WillChangeRecordset_Stub(
  2753. IRpcStubBuffer *This,
  2754. IRpcChannelBuffer *_pRpcChannelBuffer,
  2755. PRPC_MESSAGE _pRpcMessage,
  2756. DWORD *_pdwStubPhase);
  2757. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE RecordsetEventsVt_RecordsetChangeComplete_Proxy(
  2758. RecordsetEventsVt * This,
  2759. /* [in] */ EventReasonEnum adReason,
  2760. /* [in] */ ADOError *pError,
  2761. /* [out][in] */ EventStatusEnum *adStatus,
  2762. /* [in] */ _ADORecordset *pRecordset);
  2763. void __RPC_STUB RecordsetEventsVt_RecordsetChangeComplete_Stub(
  2764. IRpcStubBuffer *This,
  2765. IRpcChannelBuffer *_pRpcChannelBuffer,
  2766. PRPC_MESSAGE _pRpcMessage,
  2767. DWORD *_pdwStubPhase);
  2768. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE RecordsetEventsVt_WillMove_Proxy(
  2769. RecordsetEventsVt * This,
  2770. /* [in] */ EventReasonEnum adReason,
  2771. /* [out][in] */ EventStatusEnum *adStatus,
  2772. /* [in] */ _ADORecordset *pRecordset);
  2773. void __RPC_STUB RecordsetEventsVt_WillMove_Stub(
  2774. IRpcStubBuffer *This,
  2775. IRpcChannelBuffer *_pRpcChannelBuffer,
  2776. PRPC_MESSAGE _pRpcMessage,
  2777. DWORD *_pdwStubPhase);
  2778. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE RecordsetEventsVt_MoveComplete_Proxy(
  2779. RecordsetEventsVt * This,
  2780. /* [in] */ EventReasonEnum adReason,
  2781. /* [in] */ ADOError *pError,
  2782. /* [out][in] */ EventStatusEnum *adStatus,
  2783. /* [in] */ _ADORecordset *pRecordset);
  2784. void __RPC_STUB RecordsetEventsVt_MoveComplete_Stub(
  2785. IRpcStubBuffer *This,
  2786. IRpcChannelBuffer *_pRpcChannelBuffer,
  2787. PRPC_MESSAGE _pRpcMessage,
  2788. DWORD *_pdwStubPhase);
  2789. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE RecordsetEventsVt_EndOfRecordset_Proxy(
  2790. RecordsetEventsVt * This,
  2791. /* [out][in] */ VARIANT_BOOL *fMoreData,
  2792. /* [out][in] */ EventStatusEnum *adStatus,
  2793. /* [in] */ _ADORecordset *pRecordset);
  2794. void __RPC_STUB RecordsetEventsVt_EndOfRecordset_Stub(
  2795. IRpcStubBuffer *This,
  2796. IRpcChannelBuffer *_pRpcChannelBuffer,
  2797. PRPC_MESSAGE _pRpcMessage,
  2798. DWORD *_pdwStubPhase);
  2799. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE RecordsetEventsVt_FetchProgress_Proxy(
  2800. RecordsetEventsVt * This,
  2801. /* [in] */ long Progress,
  2802. /* [in] */ long MaxProgress,
  2803. /* [out][in] */ EventStatusEnum *adStatus,
  2804. /* [in] */ _ADORecordset *pRecordset);
  2805. void __RPC_STUB RecordsetEventsVt_FetchProgress_Stub(
  2806. IRpcStubBuffer *This,
  2807. IRpcChannelBuffer *_pRpcChannelBuffer,
  2808. PRPC_MESSAGE _pRpcMessage,
  2809. DWORD *_pdwStubPhase);
  2810. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE RecordsetEventsVt_FetchComplete_Proxy(
  2811. RecordsetEventsVt * This,
  2812. /* [in] */ ADOError *pError,
  2813. /* [out][in] */ EventStatusEnum *adStatus,
  2814. /* [in] */ _ADORecordset *pRecordset);
  2815. void __RPC_STUB RecordsetEventsVt_FetchComplete_Stub(
  2816. IRpcStubBuffer *This,
  2817. IRpcChannelBuffer *_pRpcChannelBuffer,
  2818. PRPC_MESSAGE _pRpcMessage,
  2819. DWORD *_pdwStubPhase);
  2820. #endif /* __RecordsetEventsVt_INTERFACE_DEFINED__ */
  2821. #ifndef __ConnectionEvents_DISPINTERFACE_DEFINED__
  2822. #define __ConnectionEvents_DISPINTERFACE_DEFINED__
  2823. /* dispinterface ConnectionEvents */
  2824. /* [uuid] */
  2825. EXTERN_C const IID DIID_ConnectionEvents;
  2826. #if defined(__cplusplus) && !defined(CINTERFACE)
  2827. MIDL_INTERFACE("00000400-0000-0010-8000-00AA006D2EA4")
  2828. ConnectionEvents : public IDispatch
  2829. {
  2830. };
  2831. #else /* C style interface */
  2832. typedef struct ConnectionEventsVtbl
  2833. {
  2834. BEGIN_INTERFACE
  2835. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2836. ConnectionEvents * This,
  2837. /* [in] */ REFIID riid,
  2838. /* [iid_is][out] */ void **ppvObject);
  2839. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2840. ConnectionEvents * This);
  2841. ULONG ( STDMETHODCALLTYPE *Release )(
  2842. ConnectionEvents * This);
  2843. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  2844. ConnectionEvents * This,
  2845. /* [out] */ UINT *pctinfo);
  2846. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  2847. ConnectionEvents * This,
  2848. /* [in] */ UINT iTInfo,
  2849. /* [in] */ LCID lcid,
  2850. /* [out] */ ITypeInfo **ppTInfo);
  2851. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2852. ConnectionEvents * This,
  2853. /* [in] */ REFIID riid,
  2854. /* [size_is][in] */ LPOLESTR *rgszNames,
  2855. /* [in] */ UINT cNames,
  2856. /* [in] */ LCID lcid,
  2857. /* [size_is][out] */ DISPID *rgDispId);
  2858. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  2859. ConnectionEvents * This,
  2860. /* [in] */ DISPID dispIdMember,
  2861. /* [in] */ REFIID riid,
  2862. /* [in] */ LCID lcid,
  2863. /* [in] */ WORD wFlags,
  2864. /* [out][in] */ DISPPARAMS *pDispParams,
  2865. /* [out] */ VARIANT *pVarResult,
  2866. /* [out] */ EXCEPINFO *pExcepInfo,
  2867. /* [out] */ UINT *puArgErr);
  2868. END_INTERFACE
  2869. } ConnectionEventsVtbl;
  2870. interface ConnectionEvents
  2871. {
  2872. CONST_VTBL struct ConnectionEventsVtbl *lpVtbl;
  2873. };
  2874. #ifdef COBJMACROS
  2875. #define ConnectionEvents_QueryInterface(This,riid,ppvObject) \
  2876. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2877. #define ConnectionEvents_AddRef(This) \
  2878. (This)->lpVtbl -> AddRef(This)
  2879. #define ConnectionEvents_Release(This) \
  2880. (This)->lpVtbl -> Release(This)
  2881. #define ConnectionEvents_GetTypeInfoCount(This,pctinfo) \
  2882. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2883. #define ConnectionEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2884. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2885. #define ConnectionEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2886. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2887. #define ConnectionEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2888. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2889. #endif /* COBJMACROS */
  2890. #endif /* C style interface */
  2891. #endif /* __ConnectionEvents_DISPINTERFACE_DEFINED__ */
  2892. #ifndef __RecordsetEvents_DISPINTERFACE_DEFINED__
  2893. #define __RecordsetEvents_DISPINTERFACE_DEFINED__
  2894. /* dispinterface RecordsetEvents */
  2895. /* [uuid] */
  2896. EXTERN_C const IID DIID_RecordsetEvents;
  2897. #if defined(__cplusplus) && !defined(CINTERFACE)
  2898. MIDL_INTERFACE("00000266-0000-0010-8000-00AA006D2EA4")
  2899. RecordsetEvents : public IDispatch
  2900. {
  2901. };
  2902. #else /* C style interface */
  2903. typedef struct RecordsetEventsVtbl
  2904. {
  2905. BEGIN_INTERFACE
  2906. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2907. RecordsetEvents * This,
  2908. /* [in] */ REFIID riid,
  2909. /* [iid_is][out] */ void **ppvObject);
  2910. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2911. RecordsetEvents * This);
  2912. ULONG ( STDMETHODCALLTYPE *Release )(
  2913. RecordsetEvents * This);
  2914. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  2915. RecordsetEvents * This,
  2916. /* [out] */ UINT *pctinfo);
  2917. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  2918. RecordsetEvents * This,
  2919. /* [in] */ UINT iTInfo,
  2920. /* [in] */ LCID lcid,
  2921. /* [out] */ ITypeInfo **ppTInfo);
  2922. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2923. RecordsetEvents * This,
  2924. /* [in] */ REFIID riid,
  2925. /* [size_is][in] */ LPOLESTR *rgszNames,
  2926. /* [in] */ UINT cNames,
  2927. /* [in] */ LCID lcid,
  2928. /* [size_is][out] */ DISPID *rgDispId);
  2929. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  2930. RecordsetEvents * This,
  2931. /* [in] */ DISPID dispIdMember,
  2932. /* [in] */ REFIID riid,
  2933. /* [in] */ LCID lcid,
  2934. /* [in] */ WORD wFlags,
  2935. /* [out][in] */ DISPPARAMS *pDispParams,
  2936. /* [out] */ VARIANT *pVarResult,
  2937. /* [out] */ EXCEPINFO *pExcepInfo,
  2938. /* [out] */ UINT *puArgErr);
  2939. END_INTERFACE
  2940. } RecordsetEventsVtbl;
  2941. interface RecordsetEvents
  2942. {
  2943. CONST_VTBL struct RecordsetEventsVtbl *lpVtbl;
  2944. };
  2945. #ifdef COBJMACROS
  2946. #define RecordsetEvents_QueryInterface(This,riid,ppvObject) \
  2947. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2948. #define RecordsetEvents_AddRef(This) \
  2949. (This)->lpVtbl -> AddRef(This)
  2950. #define RecordsetEvents_Release(This) \
  2951. (This)->lpVtbl -> Release(This)
  2952. #define RecordsetEvents_GetTypeInfoCount(This,pctinfo) \
  2953. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2954. #define RecordsetEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2955. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2956. #define RecordsetEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2957. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2958. #define RecordsetEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2959. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2960. #endif /* COBJMACROS */
  2961. #endif /* C style interface */
  2962. #endif /* __RecordsetEvents_DISPINTERFACE_DEFINED__ */
  2963. #ifndef __Connection15_INTERFACE_DEFINED__
  2964. #define __Connection15_INTERFACE_DEFINED__
  2965. /* interface Connection15 */
  2966. /* [object][helpcontext][uuid][hidden][dual] */
  2967. EXTERN_C const IID IID_Connection15;
  2968. #if defined(__cplusplus) && !defined(CINTERFACE)
  2969. MIDL_INTERFACE("00000515-0000-0010-8000-00AA006D2EA4")
  2970. Connection15 : public _ADO
  2971. {
  2972. public:
  2973. virtual /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE get_ConnectionString(
  2974. /* [retval][out] */ BSTR *pbstr) = 0;
  2975. virtual /* [helpcontext][id][propput] */ HRESULT STDMETHODCALLTYPE put_ConnectionString(
  2976. /* [in] */ BSTR bstr) = 0;
  2977. virtual /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE get_CommandTimeout(
  2978. /* [retval][out] */ LONG *plTimeout) = 0;
  2979. virtual /* [helpcontext][id][propput] */ HRESULT STDMETHODCALLTYPE put_CommandTimeout(
  2980. /* [in] */ LONG lTimeout) = 0;
  2981. virtual /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE get_ConnectionTimeout(
  2982. /* [retval][out] */ LONG *plTimeout) = 0;
  2983. virtual /* [helpcontext][id][propput] */ HRESULT STDMETHODCALLTYPE put_ConnectionTimeout(
  2984. /* [in] */ LONG lTimeout) = 0;
  2985. virtual /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE get_Version(
  2986. /* [retval][out] */ BSTR *pbstr) = 0;
  2987. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Close( void) = 0;
  2988. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Execute(
  2989. /* [in] */ BSTR CommandText,
  2990. /* [optional][out] */ VARIANT *RecordsAffected,
  2991. /* [defaultvalue][in] */ long Options,
  2992. /* [retval][out] */ _ADORecordset **ppiRset) = 0;
  2993. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE BeginTrans(
  2994. /* [retval][out] */ long *TransactionLevel) = 0;
  2995. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE CommitTrans( void) = 0;
  2996. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE RollbackTrans( void) = 0;
  2997. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Open(
  2998. /* [defaultvalue][in] */ BSTR ConnectionString = L"",
  2999. /* [defaultvalue][in] */ BSTR UserID = L"",
  3000. /* [defaultvalue][in] */ BSTR Password = L"",
  3001. /* [defaultvalue][in] */ long Options = adOptionUnspecified) = 0;
  3002. virtual /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE get_Errors(
  3003. /* [retval][out] */ ADOErrors **ppvObject) = 0;
  3004. virtual /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE get_DefaultDatabase(
  3005. /* [retval][out] */ BSTR *pbstr) = 0;
  3006. virtual /* [helpcontext][id][propput] */ HRESULT STDMETHODCALLTYPE put_DefaultDatabase(
  3007. /* [in] */ BSTR bstr) = 0;
  3008. virtual /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE get_IsolationLevel(
  3009. /* [retval][out] */ IsolationLevelEnum *Level) = 0;
  3010. virtual /* [helpcontext][id][propput] */ HRESULT STDMETHODCALLTYPE put_IsolationLevel(
  3011. /* [in] */ IsolationLevelEnum Level) = 0;
  3012. virtual /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE get_Attributes(
  3013. /* [retval][out] */ long *plAttr) = 0;
  3014. virtual /* [helpcontext][id][propput] */ HRESULT STDMETHODCALLTYPE put_Attributes(
  3015. /* [in] */ long lAttr) = 0;
  3016. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_CursorLocation(
  3017. /* [retval][out] */ CursorLocationEnum *plCursorLoc) = 0;
  3018. virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_CursorLocation(
  3019. /* [in] */ CursorLocationEnum lCursorLoc) = 0;
  3020. virtual /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE get_Mode(
  3021. /* [retval][out] */ ConnectModeEnum *plMode) = 0;
  3022. virtual /* [helpcontext][id][propput] */ HRESULT STDMETHODCALLTYPE put_Mode(
  3023. /* [in] */ ConnectModeEnum lMode) = 0;
  3024. virtual /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE get_Provider(
  3025. /* [retval][out] */ BSTR *pbstr) = 0;
  3026. virtual /* [helpcontext][id][propput] */ HRESULT STDMETHODCALLTYPE put_Provider(
  3027. /* [in] */ BSTR Provider) = 0;
  3028. virtual /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE get_State(
  3029. /* [retval][out] */ LONG *plObjState) = 0;
  3030. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE OpenSchema(
  3031. /* [in] */ SchemaEnum Schema,
  3032. /* [optional][in] */ VARIANT Restrictions,
  3033. /* [optional][in] */ VARIANT SchemaID,
  3034. /* [retval][out] */ _ADORecordset **pprset) = 0;
  3035. };
  3036. #else /* C style interface */
  3037. typedef struct Connection15Vtbl
  3038. {
  3039. BEGIN_INTERFACE
  3040. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3041. Connection15 * This,
  3042. /* [in] */ REFIID riid,
  3043. /* [iid_is][out] */ void **ppvObject);
  3044. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3045. Connection15 * This);
  3046. ULONG ( STDMETHODCALLTYPE *Release )(
  3047. Connection15 * This);
  3048. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  3049. Connection15 * This,
  3050. /* [out] */ UINT *pctinfo);
  3051. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  3052. Connection15 * This,
  3053. /* [in] */ UINT iTInfo,
  3054. /* [in] */ LCID lcid,
  3055. /* [out] */ ITypeInfo **ppTInfo);
  3056. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  3057. Connection15 * This,
  3058. /* [in] */ REFIID riid,
  3059. /* [size_is][in] */ LPOLESTR *rgszNames,
  3060. /* [in] */ UINT cNames,
  3061. /* [in] */ LCID lcid,
  3062. /* [size_is][out] */ DISPID *rgDispId);
  3063. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  3064. Connection15 * This,
  3065. /* [in] */ DISPID dispIdMember,
  3066. /* [in] */ REFIID riid,
  3067. /* [in] */ LCID lcid,
  3068. /* [in] */ WORD wFlags,
  3069. /* [out][in] */ DISPPARAMS *pDispParams,
  3070. /* [out] */ VARIANT *pVarResult,
  3071. /* [out] */ EXCEPINFO *pExcepInfo,
  3072. /* [out] */ UINT *puArgErr);
  3073. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Properties )(
  3074. Connection15 * This,
  3075. /* [retval][out] */ ADOProperties **ppvObject);
  3076. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ConnectionString )(
  3077. Connection15 * This,
  3078. /* [retval][out] */ BSTR *pbstr);
  3079. /* [helpcontext][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ConnectionString )(
  3080. Connection15 * This,
  3081. /* [in] */ BSTR bstr);
  3082. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CommandTimeout )(
  3083. Connection15 * This,
  3084. /* [retval][out] */ LONG *plTimeout);
  3085. /* [helpcontext][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CommandTimeout )(
  3086. Connection15 * This,
  3087. /* [in] */ LONG lTimeout);
  3088. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ConnectionTimeout )(
  3089. Connection15 * This,
  3090. /* [retval][out] */ LONG *plTimeout);
  3091. /* [helpcontext][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ConnectionTimeout )(
  3092. Connection15 * This,
  3093. /* [in] */ LONG lTimeout);
  3094. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Version )(
  3095. Connection15 * This,
  3096. /* [retval][out] */ BSTR *pbstr);
  3097. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Close )(
  3098. Connection15 * This);
  3099. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Execute )(
  3100. Connection15 * This,
  3101. /* [in] */ BSTR CommandText,
  3102. /* [optional][out] */ VARIANT *RecordsAffected,
  3103. /* [defaultvalue][in] */ long Options,
  3104. /* [retval][out] */ _ADORecordset **ppiRset);
  3105. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *BeginTrans )(
  3106. Connection15 * This,
  3107. /* [retval][out] */ long *TransactionLevel);
  3108. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *CommitTrans )(
  3109. Connection15 * This);
  3110. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *RollbackTrans )(
  3111. Connection15 * This);
  3112. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Open )(
  3113. Connection15 * This,
  3114. /* [defaultvalue][in] */ BSTR ConnectionString,
  3115. /* [defaultvalue][in] */ BSTR UserID,
  3116. /* [defaultvalue][in] */ BSTR Password,
  3117. /* [defaultvalue][in] */ long Options);
  3118. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Errors )(
  3119. Connection15 * This,
  3120. /* [retval][out] */ ADOErrors **ppvObject);
  3121. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DefaultDatabase )(
  3122. Connection15 * This,
  3123. /* [retval][out] */ BSTR *pbstr);
  3124. /* [helpcontext][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DefaultDatabase )(
  3125. Connection15 * This,
  3126. /* [in] */ BSTR bstr);
  3127. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsolationLevel )(
  3128. Connection15 * This,
  3129. /* [retval][out] */ IsolationLevelEnum *Level);
  3130. /* [helpcontext][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_IsolationLevel )(
  3131. Connection15 * This,
  3132. /* [in] */ IsolationLevelEnum Level);
  3133. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Attributes )(
  3134. Connection15 * This,
  3135. /* [retval][out] */ long *plAttr);
  3136. /* [helpcontext][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Attributes )(
  3137. Connection15 * This,
  3138. /* [in] */ long lAttr);
  3139. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CursorLocation )(
  3140. Connection15 * This,
  3141. /* [retval][out] */ CursorLocationEnum *plCursorLoc);
  3142. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CursorLocation )(
  3143. Connection15 * This,
  3144. /* [in] */ CursorLocationEnum lCursorLoc);
  3145. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Mode )(
  3146. Connection15 * This,
  3147. /* [retval][out] */ ConnectModeEnum *plMode);
  3148. /* [helpcontext][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Mode )(
  3149. Connection15 * This,
  3150. /* [in] */ ConnectModeEnum lMode);
  3151. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Provider )(
  3152. Connection15 * This,
  3153. /* [retval][out] */ BSTR *pbstr);
  3154. /* [helpcontext][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Provider )(
  3155. Connection15 * This,
  3156. /* [in] */ BSTR Provider);
  3157. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_State )(
  3158. Connection15 * This,
  3159. /* [retval][out] */ LONG *plObjState);
  3160. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *OpenSchema )(
  3161. Connection15 * This,
  3162. /* [in] */ SchemaEnum Schema,
  3163. /* [optional][in] */ VARIANT Restrictions,
  3164. /* [optional][in] */ VARIANT SchemaID,
  3165. /* [retval][out] */ _ADORecordset **pprset);
  3166. END_INTERFACE
  3167. } Connection15Vtbl;
  3168. interface Connection15
  3169. {
  3170. CONST_VTBL struct Connection15Vtbl *lpVtbl;
  3171. };
  3172. #ifdef COBJMACROS
  3173. #define Connection15_QueryInterface(This,riid,ppvObject) \
  3174. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3175. #define Connection15_AddRef(This) \
  3176. (This)->lpVtbl -> AddRef(This)
  3177. #define Connection15_Release(This) \
  3178. (This)->lpVtbl -> Release(This)
  3179. #define Connection15_GetTypeInfoCount(This,pctinfo) \
  3180. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3181. #define Connection15_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3182. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3183. #define Connection15_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3184. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3185. #define Connection15_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3186. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3187. #define Connection15_get_Properties(This,ppvObject) \
  3188. (This)->lpVtbl -> get_Properties(This,ppvObject)
  3189. #define Connection15_get_ConnectionString(This,pbstr) \
  3190. (This)->lpVtbl -> get_ConnectionString(This,pbstr)
  3191. #define Connection15_put_ConnectionString(This,bstr) \
  3192. (This)->lpVtbl -> put_ConnectionString(This,bstr)
  3193. #define Connection15_get_CommandTimeout(This,plTimeout) \
  3194. (This)->lpVtbl -> get_CommandTimeout(This,plTimeout)
  3195. #define Connection15_put_CommandTimeout(This,lTimeout) \
  3196. (This)->lpVtbl -> put_CommandTimeout(This,lTimeout)
  3197. #define Connection15_get_ConnectionTimeout(This,plTimeout) \
  3198. (This)->lpVtbl -> get_ConnectionTimeout(This,plTimeout)
  3199. #define Connection15_put_ConnectionTimeout(This,lTimeout) \
  3200. (This)->lpVtbl -> put_ConnectionTimeout(This,lTimeout)
  3201. #define Connection15_get_Version(This,pbstr) \
  3202. (This)->lpVtbl -> get_Version(This,pbstr)
  3203. #define Connection15_Close(This) \
  3204. (This)->lpVtbl -> Close(This)
  3205. #define Connection15_Execute(This,CommandText,RecordsAffected,Options,ppiRset) \
  3206. (This)->lpVtbl -> Execute(This,CommandText,RecordsAffected,Options,ppiRset)
  3207. #define Connection15_BeginTrans(This,TransactionLevel) \
  3208. (This)->lpVtbl -> BeginTrans(This,TransactionLevel)
  3209. #define Connection15_CommitTrans(This) \
  3210. (This)->lpVtbl -> CommitTrans(This)
  3211. #define Connection15_RollbackTrans(This) \
  3212. (This)->lpVtbl -> RollbackTrans(This)
  3213. #define Connection15_Open(This,ConnectionString,UserID,Password,Options) \
  3214. (This)->lpVtbl -> Open(This,ConnectionString,UserID,Password,Options)
  3215. #define Connection15_get_Errors(This,ppvObject) \
  3216. (This)->lpVtbl -> get_Errors(This,ppvObject)
  3217. #define Connection15_get_DefaultDatabase(This,pbstr) \
  3218. (This)->lpVtbl -> get_DefaultDatabase(This,pbstr)
  3219. #define Connection15_put_DefaultDatabase(This,bstr) \
  3220. (This)->lpVtbl -> put_DefaultDatabase(This,bstr)
  3221. #define Connection15_get_IsolationLevel(This,Level) \
  3222. (This)->lpVtbl -> get_IsolationLevel(This,Level)
  3223. #define Connection15_put_IsolationLevel(This,Level) \
  3224. (This)->lpVtbl -> put_IsolationLevel(This,Level)
  3225. #define Connection15_get_Attributes(This,plAttr) \
  3226. (This)->lpVtbl -> get_Attributes(This,plAttr)
  3227. #define Connection15_put_Attributes(This,lAttr) \
  3228. (This)->lpVtbl -> put_Attributes(This,lAttr)
  3229. #define Connection15_get_CursorLocation(This,plCursorLoc) \
  3230. (This)->lpVtbl -> get_CursorLocation(This,plCursorLoc)
  3231. #define Connection15_put_CursorLocation(This,lCursorLoc) \
  3232. (This)->lpVtbl -> put_CursorLocation(This,lCursorLoc)
  3233. #define Connection15_get_Mode(This,plMode) \
  3234. (This)->lpVtbl -> get_Mode(This,plMode)
  3235. #define Connection15_put_Mode(This,lMode) \
  3236. (This)->lpVtbl -> put_Mode(This,lMode)
  3237. #define Connection15_get_Provider(This,pbstr) \
  3238. (This)->lpVtbl -> get_Provider(This,pbstr)
  3239. #define Connection15_put_Provider(This,Provider) \
  3240. (This)->lpVtbl -> put_Provider(This,Provider)
  3241. #define Connection15_get_State(This,plObjState) \
  3242. (This)->lpVtbl -> get_State(This,plObjState)
  3243. #define Connection15_OpenSchema(This,Schema,Restrictions,SchemaID,pprset) \
  3244. (This)->lpVtbl -> OpenSchema(This,Schema,Restrictions,SchemaID,pprset)
  3245. #endif /* COBJMACROS */
  3246. #endif /* C style interface */
  3247. /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE Connection15_get_ConnectionString_Proxy(
  3248. Connection15 * This,
  3249. /* [retval][out] */ BSTR *pbstr);
  3250. void __RPC_STUB Connection15_get_ConnectionString_Stub(
  3251. IRpcStubBuffer *This,
  3252. IRpcChannelBuffer *_pRpcChannelBuffer,
  3253. PRPC_MESSAGE _pRpcMessage,
  3254. DWORD *_pdwStubPhase);
  3255. /* [helpcontext][id][propput] */ HRESULT STDMETHODCALLTYPE Connection15_put_ConnectionString_Proxy(
  3256. Connection15 * This,
  3257. /* [in] */ BSTR bstr);
  3258. void __RPC_STUB Connection15_put_ConnectionString_Stub(
  3259. IRpcStubBuffer *This,
  3260. IRpcChannelBuffer *_pRpcChannelBuffer,
  3261. PRPC_MESSAGE _pRpcMessage,
  3262. DWORD *_pdwStubPhase);
  3263. /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE Connection15_get_CommandTimeout_Proxy(
  3264. Connection15 * This,
  3265. /* [retval][out] */ LONG *plTimeout);
  3266. void __RPC_STUB Connection15_get_CommandTimeout_Stub(
  3267. IRpcStubBuffer *This,
  3268. IRpcChannelBuffer *_pRpcChannelBuffer,
  3269. PRPC_MESSAGE _pRpcMessage,
  3270. DWORD *_pdwStubPhase);
  3271. /* [helpcontext][id][propput] */ HRESULT STDMETHODCALLTYPE Connection15_put_CommandTimeout_Proxy(
  3272. Connection15 * This,
  3273. /* [in] */ LONG lTimeout);
  3274. void __RPC_STUB Connection15_put_CommandTimeout_Stub(
  3275. IRpcStubBuffer *This,
  3276. IRpcChannelBuffer *_pRpcChannelBuffer,
  3277. PRPC_MESSAGE _pRpcMessage,
  3278. DWORD *_pdwStubPhase);
  3279. /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE Connection15_get_ConnectionTimeout_Proxy(
  3280. Connection15 * This,
  3281. /* [retval][out] */ LONG *plTimeout);
  3282. void __RPC_STUB Connection15_get_ConnectionTimeout_Stub(
  3283. IRpcStubBuffer *This,
  3284. IRpcChannelBuffer *_pRpcChannelBuffer,
  3285. PRPC_MESSAGE _pRpcMessage,
  3286. DWORD *_pdwStubPhase);
  3287. /* [helpcontext][id][propput] */ HRESULT STDMETHODCALLTYPE Connection15_put_ConnectionTimeout_Proxy(
  3288. Connection15 * This,
  3289. /* [in] */ LONG lTimeout);
  3290. void __RPC_STUB Connection15_put_ConnectionTimeout_Stub(
  3291. IRpcStubBuffer *This,
  3292. IRpcChannelBuffer *_pRpcChannelBuffer,
  3293. PRPC_MESSAGE _pRpcMessage,
  3294. DWORD *_pdwStubPhase);
  3295. /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE Connection15_get_Version_Proxy(
  3296. Connection15 * This,
  3297. /* [retval][out] */ BSTR *pbstr);
  3298. void __RPC_STUB Connection15_get_Version_Stub(
  3299. IRpcStubBuffer *This,
  3300. IRpcChannelBuffer *_pRpcChannelBuffer,
  3301. PRPC_MESSAGE _pRpcMessage,
  3302. DWORD *_pdwStubPhase);
  3303. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Connection15_Close_Proxy(
  3304. Connection15 * This);
  3305. void __RPC_STUB Connection15_Close_Stub(
  3306. IRpcStubBuffer *This,
  3307. IRpcChannelBuffer *_pRpcChannelBuffer,
  3308. PRPC_MESSAGE _pRpcMessage,
  3309. DWORD *_pdwStubPhase);
  3310. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Connection15_Execute_Proxy(
  3311. Connection15 * This,
  3312. /* [in] */ BSTR CommandText,
  3313. /* [optional][out] */ VARIANT *RecordsAffected,
  3314. /* [defaultvalue][in] */ long Options,
  3315. /* [retval][out] */ _ADORecordset **ppiRset);
  3316. void __RPC_STUB Connection15_Execute_Stub(
  3317. IRpcStubBuffer *This,
  3318. IRpcChannelBuffer *_pRpcChannelBuffer,
  3319. PRPC_MESSAGE _pRpcMessage,
  3320. DWORD *_pdwStubPhase);
  3321. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Connection15_BeginTrans_Proxy(
  3322. Connection15 * This,
  3323. /* [retval][out] */ long *TransactionLevel);
  3324. void __RPC_STUB Connection15_BeginTrans_Stub(
  3325. IRpcStubBuffer *This,
  3326. IRpcChannelBuffer *_pRpcChannelBuffer,
  3327. PRPC_MESSAGE _pRpcMessage,
  3328. DWORD *_pdwStubPhase);
  3329. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Connection15_CommitTrans_Proxy(
  3330. Connection15 * This);
  3331. void __RPC_STUB Connection15_CommitTrans_Stub(
  3332. IRpcStubBuffer *This,
  3333. IRpcChannelBuffer *_pRpcChannelBuffer,
  3334. PRPC_MESSAGE _pRpcMessage,
  3335. DWORD *_pdwStubPhase);
  3336. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Connection15_RollbackTrans_Proxy(
  3337. Connection15 * This);
  3338. void __RPC_STUB Connection15_RollbackTrans_Stub(
  3339. IRpcStubBuffer *This,
  3340. IRpcChannelBuffer *_pRpcChannelBuffer,
  3341. PRPC_MESSAGE _pRpcMessage,
  3342. DWORD *_pdwStubPhase);
  3343. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Connection15_Open_Proxy(
  3344. Connection15 * This,
  3345. /* [defaultvalue][in] */ BSTR ConnectionString,
  3346. /* [defaultvalue][in] */ BSTR UserID,
  3347. /* [defaultvalue][in] */ BSTR Password,
  3348. /* [defaultvalue][in] */ long Options);
  3349. void __RPC_STUB Connection15_Open_Stub(
  3350. IRpcStubBuffer *This,
  3351. IRpcChannelBuffer *_pRpcChannelBuffer,
  3352. PRPC_MESSAGE _pRpcMessage,
  3353. DWORD *_pdwStubPhase);
  3354. /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE Connection15_get_Errors_Proxy(
  3355. Connection15 * This,
  3356. /* [retval][out] */ ADOErrors **ppvObject);
  3357. void __RPC_STUB Connection15_get_Errors_Stub(
  3358. IRpcStubBuffer *This,
  3359. IRpcChannelBuffer *_pRpcChannelBuffer,
  3360. PRPC_MESSAGE _pRpcMessage,
  3361. DWORD *_pdwStubPhase);
  3362. /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE Connection15_get_DefaultDatabase_Proxy(
  3363. Connection15 * This,
  3364. /* [retval][out] */ BSTR *pbstr);
  3365. void __RPC_STUB Connection15_get_DefaultDatabase_Stub(
  3366. IRpcStubBuffer *This,
  3367. IRpcChannelBuffer *_pRpcChannelBuffer,
  3368. PRPC_MESSAGE _pRpcMessage,
  3369. DWORD *_pdwStubPhase);
  3370. /* [helpcontext][id][propput] */ HRESULT STDMETHODCALLTYPE Connection15_put_DefaultDatabase_Proxy(
  3371. Connection15 * This,
  3372. /* [in] */ BSTR bstr);
  3373. void __RPC_STUB Connection15_put_DefaultDatabase_Stub(
  3374. IRpcStubBuffer *This,
  3375. IRpcChannelBuffer *_pRpcChannelBuffer,
  3376. PRPC_MESSAGE _pRpcMessage,
  3377. DWORD *_pdwStubPhase);
  3378. /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE Connection15_get_IsolationLevel_Proxy(
  3379. Connection15 * This,
  3380. /* [retval][out] */ IsolationLevelEnum *Level);
  3381. void __RPC_STUB Connection15_get_IsolationLevel_Stub(
  3382. IRpcStubBuffer *This,
  3383. IRpcChannelBuffer *_pRpcChannelBuffer,
  3384. PRPC_MESSAGE _pRpcMessage,
  3385. DWORD *_pdwStubPhase);
  3386. /* [helpcontext][id][propput] */ HRESULT STDMETHODCALLTYPE Connection15_put_IsolationLevel_Proxy(
  3387. Connection15 * This,
  3388. /* [in] */ IsolationLevelEnum Level);
  3389. void __RPC_STUB Connection15_put_IsolationLevel_Stub(
  3390. IRpcStubBuffer *This,
  3391. IRpcChannelBuffer *_pRpcChannelBuffer,
  3392. PRPC_MESSAGE _pRpcMessage,
  3393. DWORD *_pdwStubPhase);
  3394. /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE Connection15_get_Attributes_Proxy(
  3395. Connection15 * This,
  3396. /* [retval][out] */ long *plAttr);
  3397. void __RPC_STUB Connection15_get_Attributes_Stub(
  3398. IRpcStubBuffer *This,
  3399. IRpcChannelBuffer *_pRpcChannelBuffer,
  3400. PRPC_MESSAGE _pRpcMessage,
  3401. DWORD *_pdwStubPhase);
  3402. /* [helpcontext][id][propput] */ HRESULT STDMETHODCALLTYPE Connection15_put_Attributes_Proxy(
  3403. Connection15 * This,
  3404. /* [in] */ long lAttr);
  3405. void __RPC_STUB Connection15_put_Attributes_Stub(
  3406. IRpcStubBuffer *This,
  3407. IRpcChannelBuffer *_pRpcChannelBuffer,
  3408. PRPC_MESSAGE _pRpcMessage,
  3409. DWORD *_pdwStubPhase);
  3410. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Connection15_get_CursorLocation_Proxy(
  3411. Connection15 * This,
  3412. /* [retval][out] */ CursorLocationEnum *plCursorLoc);
  3413. void __RPC_STUB Connection15_get_CursorLocation_Stub(
  3414. IRpcStubBuffer *This,
  3415. IRpcChannelBuffer *_pRpcChannelBuffer,
  3416. PRPC_MESSAGE _pRpcMessage,
  3417. DWORD *_pdwStubPhase);
  3418. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Connection15_put_CursorLocation_Proxy(
  3419. Connection15 * This,
  3420. /* [in] */ CursorLocationEnum lCursorLoc);
  3421. void __RPC_STUB Connection15_put_CursorLocation_Stub(
  3422. IRpcStubBuffer *This,
  3423. IRpcChannelBuffer *_pRpcChannelBuffer,
  3424. PRPC_MESSAGE _pRpcMessage,
  3425. DWORD *_pdwStubPhase);
  3426. /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE Connection15_get_Mode_Proxy(
  3427. Connection15 * This,
  3428. /* [retval][out] */ ConnectModeEnum *plMode);
  3429. void __RPC_STUB Connection15_get_Mode_Stub(
  3430. IRpcStubBuffer *This,
  3431. IRpcChannelBuffer *_pRpcChannelBuffer,
  3432. PRPC_MESSAGE _pRpcMessage,
  3433. DWORD *_pdwStubPhase);
  3434. /* [helpcontext][id][propput] */ HRESULT STDMETHODCALLTYPE Connection15_put_Mode_Proxy(
  3435. Connection15 * This,
  3436. /* [in] */ ConnectModeEnum lMode);
  3437. void __RPC_STUB Connection15_put_Mode_Stub(
  3438. IRpcStubBuffer *This,
  3439. IRpcChannelBuffer *_pRpcChannelBuffer,
  3440. PRPC_MESSAGE _pRpcMessage,
  3441. DWORD *_pdwStubPhase);
  3442. /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE Connection15_get_Provider_Proxy(
  3443. Connection15 * This,
  3444. /* [retval][out] */ BSTR *pbstr);
  3445. void __RPC_STUB Connection15_get_Provider_Stub(
  3446. IRpcStubBuffer *This,
  3447. IRpcChannelBuffer *_pRpcChannelBuffer,
  3448. PRPC_MESSAGE _pRpcMessage,
  3449. DWORD *_pdwStubPhase);
  3450. /* [helpcontext][id][propput] */ HRESULT STDMETHODCALLTYPE Connection15_put_Provider_Proxy(
  3451. Connection15 * This,
  3452. /* [in] */ BSTR Provider);
  3453. void __RPC_STUB Connection15_put_Provider_Stub(
  3454. IRpcStubBuffer *This,
  3455. IRpcChannelBuffer *_pRpcChannelBuffer,
  3456. PRPC_MESSAGE _pRpcMessage,
  3457. DWORD *_pdwStubPhase);
  3458. /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE Connection15_get_State_Proxy(
  3459. Connection15 * This,
  3460. /* [retval][out] */ LONG *plObjState);
  3461. void __RPC_STUB Connection15_get_State_Stub(
  3462. IRpcStubBuffer *This,
  3463. IRpcChannelBuffer *_pRpcChannelBuffer,
  3464. PRPC_MESSAGE _pRpcMessage,
  3465. DWORD *_pdwStubPhase);
  3466. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Connection15_OpenSchema_Proxy(
  3467. Connection15 * This,
  3468. /* [in] */ SchemaEnum Schema,
  3469. /* [optional][in] */ VARIANT Restrictions,
  3470. /* [optional][in] */ VARIANT SchemaID,
  3471. /* [retval][out] */ _ADORecordset **pprset);
  3472. void __RPC_STUB Connection15_OpenSchema_Stub(
  3473. IRpcStubBuffer *This,
  3474. IRpcChannelBuffer *_pRpcChannelBuffer,
  3475. PRPC_MESSAGE _pRpcMessage,
  3476. DWORD *_pdwStubPhase);
  3477. #endif /* __Connection15_INTERFACE_DEFINED__ */
  3478. #ifndef ___Connection_INTERFACE_DEFINED__
  3479. #define ___Connection_INTERFACE_DEFINED__
  3480. /* interface _ADOConnection */
  3481. /* [object][helpcontext][uuid][dual] */
  3482. EXTERN_C const IID IID__Connection;
  3483. #if defined(__cplusplus) && !defined(CINTERFACE)
  3484. MIDL_INTERFACE("00000550-0000-0010-8000-00AA006D2EA4")
  3485. _ADOConnection : public Connection15
  3486. {
  3487. public:
  3488. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Cancel( void) = 0;
  3489. };
  3490. #else /* C style interface */
  3491. typedef struct _ConnectionVtbl
  3492. {
  3493. BEGIN_INTERFACE
  3494. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3495. _ADOConnection * This,
  3496. /* [in] */ REFIID riid,
  3497. /* [iid_is][out] */ void **ppvObject);
  3498. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3499. _ADOConnection * This);
  3500. ULONG ( STDMETHODCALLTYPE *Release )(
  3501. _ADOConnection * This);
  3502. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  3503. _ADOConnection * This,
  3504. /* [out] */ UINT *pctinfo);
  3505. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  3506. _ADOConnection * This,
  3507. /* [in] */ UINT iTInfo,
  3508. /* [in] */ LCID lcid,
  3509. /* [out] */ ITypeInfo **ppTInfo);
  3510. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  3511. _ADOConnection * This,
  3512. /* [in] */ REFIID riid,
  3513. /* [size_is][in] */ LPOLESTR *rgszNames,
  3514. /* [in] */ UINT cNames,
  3515. /* [in] */ LCID lcid,
  3516. /* [size_is][out] */ DISPID *rgDispId);
  3517. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  3518. _ADOConnection * This,
  3519. /* [in] */ DISPID dispIdMember,
  3520. /* [in] */ REFIID riid,
  3521. /* [in] */ LCID lcid,
  3522. /* [in] */ WORD wFlags,
  3523. /* [out][in] */ DISPPARAMS *pDispParams,
  3524. /* [out] */ VARIANT *pVarResult,
  3525. /* [out] */ EXCEPINFO *pExcepInfo,
  3526. /* [out] */ UINT *puArgErr);
  3527. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Properties )(
  3528. _ADOConnection * This,
  3529. /* [retval][out] */ ADOProperties **ppvObject);
  3530. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ConnectionString )(
  3531. _ADOConnection * This,
  3532. /* [retval][out] */ BSTR *pbstr);
  3533. /* [helpcontext][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ConnectionString )(
  3534. _ADOConnection * This,
  3535. /* [in] */ BSTR bstr);
  3536. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CommandTimeout )(
  3537. _ADOConnection * This,
  3538. /* [retval][out] */ LONG *plTimeout);
  3539. /* [helpcontext][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CommandTimeout )(
  3540. _ADOConnection * This,
  3541. /* [in] */ LONG lTimeout);
  3542. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ConnectionTimeout )(
  3543. _ADOConnection * This,
  3544. /* [retval][out] */ LONG *plTimeout);
  3545. /* [helpcontext][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ConnectionTimeout )(
  3546. _ADOConnection * This,
  3547. /* [in] */ LONG lTimeout);
  3548. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Version )(
  3549. _ADOConnection * This,
  3550. /* [retval][out] */ BSTR *pbstr);
  3551. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Close )(
  3552. _ADOConnection * This);
  3553. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Execute )(
  3554. _ADOConnection * This,
  3555. /* [in] */ BSTR CommandText,
  3556. /* [optional][out] */ VARIANT *RecordsAffected,
  3557. /* [defaultvalue][in] */ long Options,
  3558. /* [retval][out] */ _ADORecordset **ppiRset);
  3559. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *BeginTrans )(
  3560. _ADOConnection * This,
  3561. /* [retval][out] */ long *TransactionLevel);
  3562. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *CommitTrans )(
  3563. _ADOConnection * This);
  3564. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *RollbackTrans )(
  3565. _ADOConnection * This);
  3566. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Open )(
  3567. _ADOConnection * This,
  3568. /* [defaultvalue][in] */ BSTR ConnectionString,
  3569. /* [defaultvalue][in] */ BSTR UserID,
  3570. /* [defaultvalue][in] */ BSTR Password,
  3571. /* [defaultvalue][in] */ long Options);
  3572. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Errors )(
  3573. _ADOConnection * This,
  3574. /* [retval][out] */ ADOErrors **ppvObject);
  3575. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DefaultDatabase )(
  3576. _ADOConnection * This,
  3577. /* [retval][out] */ BSTR *pbstr);
  3578. /* [helpcontext][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DefaultDatabase )(
  3579. _ADOConnection * This,
  3580. /* [in] */ BSTR bstr);
  3581. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsolationLevel )(
  3582. _ADOConnection * This,
  3583. /* [retval][out] */ IsolationLevelEnum *Level);
  3584. /* [helpcontext][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_IsolationLevel )(
  3585. _ADOConnection * This,
  3586. /* [in] */ IsolationLevelEnum Level);
  3587. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Attributes )(
  3588. _ADOConnection * This,
  3589. /* [retval][out] */ long *plAttr);
  3590. /* [helpcontext][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Attributes )(
  3591. _ADOConnection * This,
  3592. /* [in] */ long lAttr);
  3593. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CursorLocation )(
  3594. _ADOConnection * This,
  3595. /* [retval][out] */ CursorLocationEnum *plCursorLoc);
  3596. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CursorLocation )(
  3597. _ADOConnection * This,
  3598. /* [in] */ CursorLocationEnum lCursorLoc);
  3599. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Mode )(
  3600. _ADOConnection * This,
  3601. /* [retval][out] */ ConnectModeEnum *plMode);
  3602. /* [helpcontext][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Mode )(
  3603. _ADOConnection * This,
  3604. /* [in] */ ConnectModeEnum lMode);
  3605. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Provider )(
  3606. _ADOConnection * This,
  3607. /* [retval][out] */ BSTR *pbstr);
  3608. /* [helpcontext][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Provider )(
  3609. _ADOConnection * This,
  3610. /* [in] */ BSTR Provider);
  3611. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_State )(
  3612. _ADOConnection * This,
  3613. /* [retval][out] */ LONG *plObjState);
  3614. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *OpenSchema )(
  3615. _ADOConnection * This,
  3616. /* [in] */ SchemaEnum Schema,
  3617. /* [optional][in] */ VARIANT Restrictions,
  3618. /* [optional][in] */ VARIANT SchemaID,
  3619. /* [retval][out] */ _ADORecordset **pprset);
  3620. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Cancel )(
  3621. _ADOConnection * This);
  3622. END_INTERFACE
  3623. } _ConnectionVtbl;
  3624. interface _Connection
  3625. {
  3626. CONST_VTBL struct _ConnectionVtbl *lpVtbl;
  3627. };
  3628. #ifdef COBJMACROS
  3629. #define _Connection_QueryInterface(This,riid,ppvObject) \
  3630. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3631. #define _Connection_AddRef(This) \
  3632. (This)->lpVtbl -> AddRef(This)
  3633. #define _Connection_Release(This) \
  3634. (This)->lpVtbl -> Release(This)
  3635. #define _Connection_GetTypeInfoCount(This,pctinfo) \
  3636. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3637. #define _Connection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3638. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3639. #define _Connection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3640. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3641. #define _Connection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3642. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3643. #define _Connection_get_Properties(This,ppvObject) \
  3644. (This)->lpVtbl -> get_Properties(This,ppvObject)
  3645. #define _Connection_get_ConnectionString(This,pbstr) \
  3646. (This)->lpVtbl -> get_ConnectionString(This,pbstr)
  3647. #define _Connection_put_ConnectionString(This,bstr) \
  3648. (This)->lpVtbl -> put_ConnectionString(This,bstr)
  3649. #define _Connection_get_CommandTimeout(This,plTimeout) \
  3650. (This)->lpVtbl -> get_CommandTimeout(This,plTimeout)
  3651. #define _Connection_put_CommandTimeout(This,lTimeout) \
  3652. (This)->lpVtbl -> put_CommandTimeout(This,lTimeout)
  3653. #define _Connection_get_ConnectionTimeout(This,plTimeout) \
  3654. (This)->lpVtbl -> get_ConnectionTimeout(This,plTimeout)
  3655. #define _Connection_put_ConnectionTimeout(This,lTimeout) \
  3656. (This)->lpVtbl -> put_ConnectionTimeout(This,lTimeout)
  3657. #define _Connection_get_Version(This,pbstr) \
  3658. (This)->lpVtbl -> get_Version(This,pbstr)
  3659. #define _Connection_Close(This) \
  3660. (This)->lpVtbl -> Close(This)
  3661. #define _Connection_Execute(This,CommandText,RecordsAffected,Options,ppiRset) \
  3662. (This)->lpVtbl -> Execute(This,CommandText,RecordsAffected,Options,ppiRset)
  3663. #define _Connection_BeginTrans(This,TransactionLevel) \
  3664. (This)->lpVtbl -> BeginTrans(This,TransactionLevel)
  3665. #define _Connection_CommitTrans(This) \
  3666. (This)->lpVtbl -> CommitTrans(This)
  3667. #define _Connection_RollbackTrans(This) \
  3668. (This)->lpVtbl -> RollbackTrans(This)
  3669. #define _Connection_Open(This,ConnectionString,UserID,Password,Options) \
  3670. (This)->lpVtbl -> Open(This,ConnectionString,UserID,Password,Options)
  3671. #define _Connection_get_Errors(This,ppvObject) \
  3672. (This)->lpVtbl -> get_Errors(This,ppvObject)
  3673. #define _Connection_get_DefaultDatabase(This,pbstr) \
  3674. (This)->lpVtbl -> get_DefaultDatabase(This,pbstr)
  3675. #define _Connection_put_DefaultDatabase(This,bstr) \
  3676. (This)->lpVtbl -> put_DefaultDatabase(This,bstr)
  3677. #define _Connection_get_IsolationLevel(This,Level) \
  3678. (This)->lpVtbl -> get_IsolationLevel(This,Level)
  3679. #define _Connection_put_IsolationLevel(This,Level) \
  3680. (This)->lpVtbl -> put_IsolationLevel(This,Level)
  3681. #define _Connection_get_Attributes(This,plAttr) \
  3682. (This)->lpVtbl -> get_Attributes(This,plAttr)
  3683. #define _Connection_put_Attributes(This,lAttr) \
  3684. (This)->lpVtbl -> put_Attributes(This,lAttr)
  3685. #define _Connection_get_CursorLocation(This,plCursorLoc) \
  3686. (This)->lpVtbl -> get_CursorLocation(This,plCursorLoc)
  3687. #define _Connection_put_CursorLocation(This,lCursorLoc) \
  3688. (This)->lpVtbl -> put_CursorLocation(This,lCursorLoc)
  3689. #define _Connection_get_Mode(This,plMode) \
  3690. (This)->lpVtbl -> get_Mode(This,plMode)
  3691. #define _Connection_put_Mode(This,lMode) \
  3692. (This)->lpVtbl -> put_Mode(This,lMode)
  3693. #define _Connection_get_Provider(This,pbstr) \
  3694. (This)->lpVtbl -> get_Provider(This,pbstr)
  3695. #define _Connection_put_Provider(This,Provider) \
  3696. (This)->lpVtbl -> put_Provider(This,Provider)
  3697. #define _Connection_get_State(This,plObjState) \
  3698. (This)->lpVtbl -> get_State(This,plObjState)
  3699. #define _Connection_OpenSchema(This,Schema,Restrictions,SchemaID,pprset) \
  3700. (This)->lpVtbl -> OpenSchema(This,Schema,Restrictions,SchemaID,pprset)
  3701. #define _Connection_Cancel(This) \
  3702. (This)->lpVtbl -> Cancel(This)
  3703. #endif /* COBJMACROS */
  3704. #endif /* C style interface */
  3705. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE _Connection_Cancel_Proxy(
  3706. _ADOConnection * This);
  3707. void __RPC_STUB _Connection_Cancel_Stub(
  3708. IRpcStubBuffer *This,
  3709. IRpcChannelBuffer *_pRpcChannelBuffer,
  3710. PRPC_MESSAGE _pRpcMessage,
  3711. DWORD *_pdwStubPhase);
  3712. #endif /* ___Connection_INTERFACE_DEFINED__ */
  3713. #ifndef __ADOConnectionConstruction15_INTERFACE_DEFINED__
  3714. #define __ADOConnectionConstruction15_INTERFACE_DEFINED__
  3715. /* interface ADOConnectionConstruction15 */
  3716. /* [object][uuid][restricted] */
  3717. EXTERN_C const IID IID_ADOConnectionConstruction15;
  3718. #if defined(__cplusplus) && !defined(CINTERFACE)
  3719. MIDL_INTERFACE("00000516-0000-0010-8000-00AA006D2EA4")
  3720. ADOConnectionConstruction15 : public IUnknown
  3721. {
  3722. public:
  3723. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_DSO(
  3724. /* [retval][out] */ IUnknown **ppDSO) = 0;
  3725. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Session(
  3726. /* [retval][out] */ IUnknown **ppSession) = 0;
  3727. virtual HRESULT STDMETHODCALLTYPE WrapDSOandSession(
  3728. /* [in] */ IUnknown *pDSO,
  3729. /* [in] */ IUnknown *pSession) = 0;
  3730. };
  3731. #else /* C style interface */
  3732. typedef struct ADOConnectionConstruction15Vtbl
  3733. {
  3734. BEGIN_INTERFACE
  3735. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3736. ADOConnectionConstruction15 * This,
  3737. /* [in] */ REFIID riid,
  3738. /* [iid_is][out] */ void **ppvObject);
  3739. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3740. ADOConnectionConstruction15 * This);
  3741. ULONG ( STDMETHODCALLTYPE *Release )(
  3742. ADOConnectionConstruction15 * This);
  3743. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_DSO )(
  3744. ADOConnectionConstruction15 * This,
  3745. /* [retval][out] */ IUnknown **ppDSO);
  3746. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Session )(
  3747. ADOConnectionConstruction15 * This,
  3748. /* [retval][out] */ IUnknown **ppSession);
  3749. HRESULT ( STDMETHODCALLTYPE *WrapDSOandSession )(
  3750. ADOConnectionConstruction15 * This,
  3751. /* [in] */ IUnknown *pDSO,
  3752. /* [in] */ IUnknown *pSession);
  3753. END_INTERFACE
  3754. } ADOConnectionConstruction15Vtbl;
  3755. interface ADOConnectionConstruction15
  3756. {
  3757. CONST_VTBL struct ADOConnectionConstruction15Vtbl *lpVtbl;
  3758. };
  3759. #ifdef COBJMACROS
  3760. #define ADOConnectionConstruction15_QueryInterface(This,riid,ppvObject) \
  3761. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3762. #define ADOConnectionConstruction15_AddRef(This) \
  3763. (This)->lpVtbl -> AddRef(This)
  3764. #define ADOConnectionConstruction15_Release(This) \
  3765. (This)->lpVtbl -> Release(This)
  3766. #define ADOConnectionConstruction15_get_DSO(This,ppDSO) \
  3767. (This)->lpVtbl -> get_DSO(This,ppDSO)
  3768. #define ADOConnectionConstruction15_get_Session(This,ppSession) \
  3769. (This)->lpVtbl -> get_Session(This,ppSession)
  3770. #define ADOConnectionConstruction15_WrapDSOandSession(This,pDSO,pSession) \
  3771. (This)->lpVtbl -> WrapDSOandSession(This,pDSO,pSession)
  3772. #endif /* COBJMACROS */
  3773. #endif /* C style interface */
  3774. /* [propget] */ HRESULT STDMETHODCALLTYPE ADOConnectionConstruction15_get_DSO_Proxy(
  3775. ADOConnectionConstruction15 * This,
  3776. /* [retval][out] */ IUnknown **ppDSO);
  3777. void __RPC_STUB ADOConnectionConstruction15_get_DSO_Stub(
  3778. IRpcStubBuffer *This,
  3779. IRpcChannelBuffer *_pRpcChannelBuffer,
  3780. PRPC_MESSAGE _pRpcMessage,
  3781. DWORD *_pdwStubPhase);
  3782. /* [propget] */ HRESULT STDMETHODCALLTYPE ADOConnectionConstruction15_get_Session_Proxy(
  3783. ADOConnectionConstruction15 * This,
  3784. /* [retval][out] */ IUnknown **ppSession);
  3785. void __RPC_STUB ADOConnectionConstruction15_get_Session_Stub(
  3786. IRpcStubBuffer *This,
  3787. IRpcChannelBuffer *_pRpcChannelBuffer,
  3788. PRPC_MESSAGE _pRpcMessage,
  3789. DWORD *_pdwStubPhase);
  3790. HRESULT STDMETHODCALLTYPE ADOConnectionConstruction15_WrapDSOandSession_Proxy(
  3791. ADOConnectionConstruction15 * This,
  3792. /* [in] */ IUnknown *pDSO,
  3793. /* [in] */ IUnknown *pSession);
  3794. void __RPC_STUB ADOConnectionConstruction15_WrapDSOandSession_Stub(
  3795. IRpcStubBuffer *This,
  3796. IRpcChannelBuffer *_pRpcChannelBuffer,
  3797. PRPC_MESSAGE _pRpcMessage,
  3798. DWORD *_pdwStubPhase);
  3799. #endif /* __ADOConnectionConstruction15_INTERFACE_DEFINED__ */
  3800. #ifndef __ADOConnectionConstruction_INTERFACE_DEFINED__
  3801. #define __ADOConnectionConstruction_INTERFACE_DEFINED__
  3802. /* interface ADOConnectionConstruction */
  3803. /* [object][uuid][restricted] */
  3804. EXTERN_C const IID IID_ADOConnectionConstruction;
  3805. #if defined(__cplusplus) && !defined(CINTERFACE)
  3806. MIDL_INTERFACE("00000551-0000-0010-8000-00AA006D2EA4")
  3807. ADOConnectionConstruction : public ADOConnectionConstruction15
  3808. {
  3809. public:
  3810. };
  3811. #else /* C style interface */
  3812. typedef struct ADOConnectionConstructionVtbl
  3813. {
  3814. BEGIN_INTERFACE
  3815. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3816. ADOConnectionConstruction * This,
  3817. /* [in] */ REFIID riid,
  3818. /* [iid_is][out] */ void **ppvObject);
  3819. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3820. ADOConnectionConstruction * This);
  3821. ULONG ( STDMETHODCALLTYPE *Release )(
  3822. ADOConnectionConstruction * This);
  3823. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_DSO )(
  3824. ADOConnectionConstruction * This,
  3825. /* [retval][out] */ IUnknown **ppDSO);
  3826. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Session )(
  3827. ADOConnectionConstruction * This,
  3828. /* [retval][out] */ IUnknown **ppSession);
  3829. HRESULT ( STDMETHODCALLTYPE *WrapDSOandSession )(
  3830. ADOConnectionConstruction * This,
  3831. /* [in] */ IUnknown *pDSO,
  3832. /* [in] */ IUnknown *pSession);
  3833. END_INTERFACE
  3834. } ADOConnectionConstructionVtbl;
  3835. interface ADOConnectionConstruction
  3836. {
  3837. CONST_VTBL struct ADOConnectionConstructionVtbl *lpVtbl;
  3838. };
  3839. #ifdef COBJMACROS
  3840. #define ADOConnectionConstruction_QueryInterface(This,riid,ppvObject) \
  3841. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3842. #define ADOConnectionConstruction_AddRef(This) \
  3843. (This)->lpVtbl -> AddRef(This)
  3844. #define ADOConnectionConstruction_Release(This) \
  3845. (This)->lpVtbl -> Release(This)
  3846. #define ADOConnectionConstruction_get_DSO(This,ppDSO) \
  3847. (This)->lpVtbl -> get_DSO(This,ppDSO)
  3848. #define ADOConnectionConstruction_get_Session(This,ppSession) \
  3849. (This)->lpVtbl -> get_Session(This,ppSession)
  3850. #define ADOConnectionConstruction_WrapDSOandSession(This,pDSO,pSession) \
  3851. (This)->lpVtbl -> WrapDSOandSession(This,pDSO,pSession)
  3852. #endif /* COBJMACROS */
  3853. #endif /* C style interface */
  3854. #endif /* __ADOConnectionConstruction_INTERFACE_DEFINED__ */
  3855. EXTERN_C const CLSID CLSID_Connection;
  3856. #ifdef __cplusplus
  3857. Connection;
  3858. #endif
  3859. #ifndef ___Record_INTERFACE_DEFINED__
  3860. #define ___Record_INTERFACE_DEFINED__
  3861. /* interface _ADORecord */
  3862. /* [object][uuid][helpcontext][hidden][dual] */
  3863. EXTERN_C const IID IID__Record;
  3864. #if defined(__cplusplus) && !defined(CINTERFACE)
  3865. MIDL_INTERFACE("00000562-0000-0010-8000-00AA006D2EA4")
  3866. _ADORecord : public _ADO
  3867. {
  3868. public:
  3869. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_ActiveConnection(
  3870. /* [retval][out] */ VARIANT *pvar) = 0;
  3871. virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_ActiveConnection(
  3872. /* [in] */ BSTR bstrConn) = 0;
  3873. virtual /* [helpcontext][propputref][id] */ HRESULT STDMETHODCALLTYPE putref_ActiveConnection(
  3874. /* [in] */ _ADOConnection *Con) = 0;
  3875. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_State(
  3876. /* [retval][out] */ ObjectStateEnum *pState) = 0;
  3877. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Source(
  3878. /* [retval][out] */ VARIANT *pvar) = 0;
  3879. virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_Source(
  3880. /* [in] */ BSTR Source) = 0;
  3881. virtual /* [helpcontext][propputref][id] */ HRESULT STDMETHODCALLTYPE putref_Source(
  3882. /* [in] */ IDispatch *Source) = 0;
  3883. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Mode(
  3884. /* [retval][out] */ ConnectModeEnum *pMode) = 0;
  3885. virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_Mode(
  3886. /* [in] */ ConnectModeEnum Mode) = 0;
  3887. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_ParentURL(
  3888. /* [retval][out] */ BSTR *pbstrParentURL) = 0;
  3889. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE MoveRecord(
  3890. /* [defaultvalue][in] */ BSTR Source,
  3891. /* [defaultvalue][in] */ BSTR Destination,
  3892. /* [defaultvalue][in] */ BSTR UserName,
  3893. /* [defaultvalue][in] */ BSTR Password,
  3894. /* [defaultvalue][in] */ MoveRecordOptionsEnum Options,
  3895. /* [defaultvalue][in] */ VARIANT_BOOL Async,
  3896. /* [retval][out] */ BSTR *pbstrNewURL) = 0;
  3897. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE CopyRecord(
  3898. /* [defaultvalue][in] */ BSTR Source,
  3899. /* [defaultvalue][in] */ BSTR Destination,
  3900. /* [defaultvalue][in] */ BSTR UserName,
  3901. /* [defaultvalue][in] */ BSTR Password,
  3902. /* [defaultvalue][in] */ CopyRecordOptionsEnum Options,
  3903. /* [defaultvalue][in] */ VARIANT_BOOL Async,
  3904. /* [retval][out] */ BSTR *pbstrNewURL) = 0;
  3905. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE DeleteRecord(
  3906. /* [defaultvalue][in] */ BSTR Source = L"",
  3907. /* [defaultvalue][in] */ VARIANT_BOOL Async = 0) = 0;
  3908. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Open(
  3909. /* [optional][in] */ VARIANT Source,
  3910. /* [optional][in] */ VARIANT ActiveConnection,
  3911. /* [defaultvalue][in] */ ConnectModeEnum Mode = adModeUnknown,
  3912. /* [defaultvalue][in] */ RecordCreateOptionsEnum CreateOptions = adFailIfNotExists,
  3913. /* [defaultvalue][in] */ RecordOpenOptionsEnum Options = adOpenRecordUnspecified,
  3914. /* [defaultvalue][in] */ BSTR UserName = L"",
  3915. /* [defaultvalue][in] */ BSTR Password = L"") = 0;
  3916. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Close( void) = 0;
  3917. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Fields(
  3918. /* [retval][out] */ ADOFields **ppFlds) = 0;
  3919. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_RecordType(
  3920. /* [retval][out] */ RecordTypeEnum *pType) = 0;
  3921. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE GetChildren(
  3922. /* [retval][out] */ _ADORecordset **ppRSet) = 0;
  3923. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Cancel( void) = 0;
  3924. };
  3925. #else /* C style interface */
  3926. typedef struct _RecordVtbl
  3927. {
  3928. BEGIN_INTERFACE
  3929. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3930. _ADORecord * This,
  3931. /* [in] */ REFIID riid,
  3932. /* [iid_is][out] */ void **ppvObject);
  3933. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3934. _ADORecord * This);
  3935. ULONG ( STDMETHODCALLTYPE *Release )(
  3936. _ADORecord * This);
  3937. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  3938. _ADORecord * This,
  3939. /* [out] */ UINT *pctinfo);
  3940. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  3941. _ADORecord * This,
  3942. /* [in] */ UINT iTInfo,
  3943. /* [in] */ LCID lcid,
  3944. /* [out] */ ITypeInfo **ppTInfo);
  3945. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  3946. _ADORecord * This,
  3947. /* [in] */ REFIID riid,
  3948. /* [size_is][in] */ LPOLESTR *rgszNames,
  3949. /* [in] */ UINT cNames,
  3950. /* [in] */ LCID lcid,
  3951. /* [size_is][out] */ DISPID *rgDispId);
  3952. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  3953. _ADORecord * This,
  3954. /* [in] */ DISPID dispIdMember,
  3955. /* [in] */ REFIID riid,
  3956. /* [in] */ LCID lcid,
  3957. /* [in] */ WORD wFlags,
  3958. /* [out][in] */ DISPPARAMS *pDispParams,
  3959. /* [out] */ VARIANT *pVarResult,
  3960. /* [out] */ EXCEPINFO *pExcepInfo,
  3961. /* [out] */ UINT *puArgErr);
  3962. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Properties )(
  3963. _ADORecord * This,
  3964. /* [retval][out] */ ADOProperties **ppvObject);
  3965. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ActiveConnection )(
  3966. _ADORecord * This,
  3967. /* [retval][out] */ VARIANT *pvar);
  3968. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_ActiveConnection )(
  3969. _ADORecord * This,
  3970. /* [in] */ BSTR bstrConn);
  3971. /* [helpcontext][propputref][id] */ HRESULT ( STDMETHODCALLTYPE *putref_ActiveADOConnection )(
  3972. _ADORecord * This,
  3973. /* [in] */ _ADOConnection *Con);
  3974. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_State )(
  3975. _ADORecord * This,
  3976. /* [retval][out] */ ObjectStateEnum *pState);
  3977. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Source )(
  3978. _ADORecord * This,
  3979. /* [retval][out] */ VARIANT *pvar);
  3980. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Source )(
  3981. _ADORecord * This,
  3982. /* [in] */ BSTR Source);
  3983. /* [helpcontext][propputref][id] */ HRESULT ( STDMETHODCALLTYPE *putref_Source )(
  3984. _ADORecord * This,
  3985. /* [in] */ IDispatch *Source);
  3986. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Mode )(
  3987. _ADORecord * This,
  3988. /* [retval][out] */ ConnectModeEnum *pMode);
  3989. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Mode )(
  3990. _ADORecord * This,
  3991. /* [in] */ ConnectModeEnum Mode);
  3992. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ParentURL )(
  3993. _ADORecord * This,
  3994. /* [retval][out] */ BSTR *pbstrParentURL);
  3995. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *MoveADORecord )(
  3996. _ADORecord * This,
  3997. /* [defaultvalue][in] */ BSTR Source,
  3998. /* [defaultvalue][in] */ BSTR Destination,
  3999. /* [defaultvalue][in] */ BSTR UserName,
  4000. /* [defaultvalue][in] */ BSTR Password,
  4001. /* [defaultvalue][in] */ MoveRecordOptionsEnum Options,
  4002. /* [defaultvalue][in] */ VARIANT_BOOL Async,
  4003. /* [retval][out] */ BSTR *pbstrNewURL);
  4004. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *CopyADORecord )(
  4005. _ADORecord * This,
  4006. /* [defaultvalue][in] */ BSTR Source,
  4007. /* [defaultvalue][in] */ BSTR Destination,
  4008. /* [defaultvalue][in] */ BSTR UserName,
  4009. /* [defaultvalue][in] */ BSTR Password,
  4010. /* [defaultvalue][in] */ CopyRecordOptionsEnum Options,
  4011. /* [defaultvalue][in] */ VARIANT_BOOL Async,
  4012. /* [retval][out] */ BSTR *pbstrNewURL);
  4013. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *DeleteADORecord )(
  4014. _ADORecord * This,
  4015. /* [defaultvalue][in] */ BSTR Source,
  4016. /* [defaultvalue][in] */ VARIANT_BOOL Async);
  4017. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Open )(
  4018. _ADORecord * This,
  4019. /* [optional][in] */ VARIANT Source,
  4020. /* [optional][in] */ VARIANT ActiveConnection,
  4021. /* [defaultvalue][in] */ ConnectModeEnum Mode,
  4022. /* [defaultvalue][in] */ RecordCreateOptionsEnum CreateOptions,
  4023. /* [defaultvalue][in] */ RecordOpenOptionsEnum Options,
  4024. /* [defaultvalue][in] */ BSTR UserName,
  4025. /* [defaultvalue][in] */ BSTR Password);
  4026. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Close )(
  4027. _ADORecord * This);
  4028. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Fields )(
  4029. _ADORecord * This,
  4030. /* [retval][out] */ ADOFields **ppFlds);
  4031. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_RecordType )(
  4032. _ADORecord * This,
  4033. /* [retval][out] */ RecordTypeEnum *pType);
  4034. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *GetChildren )(
  4035. _ADORecord * This,
  4036. /* [retval][out] */ _ADORecordset **ppRSet);
  4037. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Cancel )(
  4038. _ADORecord * This);
  4039. END_INTERFACE
  4040. } _RecordVtbl;
  4041. interface _Record
  4042. {
  4043. CONST_VTBL struct _RecordVtbl *lpVtbl;
  4044. };
  4045. #ifdef COBJMACROS
  4046. #define _Record_QueryInterface(This,riid,ppvObject) \
  4047. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4048. #define _Record_AddRef(This) \
  4049. (This)->lpVtbl -> AddRef(This)
  4050. #define _Record_Release(This) \
  4051. (This)->lpVtbl -> Release(This)
  4052. #define _Record_GetTypeInfoCount(This,pctinfo) \
  4053. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4054. #define _Record_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  4055. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4056. #define _Record_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  4057. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4058. #define _Record_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  4059. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4060. #define _Record_get_Properties(This,ppvObject) \
  4061. (This)->lpVtbl -> get_Properties(This,ppvObject)
  4062. #define _Record_get_ActiveConnection(This,pvar) \
  4063. (This)->lpVtbl -> get_ActiveConnection(This,pvar)
  4064. #define _Record_put_ActiveConnection(This,bstrConn) \
  4065. (This)->lpVtbl -> put_ActiveConnection(This,bstrConn)
  4066. #define _Record_putref_ActiveConnection(This,Con) \
  4067. (This)->lpVtbl -> putref_ActiveConnection(This,Con)
  4068. #define _Record_get_State(This,pState) \
  4069. (This)->lpVtbl -> get_State(This,pState)
  4070. #define _Record_get_Source(This,pvar) \
  4071. (This)->lpVtbl -> get_Source(This,pvar)
  4072. #define _Record_put_Source(This,Source) \
  4073. (This)->lpVtbl -> put_Source(This,Source)
  4074. #define _Record_putref_Source(This,Source) \
  4075. (This)->lpVtbl -> putref_Source(This,Source)
  4076. #define _Record_get_Mode(This,pMode) \
  4077. (This)->lpVtbl -> get_Mode(This,pMode)
  4078. #define _Record_put_Mode(This,Mode) \
  4079. (This)->lpVtbl -> put_Mode(This,Mode)
  4080. #define _Record_get_ParentURL(This,pbstrParentURL) \
  4081. (This)->lpVtbl -> get_ParentURL(This,pbstrParentURL)
  4082. #define _Record_MoveRecord(This,Source,Destination,UserName,Password,Options,Async,pbstrNewURL) \
  4083. (This)->lpVtbl -> MoveRecord(This,Source,Destination,UserName,Password,Options,Async,pbstrNewURL)
  4084. #define _Record_CopyRecord(This,Source,Destination,UserName,Password,Options,Async,pbstrNewURL) \
  4085. (This)->lpVtbl -> CopyRecord(This,Source,Destination,UserName,Password,Options,Async,pbstrNewURL)
  4086. #define _Record_DeleteRecord(This,Source,Async) \
  4087. (This)->lpVtbl -> DeleteRecord(This,Source,Async)
  4088. #define _Record_Open(This,Source,ActiveConnection,Mode,CreateOptions,Options,UserName,Password) \
  4089. (This)->lpVtbl -> Open(This,Source,ActiveConnection,Mode,CreateOptions,Options,UserName,Password)
  4090. #define _Record_Close(This) \
  4091. (This)->lpVtbl -> Close(This)
  4092. #define _Record_get_Fields(This,ppFlds) \
  4093. (This)->lpVtbl -> get_Fields(This,ppFlds)
  4094. #define _Record_get_RecordType(This,pType) \
  4095. (This)->lpVtbl -> get_RecordType(This,pType)
  4096. #define _Record_GetChildren(This,ppRSet) \
  4097. (This)->lpVtbl -> GetChildren(This,ppRSet)
  4098. #define _Record_Cancel(This) \
  4099. (This)->lpVtbl -> Cancel(This)
  4100. #endif /* COBJMACROS */
  4101. #endif /* C style interface */
  4102. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE _Record_get_ActiveConnection_Proxy(
  4103. _ADORecord * This,
  4104. /* [retval][out] */ VARIANT *pvar);
  4105. void __RPC_STUB _Record_get_ActiveConnection_Stub(
  4106. IRpcStubBuffer *This,
  4107. IRpcChannelBuffer *_pRpcChannelBuffer,
  4108. PRPC_MESSAGE _pRpcMessage,
  4109. DWORD *_pdwStubPhase);
  4110. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE _Record_put_ActiveConnection_Proxy(
  4111. _ADORecord * This,
  4112. /* [in] */ BSTR bstrConn);
  4113. void __RPC_STUB _Record_put_ActiveConnection_Stub(
  4114. IRpcStubBuffer *This,
  4115. IRpcChannelBuffer *_pRpcChannelBuffer,
  4116. PRPC_MESSAGE _pRpcMessage,
  4117. DWORD *_pdwStubPhase);
  4118. /* [helpcontext][propputref][id] */ HRESULT STDMETHODCALLTYPE _Record_putref_ActiveConnection_Proxy(
  4119. _ADORecord * This,
  4120. /* [in] */ _ADOConnection *Con);
  4121. void __RPC_STUB _Record_putref_ActiveConnection_Stub(
  4122. IRpcStubBuffer *This,
  4123. IRpcChannelBuffer *_pRpcChannelBuffer,
  4124. PRPC_MESSAGE _pRpcMessage,
  4125. DWORD *_pdwStubPhase);
  4126. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE _Record_get_State_Proxy(
  4127. _ADORecord * This,
  4128. /* [retval][out] */ ObjectStateEnum *pState);
  4129. void __RPC_STUB _Record_get_State_Stub(
  4130. IRpcStubBuffer *This,
  4131. IRpcChannelBuffer *_pRpcChannelBuffer,
  4132. PRPC_MESSAGE _pRpcMessage,
  4133. DWORD *_pdwStubPhase);
  4134. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE _Record_get_Source_Proxy(
  4135. _ADORecord * This,
  4136. /* [retval][out] */ VARIANT *pvar);
  4137. void __RPC_STUB _Record_get_Source_Stub(
  4138. IRpcStubBuffer *This,
  4139. IRpcChannelBuffer *_pRpcChannelBuffer,
  4140. PRPC_MESSAGE _pRpcMessage,
  4141. DWORD *_pdwStubPhase);
  4142. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE _Record_put_Source_Proxy(
  4143. _ADORecord * This,
  4144. /* [in] */ BSTR Source);
  4145. void __RPC_STUB _Record_put_Source_Stub(
  4146. IRpcStubBuffer *This,
  4147. IRpcChannelBuffer *_pRpcChannelBuffer,
  4148. PRPC_MESSAGE _pRpcMessage,
  4149. DWORD *_pdwStubPhase);
  4150. /* [helpcontext][propputref][id] */ HRESULT STDMETHODCALLTYPE _Record_putref_Source_Proxy(
  4151. _ADORecord * This,
  4152. /* [in] */ IDispatch *Source);
  4153. void __RPC_STUB _Record_putref_Source_Stub(
  4154. IRpcStubBuffer *This,
  4155. IRpcChannelBuffer *_pRpcChannelBuffer,
  4156. PRPC_MESSAGE _pRpcMessage,
  4157. DWORD *_pdwStubPhase);
  4158. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE _Record_get_Mode_Proxy(
  4159. _ADORecord * This,
  4160. /* [retval][out] */ ConnectModeEnum *pMode);
  4161. void __RPC_STUB _Record_get_Mode_Stub(
  4162. IRpcStubBuffer *This,
  4163. IRpcChannelBuffer *_pRpcChannelBuffer,
  4164. PRPC_MESSAGE _pRpcMessage,
  4165. DWORD *_pdwStubPhase);
  4166. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE _Record_put_Mode_Proxy(
  4167. _ADORecord * This,
  4168. /* [in] */ ConnectModeEnum Mode);
  4169. void __RPC_STUB _Record_put_Mode_Stub(
  4170. IRpcStubBuffer *This,
  4171. IRpcChannelBuffer *_pRpcChannelBuffer,
  4172. PRPC_MESSAGE _pRpcMessage,
  4173. DWORD *_pdwStubPhase);
  4174. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE _Record_get_ParentURL_Proxy(
  4175. _ADORecord * This,
  4176. /* [retval][out] */ BSTR *pbstrParentURL);
  4177. void __RPC_STUB _Record_get_ParentURL_Stub(
  4178. IRpcStubBuffer *This,
  4179. IRpcChannelBuffer *_pRpcChannelBuffer,
  4180. PRPC_MESSAGE _pRpcMessage,
  4181. DWORD *_pdwStubPhase);
  4182. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE _Record_MoveRecord_Proxy(
  4183. _ADORecord * This,
  4184. /* [defaultvalue][in] */ BSTR Source,
  4185. /* [defaultvalue][in] */ BSTR Destination,
  4186. /* [defaultvalue][in] */ BSTR UserName,
  4187. /* [defaultvalue][in] */ BSTR Password,
  4188. /* [defaultvalue][in] */ MoveRecordOptionsEnum Options,
  4189. /* [defaultvalue][in] */ VARIANT_BOOL Async,
  4190. /* [retval][out] */ BSTR *pbstrNewURL);
  4191. void __RPC_STUB _Record_MoveRecord_Stub(
  4192. IRpcStubBuffer *This,
  4193. IRpcChannelBuffer *_pRpcChannelBuffer,
  4194. PRPC_MESSAGE _pRpcMessage,
  4195. DWORD *_pdwStubPhase);
  4196. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE _Record_CopyRecord_Proxy(
  4197. _ADORecord * This,
  4198. /* [defaultvalue][in] */ BSTR Source,
  4199. /* [defaultvalue][in] */ BSTR Destination,
  4200. /* [defaultvalue][in] */ BSTR UserName,
  4201. /* [defaultvalue][in] */ BSTR Password,
  4202. /* [defaultvalue][in] */ CopyRecordOptionsEnum Options,
  4203. /* [defaultvalue][in] */ VARIANT_BOOL Async,
  4204. /* [retval][out] */ BSTR *pbstrNewURL);
  4205. void __RPC_STUB _Record_CopyRecord_Stub(
  4206. IRpcStubBuffer *This,
  4207. IRpcChannelBuffer *_pRpcChannelBuffer,
  4208. PRPC_MESSAGE _pRpcMessage,
  4209. DWORD *_pdwStubPhase);
  4210. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE _Record_DeleteRecord_Proxy(
  4211. _ADORecord * This,
  4212. /* [defaultvalue][in] */ BSTR Source,
  4213. /* [defaultvalue][in] */ VARIANT_BOOL Async);
  4214. void __RPC_STUB _Record_DeleteRecord_Stub(
  4215. IRpcStubBuffer *This,
  4216. IRpcChannelBuffer *_pRpcChannelBuffer,
  4217. PRPC_MESSAGE _pRpcMessage,
  4218. DWORD *_pdwStubPhase);
  4219. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE _Record_Open_Proxy(
  4220. _ADORecord * This,
  4221. /* [optional][in] */ VARIANT Source,
  4222. /* [optional][in] */ VARIANT ActiveConnection,
  4223. /* [defaultvalue][in] */ ConnectModeEnum Mode,
  4224. /* [defaultvalue][in] */ RecordCreateOptionsEnum CreateOptions,
  4225. /* [defaultvalue][in] */ RecordOpenOptionsEnum Options,
  4226. /* [defaultvalue][in] */ BSTR UserName,
  4227. /* [defaultvalue][in] */ BSTR Password);
  4228. void __RPC_STUB _Record_Open_Stub(
  4229. IRpcStubBuffer *This,
  4230. IRpcChannelBuffer *_pRpcChannelBuffer,
  4231. PRPC_MESSAGE _pRpcMessage,
  4232. DWORD *_pdwStubPhase);
  4233. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE _Record_Close_Proxy(
  4234. _ADORecord * This);
  4235. void __RPC_STUB _Record_Close_Stub(
  4236. IRpcStubBuffer *This,
  4237. IRpcChannelBuffer *_pRpcChannelBuffer,
  4238. PRPC_MESSAGE _pRpcMessage,
  4239. DWORD *_pdwStubPhase);
  4240. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE _Record_get_Fields_Proxy(
  4241. _ADORecord * This,
  4242. /* [retval][out] */ ADOFields **ppFlds);
  4243. void __RPC_STUB _Record_get_Fields_Stub(
  4244. IRpcStubBuffer *This,
  4245. IRpcChannelBuffer *_pRpcChannelBuffer,
  4246. PRPC_MESSAGE _pRpcMessage,
  4247. DWORD *_pdwStubPhase);
  4248. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE _Record_get_RecordType_Proxy(
  4249. _ADORecord * This,
  4250. /* [retval][out] */ RecordTypeEnum *pType);
  4251. void __RPC_STUB _Record_get_RecordType_Stub(
  4252. IRpcStubBuffer *This,
  4253. IRpcChannelBuffer *_pRpcChannelBuffer,
  4254. PRPC_MESSAGE _pRpcMessage,
  4255. DWORD *_pdwStubPhase);
  4256. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE _Record_GetChildren_Proxy(
  4257. _ADORecord * This,
  4258. /* [retval][out] */ _ADORecordset **ppRSet);
  4259. void __RPC_STUB _Record_GetChildren_Stub(
  4260. IRpcStubBuffer *This,
  4261. IRpcChannelBuffer *_pRpcChannelBuffer,
  4262. PRPC_MESSAGE _pRpcMessage,
  4263. DWORD *_pdwStubPhase);
  4264. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE _Record_Cancel_Proxy(
  4265. _ADORecord * This);
  4266. void __RPC_STUB _Record_Cancel_Stub(
  4267. IRpcStubBuffer *This,
  4268. IRpcChannelBuffer *_pRpcChannelBuffer,
  4269. PRPC_MESSAGE _pRpcMessage,
  4270. DWORD *_pdwStubPhase);
  4271. #endif /* ___Record_INTERFACE_DEFINED__ */
  4272. EXTERN_C const CLSID CLSID_Record;
  4273. #ifdef __cplusplus
  4274. Record;
  4275. #endif
  4276. #ifndef ___Stream_INTERFACE_DEFINED__
  4277. #define ___Stream_INTERFACE_DEFINED__
  4278. /* interface _ADOStream */
  4279. /* [object][helpcontext][uuid][hidden][dual] */
  4280. EXTERN_C const IID IID__Stream;
  4281. #if defined(__cplusplus) && !defined(CINTERFACE)
  4282. MIDL_INTERFACE("00000565-0000-0010-8000-00AA006D2EA4")
  4283. _ADOStream : public IDispatch
  4284. {
  4285. public:
  4286. virtual /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE get_Size(
  4287. /* [retval][out] */ ADO_LONGPTR *pSize) = 0;
  4288. virtual /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE get_EOS(
  4289. /* [retval][out] */ VARIANT_BOOL *pEOS) = 0;
  4290. virtual /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE get_Position(
  4291. /* [retval][out] */ ADO_LONGPTR *pPos) = 0;
  4292. virtual /* [helpcontext][id][propput] */ HRESULT STDMETHODCALLTYPE put_Position(
  4293. /* [in] */ ADO_LONGPTR Position) = 0;
  4294. virtual /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE get_Type(
  4295. /* [retval][out] */ StreamTypeEnum *pType) = 0;
  4296. virtual /* [helpcontext][id][propput] */ HRESULT STDMETHODCALLTYPE put_Type(
  4297. /* [in] */ StreamTypeEnum Type) = 0;
  4298. virtual /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE get_LineSeparator(
  4299. /* [retval][out] */ LineSeparatorEnum *pLS) = 0;
  4300. virtual /* [helpcontext][id][propput] */ HRESULT STDMETHODCALLTYPE put_LineSeparator(
  4301. /* [in] */ LineSeparatorEnum LineSeparator) = 0;
  4302. virtual /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE get_State(
  4303. /* [retval][out] */ ObjectStateEnum *pState) = 0;
  4304. virtual /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE get_Mode(
  4305. /* [retval][out] */ ConnectModeEnum *pMode) = 0;
  4306. virtual /* [helpcontext][id][propput] */ HRESULT STDMETHODCALLTYPE put_Mode(
  4307. /* [in] */ ConnectModeEnum Mode) = 0;
  4308. virtual /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE get_Charset(
  4309. /* [retval][out] */ BSTR *pbstrCharset) = 0;
  4310. virtual /* [helpcontext][id][propput] */ HRESULT STDMETHODCALLTYPE put_Charset(
  4311. /* [in] */ BSTR Charset) = 0;
  4312. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Read(
  4313. /* [defaultvalue][in] */ long NumBytes,
  4314. /* [retval][out] */ VARIANT *pVal) = 0;
  4315. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Open(
  4316. /* [optional][in] */ VARIANT Source,
  4317. /* [defaultvalue][in] */ ConnectModeEnum Mode = adModeUnknown,
  4318. /* [defaultvalue][in] */ StreamOpenOptionsEnum Options = adOpenStreamUnspecified,
  4319. /* [defaultvalue][in] */ BSTR UserName = L"",
  4320. /* [defaultvalue][in] */ BSTR Password = L"") = 0;
  4321. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Close( void) = 0;
  4322. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE SkipLine( void) = 0;
  4323. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Write(
  4324. /* [in] */ VARIANT Buffer) = 0;
  4325. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE SetEOS( void) = 0;
  4326. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE CopyTo(
  4327. /* [in] */ _ADOStream *DestStream,
  4328. /* [defaultvalue][in] */ ADO_LONGPTR CharNumber = -1) = 0;
  4329. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Flush( void) = 0;
  4330. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE SaveToFile(
  4331. /* [in] */ BSTR FileName,
  4332. /* [defaultvalue][in] */ SaveOptionsEnum Options = adSaveCreateNotExist) = 0;
  4333. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE LoadFromFile(
  4334. /* [in] */ BSTR FileName) = 0;
  4335. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE ReadText(
  4336. /* [defaultvalue][in] */ long NumChars,
  4337. /* [retval][out] */ BSTR *pbstr) = 0;
  4338. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE WriteText(
  4339. /* [in] */ BSTR Data,
  4340. /* [defaultvalue][in] */ StreamWriteEnum Options = adWriteChar) = 0;
  4341. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Cancel( void) = 0;
  4342. };
  4343. #else /* C style interface */
  4344. typedef struct _StreamVtbl
  4345. {
  4346. BEGIN_INTERFACE
  4347. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4348. _ADOStream * This,
  4349. /* [in] */ REFIID riid,
  4350. /* [iid_is][out] */ void **ppvObject);
  4351. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4352. _ADOStream * This);
  4353. ULONG ( STDMETHODCALLTYPE *Release )(
  4354. _ADOStream * This);
  4355. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  4356. _ADOStream * This,
  4357. /* [out] */ UINT *pctinfo);
  4358. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  4359. _ADOStream * This,
  4360. /* [in] */ UINT iTInfo,
  4361. /* [in] */ LCID lcid,
  4362. /* [out] */ ITypeInfo **ppTInfo);
  4363. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  4364. _ADOStream * This,
  4365. /* [in] */ REFIID riid,
  4366. /* [size_is][in] */ LPOLESTR *rgszNames,
  4367. /* [in] */ UINT cNames,
  4368. /* [in] */ LCID lcid,
  4369. /* [size_is][out] */ DISPID *rgDispId);
  4370. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  4371. _ADOStream * This,
  4372. /* [in] */ DISPID dispIdMember,
  4373. /* [in] */ REFIID riid,
  4374. /* [in] */ LCID lcid,
  4375. /* [in] */ WORD wFlags,
  4376. /* [out][in] */ DISPPARAMS *pDispParams,
  4377. /* [out] */ VARIANT *pVarResult,
  4378. /* [out] */ EXCEPINFO *pExcepInfo,
  4379. /* [out] */ UINT *puArgErr);
  4380. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Size )(
  4381. _ADOStream * This,
  4382. /* [retval][out] */ ADO_LONGPTR *pSize);
  4383. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EOS )(
  4384. _ADOStream * This,
  4385. /* [retval][out] */ VARIANT_BOOL *pEOS);
  4386. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Position )(
  4387. _ADOStream * This,
  4388. /* [retval][out] */ ADO_LONGPTR *pPos);
  4389. /* [helpcontext][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Position )(
  4390. _ADOStream * This,
  4391. /* [in] */ ADO_LONGPTR Position);
  4392. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Type )(
  4393. _ADOStream * This,
  4394. /* [retval][out] */ StreamTypeEnum *pType);
  4395. /* [helpcontext][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Type )(
  4396. _ADOStream * This,
  4397. /* [in] */ StreamTypeEnum Type);
  4398. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LineSeparator )(
  4399. _ADOStream * This,
  4400. /* [retval][out] */ LineSeparatorEnum *pLS);
  4401. /* [helpcontext][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_LineSeparator )(
  4402. _ADOStream * This,
  4403. /* [in] */ LineSeparatorEnum LineSeparator);
  4404. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_State )(
  4405. _ADOStream * This,
  4406. /* [retval][out] */ ObjectStateEnum *pState);
  4407. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Mode )(
  4408. _ADOStream * This,
  4409. /* [retval][out] */ ConnectModeEnum *pMode);
  4410. /* [helpcontext][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Mode )(
  4411. _ADOStream * This,
  4412. /* [in] */ ConnectModeEnum Mode);
  4413. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Charset )(
  4414. _ADOStream * This,
  4415. /* [retval][out] */ BSTR *pbstrCharset);
  4416. /* [helpcontext][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Charset )(
  4417. _ADOStream * This,
  4418. /* [in] */ BSTR Charset);
  4419. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Read )(
  4420. _ADOStream * This,
  4421. /* [defaultvalue][in] */ long NumBytes,
  4422. /* [retval][out] */ VARIANT *pVal);
  4423. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Open )(
  4424. _ADOStream * This,
  4425. /* [optional][in] */ VARIANT Source,
  4426. /* [defaultvalue][in] */ ConnectModeEnum Mode,
  4427. /* [defaultvalue][in] */ StreamOpenOptionsEnum Options,
  4428. /* [defaultvalue][in] */ BSTR UserName,
  4429. /* [defaultvalue][in] */ BSTR Password);
  4430. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Close )(
  4431. _ADOStream * This);
  4432. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *SkipLine )(
  4433. _ADOStream * This);
  4434. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Write )(
  4435. _ADOStream * This,
  4436. /* [in] */ VARIANT Buffer);
  4437. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *SetEOS )(
  4438. _ADOStream * This);
  4439. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *CopyTo )(
  4440. _ADOStream * This,
  4441. /* [in] */ _ADOStream *DestStream,
  4442. /* [defaultvalue][in] */ ADO_LONGPTR CharNumber);
  4443. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Flush )(
  4444. _ADOStream * This);
  4445. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *SaveToFile )(
  4446. _ADOStream * This,
  4447. /* [in] */ BSTR FileName,
  4448. /* [defaultvalue][in] */ SaveOptionsEnum Options);
  4449. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *LoadFromFile )(
  4450. _ADOStream * This,
  4451. /* [in] */ BSTR FileName);
  4452. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *ReadText )(
  4453. _ADOStream * This,
  4454. /* [defaultvalue][in] */ long NumChars,
  4455. /* [retval][out] */ BSTR *pbstr);
  4456. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *WriteText )(
  4457. _ADOStream * This,
  4458. /* [in] */ BSTR Data,
  4459. /* [defaultvalue][in] */ StreamWriteEnum Options);
  4460. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Cancel )(
  4461. _ADOStream * This);
  4462. END_INTERFACE
  4463. } _StreamVtbl;
  4464. interface _Stream
  4465. {
  4466. CONST_VTBL struct _StreamVtbl *lpVtbl;
  4467. };
  4468. #ifdef COBJMACROS
  4469. #define _Stream_QueryInterface(This,riid,ppvObject) \
  4470. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4471. #define _Stream_AddRef(This) \
  4472. (This)->lpVtbl -> AddRef(This)
  4473. #define _Stream_Release(This) \
  4474. (This)->lpVtbl -> Release(This)
  4475. #define _Stream_GetTypeInfoCount(This,pctinfo) \
  4476. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4477. #define _Stream_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  4478. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4479. #define _Stream_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  4480. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4481. #define _Stream_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  4482. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4483. #define _Stream_get_Size(This,pSize) \
  4484. (This)->lpVtbl -> get_Size(This,pSize)
  4485. #define _Stream_get_EOS(This,pEOS) \
  4486. (This)->lpVtbl -> get_EOS(This,pEOS)
  4487. #define _Stream_get_Position(This,pPos) \
  4488. (This)->lpVtbl -> get_Position(This,pPos)
  4489. #define _Stream_put_Position(This,Position) \
  4490. (This)->lpVtbl -> put_Position(This,Position)
  4491. #define _Stream_get_Type(This,pType) \
  4492. (This)->lpVtbl -> get_Type(This,pType)
  4493. #define _Stream_put_Type(This,Type) \
  4494. (This)->lpVtbl -> put_Type(This,Type)
  4495. #define _Stream_get_LineSeparator(This,pLS) \
  4496. (This)->lpVtbl -> get_LineSeparator(This,pLS)
  4497. #define _Stream_put_LineSeparator(This,LineSeparator) \
  4498. (This)->lpVtbl -> put_LineSeparator(This,LineSeparator)
  4499. #define _Stream_get_State(This,pState) \
  4500. (This)->lpVtbl -> get_State(This,pState)
  4501. #define _Stream_get_Mode(This,pMode) \
  4502. (This)->lpVtbl -> get_Mode(This,pMode)
  4503. #define _Stream_put_Mode(This,Mode) \
  4504. (This)->lpVtbl -> put_Mode(This,Mode)
  4505. #define _Stream_get_Charset(This,pbstrCharset) \
  4506. (This)->lpVtbl -> get_Charset(This,pbstrCharset)
  4507. #define _Stream_put_Charset(This,Charset) \
  4508. (This)->lpVtbl -> put_Charset(This,Charset)
  4509. #define _Stream_Read(This,NumBytes,pVal) \
  4510. (This)->lpVtbl -> Read(This,NumBytes,pVal)
  4511. #define _Stream_Open(This,Source,Mode,Options,UserName,Password) \
  4512. (This)->lpVtbl -> Open(This,Source,Mode,Options,UserName,Password)
  4513. #define _Stream_Close(This) \
  4514. (This)->lpVtbl -> Close(This)
  4515. #define _Stream_SkipLine(This) \
  4516. (This)->lpVtbl -> SkipLine(This)
  4517. #define _Stream_Write(This,Buffer) \
  4518. (This)->lpVtbl -> Write(This,Buffer)
  4519. #define _Stream_SetEOS(This) \
  4520. (This)->lpVtbl -> SetEOS(This)
  4521. #define _Stream_CopyTo(This,DestStream,CharNumber) \
  4522. (This)->lpVtbl -> CopyTo(This,DestStream,CharNumber)
  4523. #define _Stream_Flush(This) \
  4524. (This)->lpVtbl -> Flush(This)
  4525. #define _Stream_SaveToFile(This,FileName,Options) \
  4526. (This)->lpVtbl -> SaveToFile(This,FileName,Options)
  4527. #define _Stream_LoadFromFile(This,FileName) \
  4528. (This)->lpVtbl -> LoadFromFile(This,FileName)
  4529. #define _Stream_ReadText(This,NumChars,pbstr) \
  4530. (This)->lpVtbl -> ReadText(This,NumChars,pbstr)
  4531. #define _Stream_WriteText(This,Data,Options) \
  4532. (This)->lpVtbl -> WriteText(This,Data,Options)
  4533. #define _Stream_Cancel(This) \
  4534. (This)->lpVtbl -> Cancel(This)
  4535. #endif /* COBJMACROS */
  4536. #endif /* C style interface */
  4537. /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE _Stream_get_Size_Proxy(
  4538. _ADOStream * This,
  4539. /* [retval][out] */ ADO_LONGPTR *pSize);
  4540. void __RPC_STUB _Stream_get_Size_Stub(
  4541. IRpcStubBuffer *This,
  4542. IRpcChannelBuffer *_pRpcChannelBuffer,
  4543. PRPC_MESSAGE _pRpcMessage,
  4544. DWORD *_pdwStubPhase);
  4545. /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE _Stream_get_EOS_Proxy(
  4546. _ADOStream * This,
  4547. /* [retval][out] */ VARIANT_BOOL *pEOS);
  4548. void __RPC_STUB _Stream_get_EOS_Stub(
  4549. IRpcStubBuffer *This,
  4550. IRpcChannelBuffer *_pRpcChannelBuffer,
  4551. PRPC_MESSAGE _pRpcMessage,
  4552. DWORD *_pdwStubPhase);
  4553. /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE _Stream_get_Position_Proxy(
  4554. _ADOStream * This,
  4555. /* [retval][out] */ ADO_LONGPTR *pPos);
  4556. void __RPC_STUB _Stream_get_Position_Stub(
  4557. IRpcStubBuffer *This,
  4558. IRpcChannelBuffer *_pRpcChannelBuffer,
  4559. PRPC_MESSAGE _pRpcMessage,
  4560. DWORD *_pdwStubPhase);
  4561. /* [helpcontext][id][propput] */ HRESULT STDMETHODCALLTYPE _Stream_put_Position_Proxy(
  4562. _ADOStream * This,
  4563. /* [in] */ ADO_LONGPTR Position);
  4564. void __RPC_STUB _Stream_put_Position_Stub(
  4565. IRpcStubBuffer *This,
  4566. IRpcChannelBuffer *_pRpcChannelBuffer,
  4567. PRPC_MESSAGE _pRpcMessage,
  4568. DWORD *_pdwStubPhase);
  4569. /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE _Stream_get_Type_Proxy(
  4570. _ADOStream * This,
  4571. /* [retval][out] */ StreamTypeEnum *pType);
  4572. void __RPC_STUB _Stream_get_Type_Stub(
  4573. IRpcStubBuffer *This,
  4574. IRpcChannelBuffer *_pRpcChannelBuffer,
  4575. PRPC_MESSAGE _pRpcMessage,
  4576. DWORD *_pdwStubPhase);
  4577. /* [helpcontext][id][propput] */ HRESULT STDMETHODCALLTYPE _Stream_put_Type_Proxy(
  4578. _ADOStream * This,
  4579. /* [in] */ StreamTypeEnum Type);
  4580. void __RPC_STUB _Stream_put_Type_Stub(
  4581. IRpcStubBuffer *This,
  4582. IRpcChannelBuffer *_pRpcChannelBuffer,
  4583. PRPC_MESSAGE _pRpcMessage,
  4584. DWORD *_pdwStubPhase);
  4585. /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE _Stream_get_LineSeparator_Proxy(
  4586. _ADOStream * This,
  4587. /* [retval][out] */ LineSeparatorEnum *pLS);
  4588. void __RPC_STUB _Stream_get_LineSeparator_Stub(
  4589. IRpcStubBuffer *This,
  4590. IRpcChannelBuffer *_pRpcChannelBuffer,
  4591. PRPC_MESSAGE _pRpcMessage,
  4592. DWORD *_pdwStubPhase);
  4593. /* [helpcontext][id][propput] */ HRESULT STDMETHODCALLTYPE _Stream_put_LineSeparator_Proxy(
  4594. _ADOStream * This,
  4595. /* [in] */ LineSeparatorEnum LineSeparator);
  4596. void __RPC_STUB _Stream_put_LineSeparator_Stub(
  4597. IRpcStubBuffer *This,
  4598. IRpcChannelBuffer *_pRpcChannelBuffer,
  4599. PRPC_MESSAGE _pRpcMessage,
  4600. DWORD *_pdwStubPhase);
  4601. /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE _Stream_get_State_Proxy(
  4602. _ADOStream * This,
  4603. /* [retval][out] */ ObjectStateEnum *pState);
  4604. void __RPC_STUB _Stream_get_State_Stub(
  4605. IRpcStubBuffer *This,
  4606. IRpcChannelBuffer *_pRpcChannelBuffer,
  4607. PRPC_MESSAGE _pRpcMessage,
  4608. DWORD *_pdwStubPhase);
  4609. /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE _Stream_get_Mode_Proxy(
  4610. _ADOStream * This,
  4611. /* [retval][out] */ ConnectModeEnum *pMode);
  4612. void __RPC_STUB _Stream_get_Mode_Stub(
  4613. IRpcStubBuffer *This,
  4614. IRpcChannelBuffer *_pRpcChannelBuffer,
  4615. PRPC_MESSAGE _pRpcMessage,
  4616. DWORD *_pdwStubPhase);
  4617. /* [helpcontext][id][propput] */ HRESULT STDMETHODCALLTYPE _Stream_put_Mode_Proxy(
  4618. _ADOStream * This,
  4619. /* [in] */ ConnectModeEnum Mode);
  4620. void __RPC_STUB _Stream_put_Mode_Stub(
  4621. IRpcStubBuffer *This,
  4622. IRpcChannelBuffer *_pRpcChannelBuffer,
  4623. PRPC_MESSAGE _pRpcMessage,
  4624. DWORD *_pdwStubPhase);
  4625. /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE _Stream_get_Charset_Proxy(
  4626. _ADOStream * This,
  4627. /* [retval][out] */ BSTR *pbstrCharset);
  4628. void __RPC_STUB _Stream_get_Charset_Stub(
  4629. IRpcStubBuffer *This,
  4630. IRpcChannelBuffer *_pRpcChannelBuffer,
  4631. PRPC_MESSAGE _pRpcMessage,
  4632. DWORD *_pdwStubPhase);
  4633. /* [helpcontext][id][propput] */ HRESULT STDMETHODCALLTYPE _Stream_put_Charset_Proxy(
  4634. _ADOStream * This,
  4635. /* [in] */ BSTR Charset);
  4636. void __RPC_STUB _Stream_put_Charset_Stub(
  4637. IRpcStubBuffer *This,
  4638. IRpcChannelBuffer *_pRpcChannelBuffer,
  4639. PRPC_MESSAGE _pRpcMessage,
  4640. DWORD *_pdwStubPhase);
  4641. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE _Stream_Read_Proxy(
  4642. _ADOStream * This,
  4643. /* [defaultvalue][in] */ long NumBytes,
  4644. /* [retval][out] */ VARIANT *pVal);
  4645. void __RPC_STUB _Stream_Read_Stub(
  4646. IRpcStubBuffer *This,
  4647. IRpcChannelBuffer *_pRpcChannelBuffer,
  4648. PRPC_MESSAGE _pRpcMessage,
  4649. DWORD *_pdwStubPhase);
  4650. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE _Stream_Open_Proxy(
  4651. _ADOStream * This,
  4652. /* [optional][in] */ VARIANT Source,
  4653. /* [defaultvalue][in] */ ConnectModeEnum Mode,
  4654. /* [defaultvalue][in] */ StreamOpenOptionsEnum Options,
  4655. /* [defaultvalue][in] */ BSTR UserName,
  4656. /* [defaultvalue][in] */ BSTR Password);
  4657. void __RPC_STUB _Stream_Open_Stub(
  4658. IRpcStubBuffer *This,
  4659. IRpcChannelBuffer *_pRpcChannelBuffer,
  4660. PRPC_MESSAGE _pRpcMessage,
  4661. DWORD *_pdwStubPhase);
  4662. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE _Stream_Close_Proxy(
  4663. _ADOStream * This);
  4664. void __RPC_STUB _Stream_Close_Stub(
  4665. IRpcStubBuffer *This,
  4666. IRpcChannelBuffer *_pRpcChannelBuffer,
  4667. PRPC_MESSAGE _pRpcMessage,
  4668. DWORD *_pdwStubPhase);
  4669. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE _Stream_SkipLine_Proxy(
  4670. _ADOStream * This);
  4671. void __RPC_STUB _Stream_SkipLine_Stub(
  4672. IRpcStubBuffer *This,
  4673. IRpcChannelBuffer *_pRpcChannelBuffer,
  4674. PRPC_MESSAGE _pRpcMessage,
  4675. DWORD *_pdwStubPhase);
  4676. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE _Stream_Write_Proxy(
  4677. _ADOStream * This,
  4678. /* [in] */ VARIANT Buffer);
  4679. void __RPC_STUB _Stream_Write_Stub(
  4680. IRpcStubBuffer *This,
  4681. IRpcChannelBuffer *_pRpcChannelBuffer,
  4682. PRPC_MESSAGE _pRpcMessage,
  4683. DWORD *_pdwStubPhase);
  4684. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE _Stream_SetEOS_Proxy(
  4685. _ADOStream * This);
  4686. void __RPC_STUB _Stream_SetEOS_Stub(
  4687. IRpcStubBuffer *This,
  4688. IRpcChannelBuffer *_pRpcChannelBuffer,
  4689. PRPC_MESSAGE _pRpcMessage,
  4690. DWORD *_pdwStubPhase);
  4691. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE _Stream_CopyTo_Proxy(
  4692. _ADOStream * This,
  4693. /* [in] */ _ADOStream *DestStream,
  4694. /* [defaultvalue][in] */ ADO_LONGPTR CharNumber);
  4695. void __RPC_STUB _Stream_CopyTo_Stub(
  4696. IRpcStubBuffer *This,
  4697. IRpcChannelBuffer *_pRpcChannelBuffer,
  4698. PRPC_MESSAGE _pRpcMessage,
  4699. DWORD *_pdwStubPhase);
  4700. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE _Stream_Flush_Proxy(
  4701. _ADOStream * This);
  4702. void __RPC_STUB _Stream_Flush_Stub(
  4703. IRpcStubBuffer *This,
  4704. IRpcChannelBuffer *_pRpcChannelBuffer,
  4705. PRPC_MESSAGE _pRpcMessage,
  4706. DWORD *_pdwStubPhase);
  4707. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE _Stream_SaveToFile_Proxy(
  4708. _ADOStream * This,
  4709. /* [in] */ BSTR FileName,
  4710. /* [defaultvalue][in] */ SaveOptionsEnum Options);
  4711. void __RPC_STUB _Stream_SaveToFile_Stub(
  4712. IRpcStubBuffer *This,
  4713. IRpcChannelBuffer *_pRpcChannelBuffer,
  4714. PRPC_MESSAGE _pRpcMessage,
  4715. DWORD *_pdwStubPhase);
  4716. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE _Stream_LoadFromFile_Proxy(
  4717. _ADOStream * This,
  4718. /* [in] */ BSTR FileName);
  4719. void __RPC_STUB _Stream_LoadFromFile_Stub(
  4720. IRpcStubBuffer *This,
  4721. IRpcChannelBuffer *_pRpcChannelBuffer,
  4722. PRPC_MESSAGE _pRpcMessage,
  4723. DWORD *_pdwStubPhase);
  4724. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE _Stream_ReadText_Proxy(
  4725. _ADOStream * This,
  4726. /* [defaultvalue][in] */ long NumChars,
  4727. /* [retval][out] */ BSTR *pbstr);
  4728. void __RPC_STUB _Stream_ReadText_Stub(
  4729. IRpcStubBuffer *This,
  4730. IRpcChannelBuffer *_pRpcChannelBuffer,
  4731. PRPC_MESSAGE _pRpcMessage,
  4732. DWORD *_pdwStubPhase);
  4733. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE _Stream_WriteText_Proxy(
  4734. _ADOStream * This,
  4735. /* [in] */ BSTR Data,
  4736. /* [defaultvalue][in] */ StreamWriteEnum Options);
  4737. void __RPC_STUB _Stream_WriteText_Stub(
  4738. IRpcStubBuffer *This,
  4739. IRpcChannelBuffer *_pRpcChannelBuffer,
  4740. PRPC_MESSAGE _pRpcMessage,
  4741. DWORD *_pdwStubPhase);
  4742. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE _Stream_Cancel_Proxy(
  4743. _ADOStream * This);
  4744. void __RPC_STUB _Stream_Cancel_Stub(
  4745. IRpcStubBuffer *This,
  4746. IRpcChannelBuffer *_pRpcChannelBuffer,
  4747. PRPC_MESSAGE _pRpcMessage,
  4748. DWORD *_pdwStubPhase);
  4749. #endif /* ___Stream_INTERFACE_DEFINED__ */
  4750. EXTERN_C const CLSID CLSID_Stream;
  4751. #ifdef __cplusplus
  4752. Stream;
  4753. #endif
  4754. #ifndef __ADORecordConstruction_INTERFACE_DEFINED__
  4755. #define __ADORecordConstruction_INTERFACE_DEFINED__
  4756. /* interface ADORecordConstruction */
  4757. /* [object][uuid][restricted] */
  4758. EXTERN_C const IID IID_ADORecordConstruction;
  4759. #if defined(__cplusplus) && !defined(CINTERFACE)
  4760. MIDL_INTERFACE("00000567-0000-0010-8000-00AA006D2EA4")
  4761. ADORecordConstruction : public IDispatch
  4762. {
  4763. public:
  4764. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Row(
  4765. /* [retval][out] */ IUnknown **ppRow) = 0;
  4766. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Row(
  4767. /* [in] */ IUnknown *pRow) = 0;
  4768. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_ParentRow(
  4769. /* [in] */ IUnknown *pRow) = 0;
  4770. };
  4771. #else /* C style interface */
  4772. typedef struct ADORecordConstructionVtbl
  4773. {
  4774. BEGIN_INTERFACE
  4775. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4776. ADORecordConstruction * This,
  4777. /* [in] */ REFIID riid,
  4778. /* [iid_is][out] */ void **ppvObject);
  4779. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4780. ADORecordConstruction * This);
  4781. ULONG ( STDMETHODCALLTYPE *Release )(
  4782. ADORecordConstruction * This);
  4783. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  4784. ADORecordConstruction * This,
  4785. /* [out] */ UINT *pctinfo);
  4786. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  4787. ADORecordConstruction * This,
  4788. /* [in] */ UINT iTInfo,
  4789. /* [in] */ LCID lcid,
  4790. /* [out] */ ITypeInfo **ppTInfo);
  4791. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  4792. ADORecordConstruction * This,
  4793. /* [in] */ REFIID riid,
  4794. /* [size_is][in] */ LPOLESTR *rgszNames,
  4795. /* [in] */ UINT cNames,
  4796. /* [in] */ LCID lcid,
  4797. /* [size_is][out] */ DISPID *rgDispId);
  4798. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  4799. ADORecordConstruction * This,
  4800. /* [in] */ DISPID dispIdMember,
  4801. /* [in] */ REFIID riid,
  4802. /* [in] */ LCID lcid,
  4803. /* [in] */ WORD wFlags,
  4804. /* [out][in] */ DISPPARAMS *pDispParams,
  4805. /* [out] */ VARIANT *pVarResult,
  4806. /* [out] */ EXCEPINFO *pExcepInfo,
  4807. /* [out] */ UINT *puArgErr);
  4808. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Row )(
  4809. ADORecordConstruction * This,
  4810. /* [retval][out] */ IUnknown **ppRow);
  4811. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_Row )(
  4812. ADORecordConstruction * This,
  4813. /* [in] */ IUnknown *pRow);
  4814. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_ParentRow )(
  4815. ADORecordConstruction * This,
  4816. /* [in] */ IUnknown *pRow);
  4817. END_INTERFACE
  4818. } ADORecordConstructionVtbl;
  4819. interface ADORecordConstruction
  4820. {
  4821. CONST_VTBL struct ADORecordConstructionVtbl *lpVtbl;
  4822. };
  4823. #ifdef COBJMACROS
  4824. #define ADORecordConstruction_QueryInterface(This,riid,ppvObject) \
  4825. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4826. #define ADORecordConstruction_AddRef(This) \
  4827. (This)->lpVtbl -> AddRef(This)
  4828. #define ADORecordConstruction_Release(This) \
  4829. (This)->lpVtbl -> Release(This)
  4830. #define ADORecordConstruction_GetTypeInfoCount(This,pctinfo) \
  4831. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4832. #define ADORecordConstruction_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  4833. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4834. #define ADORecordConstruction_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  4835. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4836. #define ADORecordConstruction_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  4837. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4838. #define ADORecordConstruction_get_Row(This,ppRow) \
  4839. (This)->lpVtbl -> get_Row(This,ppRow)
  4840. #define ADORecordConstruction_put_Row(This,pRow) \
  4841. (This)->lpVtbl -> put_Row(This,pRow)
  4842. #define ADORecordConstruction_put_ParentRow(This,pRow) \
  4843. (This)->lpVtbl -> put_ParentRow(This,pRow)
  4844. #endif /* COBJMACROS */
  4845. #endif /* C style interface */
  4846. /* [propget] */ HRESULT STDMETHODCALLTYPE ADORecordConstruction_get_Row_Proxy(
  4847. ADORecordConstruction * This,
  4848. /* [retval][out] */ IUnknown **ppRow);
  4849. void __RPC_STUB ADORecordConstruction_get_Row_Stub(
  4850. IRpcStubBuffer *This,
  4851. IRpcChannelBuffer *_pRpcChannelBuffer,
  4852. PRPC_MESSAGE _pRpcMessage,
  4853. DWORD *_pdwStubPhase);
  4854. /* [propput] */ HRESULT STDMETHODCALLTYPE ADORecordConstruction_put_Row_Proxy(
  4855. ADORecordConstruction * This,
  4856. /* [in] */ IUnknown *pRow);
  4857. void __RPC_STUB ADORecordConstruction_put_Row_Stub(
  4858. IRpcStubBuffer *This,
  4859. IRpcChannelBuffer *_pRpcChannelBuffer,
  4860. PRPC_MESSAGE _pRpcMessage,
  4861. DWORD *_pdwStubPhase);
  4862. /* [propput] */ HRESULT STDMETHODCALLTYPE ADORecordConstruction_put_ParentRow_Proxy(
  4863. ADORecordConstruction * This,
  4864. /* [in] */ IUnknown *pRow);
  4865. void __RPC_STUB ADORecordConstruction_put_ParentRow_Stub(
  4866. IRpcStubBuffer *This,
  4867. IRpcChannelBuffer *_pRpcChannelBuffer,
  4868. PRPC_MESSAGE _pRpcMessage,
  4869. DWORD *_pdwStubPhase);
  4870. #endif /* __ADORecordConstruction_INTERFACE_DEFINED__ */
  4871. #ifndef __ADOStreamConstruction_INTERFACE_DEFINED__
  4872. #define __ADOStreamConstruction_INTERFACE_DEFINED__
  4873. /* interface ADOStreamConstruction */
  4874. /* [object][uuid][restricted] */
  4875. EXTERN_C const IID IID_ADOStreamConstruction;
  4876. #if defined(__cplusplus) && !defined(CINTERFACE)
  4877. MIDL_INTERFACE("00000568-0000-0010-8000-00AA006D2EA4")
  4878. ADOStreamConstruction : public IDispatch
  4879. {
  4880. public:
  4881. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Stream(
  4882. /* [retval][out] */ IUnknown **ppStm) = 0;
  4883. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Stream(
  4884. /* [in] */ IUnknown *pStm) = 0;
  4885. };
  4886. #else /* C style interface */
  4887. typedef struct ADOStreamConstructionVtbl
  4888. {
  4889. BEGIN_INTERFACE
  4890. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4891. ADOStreamConstruction * This,
  4892. /* [in] */ REFIID riid,
  4893. /* [iid_is][out] */ void **ppvObject);
  4894. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4895. ADOStreamConstruction * This);
  4896. ULONG ( STDMETHODCALLTYPE *Release )(
  4897. ADOStreamConstruction * This);
  4898. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  4899. ADOStreamConstruction * This,
  4900. /* [out] */ UINT *pctinfo);
  4901. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  4902. ADOStreamConstruction * This,
  4903. /* [in] */ UINT iTInfo,
  4904. /* [in] */ LCID lcid,
  4905. /* [out] */ ITypeInfo **ppTInfo);
  4906. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  4907. ADOStreamConstruction * This,
  4908. /* [in] */ REFIID riid,
  4909. /* [size_is][in] */ LPOLESTR *rgszNames,
  4910. /* [in] */ UINT cNames,
  4911. /* [in] */ LCID lcid,
  4912. /* [size_is][out] */ DISPID *rgDispId);
  4913. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  4914. ADOStreamConstruction * This,
  4915. /* [in] */ DISPID dispIdMember,
  4916. /* [in] */ REFIID riid,
  4917. /* [in] */ LCID lcid,
  4918. /* [in] */ WORD wFlags,
  4919. /* [out][in] */ DISPPARAMS *pDispParams,
  4920. /* [out] */ VARIANT *pVarResult,
  4921. /* [out] */ EXCEPINFO *pExcepInfo,
  4922. /* [out] */ UINT *puArgErr);
  4923. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Stream )(
  4924. ADOStreamConstruction * This,
  4925. /* [retval][out] */ IUnknown **ppStm);
  4926. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_Stream )(
  4927. ADOStreamConstruction * This,
  4928. /* [in] */ IUnknown *pStm);
  4929. END_INTERFACE
  4930. } ADOStreamConstructionVtbl;
  4931. interface ADOStreamConstruction
  4932. {
  4933. CONST_VTBL struct ADOStreamConstructionVtbl *lpVtbl;
  4934. };
  4935. #ifdef COBJMACROS
  4936. #define ADOStreamConstruction_QueryInterface(This,riid,ppvObject) \
  4937. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4938. #define ADOStreamConstruction_AddRef(This) \
  4939. (This)->lpVtbl -> AddRef(This)
  4940. #define ADOStreamConstruction_Release(This) \
  4941. (This)->lpVtbl -> Release(This)
  4942. #define ADOStreamConstruction_GetTypeInfoCount(This,pctinfo) \
  4943. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4944. #define ADOStreamConstruction_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  4945. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4946. #define ADOStreamConstruction_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  4947. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4948. #define ADOStreamConstruction_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  4949. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4950. #define ADOStreamConstruction_get_Stream(This,ppStm) \
  4951. (This)->lpVtbl -> get_Stream(This,ppStm)
  4952. #define ADOStreamConstruction_put_Stream(This,pStm) \
  4953. (This)->lpVtbl -> put_Stream(This,pStm)
  4954. #endif /* COBJMACROS */
  4955. #endif /* C style interface */
  4956. /* [propget] */ HRESULT STDMETHODCALLTYPE ADOStreamConstruction_get_Stream_Proxy(
  4957. ADOStreamConstruction * This,
  4958. /* [retval][out] */ IUnknown **ppStm);
  4959. void __RPC_STUB ADOStreamConstruction_get_Stream_Stub(
  4960. IRpcStubBuffer *This,
  4961. IRpcChannelBuffer *_pRpcChannelBuffer,
  4962. PRPC_MESSAGE _pRpcMessage,
  4963. DWORD *_pdwStubPhase);
  4964. /* [propput] */ HRESULT STDMETHODCALLTYPE ADOStreamConstruction_put_Stream_Proxy(
  4965. ADOStreamConstruction * This,
  4966. /* [in] */ IUnknown *pStm);
  4967. void __RPC_STUB ADOStreamConstruction_put_Stream_Stub(
  4968. IRpcStubBuffer *This,
  4969. IRpcChannelBuffer *_pRpcChannelBuffer,
  4970. PRPC_MESSAGE _pRpcMessage,
  4971. DWORD *_pdwStubPhase);
  4972. #endif /* __ADOStreamConstruction_INTERFACE_DEFINED__ */
  4973. #ifndef __ADOCommandConstruction_INTERFACE_DEFINED__
  4974. #define __ADOCommandConstruction_INTERFACE_DEFINED__
  4975. /* interface ADOCommandConstruction */
  4976. /* [object][uuid][restricted] */
  4977. EXTERN_C const IID IID_ADOCommandConstruction;
  4978. #if defined(__cplusplus) && !defined(CINTERFACE)
  4979. MIDL_INTERFACE("00000517-0000-0010-8000-00AA006D2EA4")
  4980. ADOCommandConstruction : public IUnknown
  4981. {
  4982. public:
  4983. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_OLEDBCommand(
  4984. /* [retval][out] */ IUnknown **ppOLEDBCommand) = 0;
  4985. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_OLEDBCommand(
  4986. /* [in] */ IUnknown *pOLEDBCommand) = 0;
  4987. };
  4988. #else /* C style interface */
  4989. typedef struct ADOCommandConstructionVtbl
  4990. {
  4991. BEGIN_INTERFACE
  4992. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4993. ADOCommandConstruction * This,
  4994. /* [in] */ REFIID riid,
  4995. /* [iid_is][out] */ void **ppvObject);
  4996. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4997. ADOCommandConstruction * This);
  4998. ULONG ( STDMETHODCALLTYPE *Release )(
  4999. ADOCommandConstruction * This);
  5000. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_OLEDBCommand )(
  5001. ADOCommandConstruction * This,
  5002. /* [retval][out] */ IUnknown **ppOLEDBCommand);
  5003. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_OLEDBCommand )(
  5004. ADOCommandConstruction * This,
  5005. /* [in] */ IUnknown *pOLEDBCommand);
  5006. END_INTERFACE
  5007. } ADOCommandConstructionVtbl;
  5008. interface ADOCommandConstruction
  5009. {
  5010. CONST_VTBL struct ADOCommandConstructionVtbl *lpVtbl;
  5011. };
  5012. #ifdef COBJMACROS
  5013. #define ADOCommandConstruction_QueryInterface(This,riid,ppvObject) \
  5014. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5015. #define ADOCommandConstruction_AddRef(This) \
  5016. (This)->lpVtbl -> AddRef(This)
  5017. #define ADOCommandConstruction_Release(This) \
  5018. (This)->lpVtbl -> Release(This)
  5019. #define ADOCommandConstruction_get_OLEDBCommand(This,ppOLEDBCommand) \
  5020. (This)->lpVtbl -> get_OLEDBCommand(This,ppOLEDBCommand)
  5021. #define ADOCommandConstruction_put_OLEDBCommand(This,pOLEDBCommand) \
  5022. (This)->lpVtbl -> put_OLEDBCommand(This,pOLEDBCommand)
  5023. #endif /* COBJMACROS */
  5024. #endif /* C style interface */
  5025. /* [propget] */ HRESULT STDMETHODCALLTYPE ADOCommandConstruction_get_OLEDBCommand_Proxy(
  5026. ADOCommandConstruction * This,
  5027. /* [retval][out] */ IUnknown **ppOLEDBCommand);
  5028. void __RPC_STUB ADOCommandConstruction_get_OLEDBCommand_Stub(
  5029. IRpcStubBuffer *This,
  5030. IRpcChannelBuffer *_pRpcChannelBuffer,
  5031. PRPC_MESSAGE _pRpcMessage,
  5032. DWORD *_pdwStubPhase);
  5033. /* [propput] */ HRESULT STDMETHODCALLTYPE ADOCommandConstruction_put_OLEDBCommand_Proxy(
  5034. ADOCommandConstruction * This,
  5035. /* [in] */ IUnknown *pOLEDBCommand);
  5036. void __RPC_STUB ADOCommandConstruction_put_OLEDBCommand_Stub(
  5037. IRpcStubBuffer *This,
  5038. IRpcChannelBuffer *_pRpcChannelBuffer,
  5039. PRPC_MESSAGE _pRpcMessage,
  5040. DWORD *_pdwStubPhase);
  5041. #endif /* __ADOCommandConstruction_INTERFACE_DEFINED__ */
  5042. EXTERN_C const CLSID CLSID_Command;
  5043. #ifdef __cplusplus
  5044. Command;
  5045. #endif
  5046. EXTERN_C const CLSID CLSID_Recordset;
  5047. #ifdef __cplusplus
  5048. Recordset;
  5049. #endif
  5050. #ifndef __Recordset15_INTERFACE_DEFINED__
  5051. #define __Recordset15_INTERFACE_DEFINED__
  5052. /* interface Recordset15 */
  5053. /* [object][helpcontext][uuid][nonextensible][hidden][dual] */
  5054. EXTERN_C const IID IID_Recordset15;
  5055. #if defined(__cplusplus) && !defined(CINTERFACE)
  5056. MIDL_INTERFACE("0000050E-0000-0010-8000-00AA006D2EA4")
  5057. Recordset15 : public _ADO
  5058. {
  5059. public:
  5060. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_AbsolutePosition(
  5061. /* [retval][out] */ PositionEnum_Param *pl) = 0;
  5062. virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_AbsolutePosition(
  5063. /* [in] */ PositionEnum_Param Position) = 0;
  5064. virtual /* [helpcontext][propputref][id] */ HRESULT STDMETHODCALLTYPE putref_ActiveConnection(
  5065. /* [in] */ IDispatch *pconn) = 0;
  5066. virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_ActiveConnection(
  5067. /* [in] */ VARIANT vConn) = 0;
  5068. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_ActiveConnection(
  5069. /* [retval][out] */ VARIANT *pvar) = 0;
  5070. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_BOF(
  5071. /* [retval][out] */ VARIANT_BOOL *pb) = 0;
  5072. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Bookmark(
  5073. /* [retval][out] */ VARIANT *pvBookmark) = 0;
  5074. virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_Bookmark(
  5075. /* [in] */ VARIANT vBookmark) = 0;
  5076. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_CacheSize(
  5077. /* [retval][out] */ long *pl) = 0;
  5078. virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_CacheSize(
  5079. /* [in] */ long CacheSize) = 0;
  5080. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_CursorType(
  5081. /* [retval][out] */ CursorTypeEnum *plCursorType) = 0;
  5082. virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_CursorType(
  5083. /* [in] */ CursorTypeEnum lCursorType) = 0;
  5084. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_EOF(
  5085. /* [retval][out] */ VARIANT_BOOL *pb) = 0;
  5086. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Fields(
  5087. /* [retval][out] */ ADOFields **ppvObject) = 0;
  5088. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_LockType(
  5089. /* [retval][out] */ LockTypeEnum *plLockType) = 0;
  5090. virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_LockType(
  5091. /* [in] */ LockTypeEnum lLockType) = 0;
  5092. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_MaxRecords(
  5093. /* [retval][out] */ ADO_LONGPTR *plMaxRecords) = 0;
  5094. virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_MaxRecords(
  5095. /* [in] */ ADO_LONGPTR lMaxRecords) = 0;
  5096. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_RecordCount(
  5097. /* [retval][out] */ ADO_LONGPTR *pl) = 0;
  5098. virtual /* [helpcontext][propputref][id] */ HRESULT STDMETHODCALLTYPE putref_Source(
  5099. /* [in] */ IDispatch *pcmd) = 0;
  5100. virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_Source(
  5101. /* [in] */ BSTR bstrConn) = 0;
  5102. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Source(
  5103. /* [retval][out] */ VARIANT *pvSource) = 0;
  5104. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE AddNew(
  5105. /* [optional][in] */ VARIANT FieldList,
  5106. /* [optional][in] */ VARIANT Values) = 0;
  5107. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE CancelUpdate( void) = 0;
  5108. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Close( void) = 0;
  5109. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Delete(
  5110. /* [defaultvalue][in] */ AffectEnum AffectRecords = adAffectCurrent) = 0;
  5111. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE GetRows(
  5112. /* [defaultvalue][in] */ long Rows,
  5113. /* [optional][in] */ VARIANT Start,
  5114. /* [optional][in] */ VARIANT Fields,
  5115. /* [retval][out] */ VARIANT *pvar) = 0;
  5116. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Move(
  5117. /* [in] */ ADO_LONGPTR NumRecords,
  5118. /* [optional][in] */ VARIANT Start) = 0;
  5119. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE MoveNext( void) = 0;
  5120. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE MovePrevious( void) = 0;
  5121. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE MoveFirst( void) = 0;
  5122. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE MoveLast( void) = 0;
  5123. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Open(
  5124. /* [optional][in] */ VARIANT Source,
  5125. /* [optional][in] */ VARIANT ActiveConnection,
  5126. /* [defaultvalue][in] */ CursorTypeEnum CursorType = adOpenUnspecified,
  5127. /* [defaultvalue][in] */ LockTypeEnum LockType = adLockUnspecified,
  5128. /* [defaultvalue][in] */ LONG Options = adCmdUnspecified) = 0;
  5129. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Requery(
  5130. /* [defaultvalue][in] */ LONG Options = adOptionUnspecified) = 0;
  5131. virtual /* [hidden] */ HRESULT STDMETHODCALLTYPE _xResync(
  5132. /* [defaultvalue][in] */ AffectEnum AffectRecords = adAffectAll) = 0;
  5133. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Update(
  5134. /* [optional][in] */ VARIANT Fields,
  5135. /* [optional][in] */ VARIANT Values) = 0;
  5136. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_AbsolutePage(
  5137. /* [retval][out] */ PositionEnum_Param *pl) = 0;
  5138. virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_AbsolutePage(
  5139. /* [in] */ PositionEnum_Param Page) = 0;
  5140. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_EditMode(
  5141. /* [retval][out] */ EditModeEnum *pl) = 0;
  5142. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Filter(
  5143. /* [retval][out] */ VARIANT *Criteria) = 0;
  5144. virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_Filter(
  5145. /* [in] */ VARIANT Criteria) = 0;
  5146. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_PageCount(
  5147. /* [retval][out] */ ADO_LONGPTR *pl) = 0;
  5148. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_PageSize(
  5149. /* [retval][out] */ long *pl) = 0;
  5150. virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_PageSize(
  5151. /* [in] */ long PageSize) = 0;
  5152. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Sort(
  5153. /* [retval][out] */ BSTR *Criteria) = 0;
  5154. virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_Sort(
  5155. /* [in] */ BSTR Criteria) = 0;
  5156. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Status(
  5157. /* [retval][out] */ long *pl) = 0;
  5158. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_State(
  5159. /* [retval][out] */ LONG *plObjState) = 0;
  5160. virtual /* [hidden] */ HRESULT STDMETHODCALLTYPE _xClone(
  5161. /* [retval][out] */ _ADORecordset **ppvObject) = 0;
  5162. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE UpdateBatch(
  5163. /* [defaultvalue][in] */ AffectEnum AffectRecords = adAffectAll) = 0;
  5164. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE CancelBatch(
  5165. /* [defaultvalue][in] */ AffectEnum AffectRecords = adAffectAll) = 0;
  5166. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_CursorLocation(
  5167. /* [retval][out] */ CursorLocationEnum *plCursorLoc) = 0;
  5168. virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_CursorLocation(
  5169. /* [in] */ CursorLocationEnum lCursorLoc) = 0;
  5170. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE NextRecordset(
  5171. /* [optional][out] */ VARIANT *RecordsAffected,
  5172. /* [retval][out] */ _ADORecordset **ppiRs) = 0;
  5173. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Supports(
  5174. /* [in] */ CursorOptionEnum CursorOptions,
  5175. /* [retval][out] */ VARIANT_BOOL *pb) = 0;
  5176. virtual /* [hidden][id][propget] */ HRESULT STDMETHODCALLTYPE get_Collect(
  5177. /* [in] */ VARIANT Index,
  5178. /* [retval][out] */ VARIANT *pvar) = 0;
  5179. virtual /* [hidden][id][propput] */ HRESULT STDMETHODCALLTYPE put_Collect(
  5180. /* [in] */ VARIANT Index,
  5181. /* [in] */ VARIANT value) = 0;
  5182. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_MarshalOptions(
  5183. /* [retval][out] */ MarshalOptionsEnum *peMarshal) = 0;
  5184. virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_MarshalOptions(
  5185. /* [in] */ MarshalOptionsEnum eMarshal) = 0;
  5186. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Find(
  5187. /* [in] */ BSTR Criteria,
  5188. /* [defaultvalue][in] */ ADO_LONGPTR SkipRecords,
  5189. /* [defaultvalue][in] */ SearchDirectionEnum SearchDirection,
  5190. /* [optional][in] */ VARIANT Start) = 0;
  5191. };
  5192. #else /* C style interface */
  5193. typedef struct Recordset15Vtbl
  5194. {
  5195. BEGIN_INTERFACE
  5196. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  5197. Recordset15 * This,
  5198. /* [in] */ REFIID riid,
  5199. /* [iid_is][out] */ void **ppvObject);
  5200. ULONG ( STDMETHODCALLTYPE *AddRef )(
  5201. Recordset15 * This);
  5202. ULONG ( STDMETHODCALLTYPE *Release )(
  5203. Recordset15 * This);
  5204. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  5205. Recordset15 * This,
  5206. /* [out] */ UINT *pctinfo);
  5207. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  5208. Recordset15 * This,
  5209. /* [in] */ UINT iTInfo,
  5210. /* [in] */ LCID lcid,
  5211. /* [out] */ ITypeInfo **ppTInfo);
  5212. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  5213. Recordset15 * This,
  5214. /* [in] */ REFIID riid,
  5215. /* [size_is][in] */ LPOLESTR *rgszNames,
  5216. /* [in] */ UINT cNames,
  5217. /* [in] */ LCID lcid,
  5218. /* [size_is][out] */ DISPID *rgDispId);
  5219. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  5220. Recordset15 * This,
  5221. /* [in] */ DISPID dispIdMember,
  5222. /* [in] */ REFIID riid,
  5223. /* [in] */ LCID lcid,
  5224. /* [in] */ WORD wFlags,
  5225. /* [out][in] */ DISPPARAMS *pDispParams,
  5226. /* [out] */ VARIANT *pVarResult,
  5227. /* [out] */ EXCEPINFO *pExcepInfo,
  5228. /* [out] */ UINT *puArgErr);
  5229. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Properties )(
  5230. Recordset15 * This,
  5231. /* [retval][out] */ ADOProperties **ppvObject);
  5232. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_AbsolutePosition )(
  5233. Recordset15 * This,
  5234. /* [retval][out] */ PositionEnum_Param *pl);
  5235. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_AbsolutePosition )(
  5236. Recordset15 * This,
  5237. /* [in] */ PositionEnum_Param Position);
  5238. /* [helpcontext][propputref][id] */ HRESULT ( STDMETHODCALLTYPE *putref_ActiveADOConnection )(
  5239. Recordset15 * This,
  5240. /* [in] */ IDispatch *pconn);
  5241. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_ActiveConnection )(
  5242. Recordset15 * This,
  5243. /* [in] */ VARIANT vConn);
  5244. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ActiveConnection )(
  5245. Recordset15 * This,
  5246. /* [retval][out] */ VARIANT *pvar);
  5247. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_BOF )(
  5248. Recordset15 * This,
  5249. /* [retval][out] */ VARIANT_BOOL *pb);
  5250. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Bookmark )(
  5251. Recordset15 * This,
  5252. /* [retval][out] */ VARIANT *pvBookmark);
  5253. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Bookmark )(
  5254. Recordset15 * This,
  5255. /* [in] */ VARIANT vBookmark);
  5256. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CacheSize )(
  5257. Recordset15 * This,
  5258. /* [retval][out] */ long *pl);
  5259. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CacheSize )(
  5260. Recordset15 * This,
  5261. /* [in] */ long CacheSize);
  5262. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CursorType )(
  5263. Recordset15 * This,
  5264. /* [retval][out] */ CursorTypeEnum *plCursorType);
  5265. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CursorType )(
  5266. Recordset15 * This,
  5267. /* [in] */ CursorTypeEnum lCursorType);
  5268. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_EOF )(
  5269. Recordset15 * This,
  5270. /* [retval][out] */ VARIANT_BOOL *pb);
  5271. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Fields )(
  5272. Recordset15 * This,
  5273. /* [retval][out] */ ADOFields **ppvObject);
  5274. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_LockType )(
  5275. Recordset15 * This,
  5276. /* [retval][out] */ LockTypeEnum *plLockType);
  5277. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_LockType )(
  5278. Recordset15 * This,
  5279. /* [in] */ LockTypeEnum lLockType);
  5280. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_MaxRecords )(
  5281. Recordset15 * This,
  5282. /* [retval][out] */ ADO_LONGPTR *plMaxRecords);
  5283. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_MaxRecords )(
  5284. Recordset15 * This,
  5285. /* [in] */ ADO_LONGPTR lMaxRecords);
  5286. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_RecordCount )(
  5287. Recordset15 * This,
  5288. /* [retval][out] */ ADO_LONGPTR *pl);
  5289. /* [helpcontext][propputref][id] */ HRESULT ( STDMETHODCALLTYPE *putref_Source )(
  5290. Recordset15 * This,
  5291. /* [in] */ IDispatch *pcmd);
  5292. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Source )(
  5293. Recordset15 * This,
  5294. /* [in] */ BSTR bstrConn);
  5295. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Source )(
  5296. Recordset15 * This,
  5297. /* [retval][out] */ VARIANT *pvSource);
  5298. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *AddNew )(
  5299. Recordset15 * This,
  5300. /* [optional][in] */ VARIANT FieldList,
  5301. /* [optional][in] */ VARIANT Values);
  5302. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *CancelUpdate )(
  5303. Recordset15 * This);
  5304. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Close )(
  5305. Recordset15 * This);
  5306. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )(
  5307. Recordset15 * This,
  5308. /* [defaultvalue][in] */ AffectEnum AffectRecords);
  5309. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *GetRows )(
  5310. Recordset15 * This,
  5311. /* [defaultvalue][in] */ long Rows,
  5312. /* [optional][in] */ VARIANT Start,
  5313. /* [optional][in] */ VARIANT Fields,
  5314. /* [retval][out] */ VARIANT *pvar);
  5315. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Move )(
  5316. Recordset15 * This,
  5317. /* [in] */ ADO_LONGPTR NumRecords,
  5318. /* [optional][in] */ VARIANT Start);
  5319. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *MoveNext )(
  5320. Recordset15 * This);
  5321. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *MovePrevious )(
  5322. Recordset15 * This);
  5323. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *MoveFirst )(
  5324. Recordset15 * This);
  5325. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *MoveLast )(
  5326. Recordset15 * This);
  5327. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Open )(
  5328. Recordset15 * This,
  5329. /* [optional][in] */ VARIANT Source,
  5330. /* [optional][in] */ VARIANT ActiveConnection,
  5331. /* [defaultvalue][in] */ CursorTypeEnum CursorType,
  5332. /* [defaultvalue][in] */ LockTypeEnum LockType,
  5333. /* [defaultvalue][in] */ LONG Options);
  5334. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Requery )(
  5335. Recordset15 * This,
  5336. /* [defaultvalue][in] */ LONG Options);
  5337. /* [hidden] */ HRESULT ( STDMETHODCALLTYPE *_xResync )(
  5338. Recordset15 * This,
  5339. /* [defaultvalue][in] */ AffectEnum AffectRecords);
  5340. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Update )(
  5341. Recordset15 * This,
  5342. /* [optional][in] */ VARIANT Fields,
  5343. /* [optional][in] */ VARIANT Values);
  5344. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_AbsolutePage )(
  5345. Recordset15 * This,
  5346. /* [retval][out] */ PositionEnum_Param *pl);
  5347. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_AbsolutePage )(
  5348. Recordset15 * This,
  5349. /* [in] */ PositionEnum_Param Page);
  5350. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_EditMode )(
  5351. Recordset15 * This,
  5352. /* [retval][out] */ EditModeEnum *pl);
  5353. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Filter )(
  5354. Recordset15 * This,
  5355. /* [retval][out] */ VARIANT *Criteria);
  5356. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Filter )(
  5357. Recordset15 * This,
  5358. /* [in] */ VARIANT Criteria);
  5359. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_PageCount )(
  5360. Recordset15 * This,
  5361. /* [retval][out] */ ADO_LONGPTR *pl);
  5362. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_PageSize )(
  5363. Recordset15 * This,
  5364. /* [retval][out] */ long *pl);
  5365. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_PageSize )(
  5366. Recordset15 * This,
  5367. /* [in] */ long PageSize);
  5368. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Sort )(
  5369. Recordset15 * This,
  5370. /* [retval][out] */ BSTR *Criteria);
  5371. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Sort )(
  5372. Recordset15 * This,
  5373. /* [in] */ BSTR Criteria);
  5374. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Status )(
  5375. Recordset15 * This,
  5376. /* [retval][out] */ long *pl);
  5377. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_State )(
  5378. Recordset15 * This,
  5379. /* [retval][out] */ LONG *plObjState);
  5380. /* [hidden] */ HRESULT ( STDMETHODCALLTYPE *_xClone )(
  5381. Recordset15 * This,
  5382. /* [retval][out] */ _ADORecordset **ppvObject);
  5383. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *UpdateBatch )(
  5384. Recordset15 * This,
  5385. /* [defaultvalue][in] */ AffectEnum AffectRecords);
  5386. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *CancelBatch )(
  5387. Recordset15 * This,
  5388. /* [defaultvalue][in] */ AffectEnum AffectRecords);
  5389. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CursorLocation )(
  5390. Recordset15 * This,
  5391. /* [retval][out] */ CursorLocationEnum *plCursorLoc);
  5392. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CursorLocation )(
  5393. Recordset15 * This,
  5394. /* [in] */ CursorLocationEnum lCursorLoc);
  5395. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *NextADORecordset )(
  5396. Recordset15 * This,
  5397. /* [optional][out] */ VARIANT *RecordsAffected,
  5398. /* [retval][out] */ _ADORecordset **ppiRs);
  5399. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Supports )(
  5400. Recordset15 * This,
  5401. /* [in] */ CursorOptionEnum CursorOptions,
  5402. /* [retval][out] */ VARIANT_BOOL *pb);
  5403. /* [hidden][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Collect )(
  5404. Recordset15 * This,
  5405. /* [in] */ VARIANT Index,
  5406. /* [retval][out] */ VARIANT *pvar);
  5407. /* [hidden][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Collect )(
  5408. Recordset15 * This,
  5409. /* [in] */ VARIANT Index,
  5410. /* [in] */ VARIANT value);
  5411. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_MarshalOptions )(
  5412. Recordset15 * This,
  5413. /* [retval][out] */ MarshalOptionsEnum *peMarshal);
  5414. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_MarshalOptions )(
  5415. Recordset15 * This,
  5416. /* [in] */ MarshalOptionsEnum eMarshal);
  5417. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Find )(
  5418. Recordset15 * This,
  5419. /* [in] */ BSTR Criteria,
  5420. /* [defaultvalue][in] */ ADO_LONGPTR SkipRecords,
  5421. /* [defaultvalue][in] */ SearchDirectionEnum SearchDirection,
  5422. /* [optional][in] */ VARIANT Start);
  5423. END_INTERFACE
  5424. } Recordset15Vtbl;
  5425. interface Recordset15
  5426. {
  5427. CONST_VTBL struct Recordset15Vtbl *lpVtbl;
  5428. };
  5429. #ifdef COBJMACROS
  5430. #define Recordset15_QueryInterface(This,riid,ppvObject) \
  5431. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5432. #define Recordset15_AddRef(This) \
  5433. (This)->lpVtbl -> AddRef(This)
  5434. #define Recordset15_Release(This) \
  5435. (This)->lpVtbl -> Release(This)
  5436. #define Recordset15_GetTypeInfoCount(This,pctinfo) \
  5437. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  5438. #define Recordset15_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  5439. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  5440. #define Recordset15_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  5441. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  5442. #define Recordset15_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  5443. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  5444. #define Recordset15_get_Properties(This,ppvObject) \
  5445. (This)->lpVtbl -> get_Properties(This,ppvObject)
  5446. #define Recordset15_get_AbsolutePosition(This,pl) \
  5447. (This)->lpVtbl -> get_AbsolutePosition(This,pl)
  5448. #define Recordset15_put_AbsolutePosition(This,Position) \
  5449. (This)->lpVtbl -> put_AbsolutePosition(This,Position)
  5450. #define Recordset15_putref_ActiveConnection(This,pconn) \
  5451. (This)->lpVtbl -> putref_ActiveConnection(This,pconn)
  5452. #define Recordset15_put_ActiveConnection(This,vConn) \
  5453. (This)->lpVtbl -> put_ActiveConnection(This,vConn)
  5454. #define Recordset15_get_ActiveConnection(This,pvar) \
  5455. (This)->lpVtbl -> get_ActiveConnection(This,pvar)
  5456. #define Recordset15_get_BOF(This,pb) \
  5457. (This)->lpVtbl -> get_BOF(This,pb)
  5458. #define Recordset15_get_Bookmark(This,pvBookmark) \
  5459. (This)->lpVtbl -> get_Bookmark(This,pvBookmark)
  5460. #define Recordset15_put_Bookmark(This,vBookmark) \
  5461. (This)->lpVtbl -> put_Bookmark(This,vBookmark)
  5462. #define Recordset15_get_CacheSize(This,pl) \
  5463. (This)->lpVtbl -> get_CacheSize(This,pl)
  5464. #define Recordset15_put_CacheSize(This,CacheSize) \
  5465. (This)->lpVtbl -> put_CacheSize(This,CacheSize)
  5466. #define Recordset15_get_CursorType(This,plCursorType) \
  5467. (This)->lpVtbl -> get_CursorType(This,plCursorType)
  5468. #define Recordset15_put_CursorType(This,lCursorType) \
  5469. (This)->lpVtbl -> put_CursorType(This,lCursorType)
  5470. #define Recordset15_get_EOF(This,pb) \
  5471. (This)->lpVtbl -> get_EOF(This,pb)
  5472. #define Recordset15_get_Fields(This,ppvObject) \
  5473. (This)->lpVtbl -> get_Fields(This,ppvObject)
  5474. #define Recordset15_get_LockType(This,plLockType) \
  5475. (This)->lpVtbl -> get_LockType(This,plLockType)
  5476. #define Recordset15_put_LockType(This,lLockType) \
  5477. (This)->lpVtbl -> put_LockType(This,lLockType)
  5478. #define Recordset15_get_MaxRecords(This,plMaxRecords) \
  5479. (This)->lpVtbl -> get_MaxRecords(This,plMaxRecords)
  5480. #define Recordset15_put_MaxRecords(This,lMaxRecords) \
  5481. (This)->lpVtbl -> put_MaxRecords(This,lMaxRecords)
  5482. #define Recordset15_get_RecordCount(This,pl) \
  5483. (This)->lpVtbl -> get_RecordCount(This,pl)
  5484. #define Recordset15_putref_Source(This,pcmd) \
  5485. (This)->lpVtbl -> putref_Source(This,pcmd)
  5486. #define Recordset15_put_Source(This,bstrConn) \
  5487. (This)->lpVtbl -> put_Source(This,bstrConn)
  5488. #define Recordset15_get_Source(This,pvSource) \
  5489. (This)->lpVtbl -> get_Source(This,pvSource)
  5490. #define Recordset15_AddNew(This,FieldList,Values) \
  5491. (This)->lpVtbl -> AddNew(This,FieldList,Values)
  5492. #define Recordset15_CancelUpdate(This) \
  5493. (This)->lpVtbl -> CancelUpdate(This)
  5494. #define Recordset15_Close(This) \
  5495. (This)->lpVtbl -> Close(This)
  5496. #define Recordset15_Delete(This,AffectRecords) \
  5497. (This)->lpVtbl -> Delete(This,AffectRecords)
  5498. #define Recordset15_GetRows(This,Rows,Start,Fields,pvar) \
  5499. (This)->lpVtbl -> GetRows(This,Rows,Start,Fields,pvar)
  5500. #define Recordset15_Move(This,NumRecords,Start) \
  5501. (This)->lpVtbl -> Move(This,NumRecords,Start)
  5502. #define Recordset15_MoveNext(This) \
  5503. (This)->lpVtbl -> MoveNext(This)
  5504. #define Recordset15_MovePrevious(This) \
  5505. (This)->lpVtbl -> MovePrevious(This)
  5506. #define Recordset15_MoveFirst(This) \
  5507. (This)->lpVtbl -> MoveFirst(This)
  5508. #define Recordset15_MoveLast(This) \
  5509. (This)->lpVtbl -> MoveLast(This)
  5510. #define Recordset15_Open(This,Source,ActiveConnection,CursorType,LockType,Options) \
  5511. (This)->lpVtbl -> Open(This,Source,ActiveConnection,CursorType,LockType,Options)
  5512. #define Recordset15_Requery(This,Options) \
  5513. (This)->lpVtbl -> Requery(This,Options)
  5514. #define Recordset15__xResync(This,AffectRecords) \
  5515. (This)->lpVtbl -> _xResync(This,AffectRecords)
  5516. #define Recordset15_Update(This,Fields,Values) \
  5517. (This)->lpVtbl -> Update(This,Fields,Values)
  5518. #define Recordset15_get_AbsolutePage(This,pl) \
  5519. (This)->lpVtbl -> get_AbsolutePage(This,pl)
  5520. #define Recordset15_put_AbsolutePage(This,Page) \
  5521. (This)->lpVtbl -> put_AbsolutePage(This,Page)
  5522. #define Recordset15_get_EditMode(This,pl) \
  5523. (This)->lpVtbl -> get_EditMode(This,pl)
  5524. #define Recordset15_get_Filter(This,Criteria) \
  5525. (This)->lpVtbl -> get_Filter(This,Criteria)
  5526. #define Recordset15_put_Filter(This,Criteria) \
  5527. (This)->lpVtbl -> put_Filter(This,Criteria)
  5528. #define Recordset15_get_PageCount(This,pl) \
  5529. (This)->lpVtbl -> get_PageCount(This,pl)
  5530. #define Recordset15_get_PageSize(This,pl) \
  5531. (This)->lpVtbl -> get_PageSize(This,pl)
  5532. #define Recordset15_put_PageSize(This,PageSize) \
  5533. (This)->lpVtbl -> put_PageSize(This,PageSize)
  5534. #define Recordset15_get_Sort(This,Criteria) \
  5535. (This)->lpVtbl -> get_Sort(This,Criteria)
  5536. #define Recordset15_put_Sort(This,Criteria) \
  5537. (This)->lpVtbl -> put_Sort(This,Criteria)
  5538. #define Recordset15_get_Status(This,pl) \
  5539. (This)->lpVtbl -> get_Status(This,pl)
  5540. #define Recordset15_get_State(This,plObjState) \
  5541. (This)->lpVtbl -> get_State(This,plObjState)
  5542. #define Recordset15__xClone(This,ppvObject) \
  5543. (This)->lpVtbl -> _xClone(This,ppvObject)
  5544. #define Recordset15_UpdateBatch(This,AffectRecords) \
  5545. (This)->lpVtbl -> UpdateBatch(This,AffectRecords)
  5546. #define Recordset15_CancelBatch(This,AffectRecords) \
  5547. (This)->lpVtbl -> CancelBatch(This,AffectRecords)
  5548. #define Recordset15_get_CursorLocation(This,plCursorLoc) \
  5549. (This)->lpVtbl -> get_CursorLocation(This,plCursorLoc)
  5550. #define Recordset15_put_CursorLocation(This,lCursorLoc) \
  5551. (This)->lpVtbl -> put_CursorLocation(This,lCursorLoc)
  5552. #define Recordset15_NextRecordset(This,RecordsAffected,ppiRs) \
  5553. (This)->lpVtbl -> NextRecordset(This,RecordsAffected,ppiRs)
  5554. #define Recordset15_Supports(This,CursorOptions,pb) \
  5555. (This)->lpVtbl -> Supports(This,CursorOptions,pb)
  5556. #define Recordset15_get_Collect(This,Index,pvar) \
  5557. (This)->lpVtbl -> get_Collect(This,Index,pvar)
  5558. #define Recordset15_put_Collect(This,Index,value) \
  5559. (This)->lpVtbl -> put_Collect(This,Index,value)
  5560. #define Recordset15_get_MarshalOptions(This,peMarshal) \
  5561. (This)->lpVtbl -> get_MarshalOptions(This,peMarshal)
  5562. #define Recordset15_put_MarshalOptions(This,eMarshal) \
  5563. (This)->lpVtbl -> put_MarshalOptions(This,eMarshal)
  5564. #define Recordset15_Find(This,Criteria,SkipRecords,SearchDirection,Start) \
  5565. (This)->lpVtbl -> Find(This,Criteria,SkipRecords,SearchDirection,Start)
  5566. #endif /* COBJMACROS */
  5567. #endif /* C style interface */
  5568. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Recordset15_get_AbsolutePosition_Proxy(
  5569. Recordset15 * This,
  5570. /* [retval][out] */ PositionEnum_Param *pl);
  5571. void __RPC_STUB Recordset15_get_AbsolutePosition_Stub(
  5572. IRpcStubBuffer *This,
  5573. IRpcChannelBuffer *_pRpcChannelBuffer,
  5574. PRPC_MESSAGE _pRpcMessage,
  5575. DWORD *_pdwStubPhase);
  5576. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Recordset15_put_AbsolutePosition_Proxy(
  5577. Recordset15 * This,
  5578. /* [in] */ PositionEnum_Param Position);
  5579. void __RPC_STUB Recordset15_put_AbsolutePosition_Stub(
  5580. IRpcStubBuffer *This,
  5581. IRpcChannelBuffer *_pRpcChannelBuffer,
  5582. PRPC_MESSAGE _pRpcMessage,
  5583. DWORD *_pdwStubPhase);
  5584. /* [helpcontext][propputref][id] */ HRESULT STDMETHODCALLTYPE Recordset15_putref_ActiveConnection_Proxy(
  5585. Recordset15 * This,
  5586. /* [in] */ IDispatch *pconn);
  5587. void __RPC_STUB Recordset15_putref_ActiveConnection_Stub(
  5588. IRpcStubBuffer *This,
  5589. IRpcChannelBuffer *_pRpcChannelBuffer,
  5590. PRPC_MESSAGE _pRpcMessage,
  5591. DWORD *_pdwStubPhase);
  5592. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Recordset15_put_ActiveConnection_Proxy(
  5593. Recordset15 * This,
  5594. /* [in] */ VARIANT vConn);
  5595. void __RPC_STUB Recordset15_put_ActiveConnection_Stub(
  5596. IRpcStubBuffer *This,
  5597. IRpcChannelBuffer *_pRpcChannelBuffer,
  5598. PRPC_MESSAGE _pRpcMessage,
  5599. DWORD *_pdwStubPhase);
  5600. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Recordset15_get_ActiveConnection_Proxy(
  5601. Recordset15 * This,
  5602. /* [retval][out] */ VARIANT *pvar);
  5603. void __RPC_STUB Recordset15_get_ActiveConnection_Stub(
  5604. IRpcStubBuffer *This,
  5605. IRpcChannelBuffer *_pRpcChannelBuffer,
  5606. PRPC_MESSAGE _pRpcMessage,
  5607. DWORD *_pdwStubPhase);
  5608. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Recordset15_get_BOF_Proxy(
  5609. Recordset15 * This,
  5610. /* [retval][out] */ VARIANT_BOOL *pb);
  5611. void __RPC_STUB Recordset15_get_BOF_Stub(
  5612. IRpcStubBuffer *This,
  5613. IRpcChannelBuffer *_pRpcChannelBuffer,
  5614. PRPC_MESSAGE _pRpcMessage,
  5615. DWORD *_pdwStubPhase);
  5616. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Recordset15_get_Bookmark_Proxy(
  5617. Recordset15 * This,
  5618. /* [retval][out] */ VARIANT *pvBookmark);
  5619. void __RPC_STUB Recordset15_get_Bookmark_Stub(
  5620. IRpcStubBuffer *This,
  5621. IRpcChannelBuffer *_pRpcChannelBuffer,
  5622. PRPC_MESSAGE _pRpcMessage,
  5623. DWORD *_pdwStubPhase);
  5624. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Recordset15_put_Bookmark_Proxy(
  5625. Recordset15 * This,
  5626. /* [in] */ VARIANT vBookmark);
  5627. void __RPC_STUB Recordset15_put_Bookmark_Stub(
  5628. IRpcStubBuffer *This,
  5629. IRpcChannelBuffer *_pRpcChannelBuffer,
  5630. PRPC_MESSAGE _pRpcMessage,
  5631. DWORD *_pdwStubPhase);
  5632. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Recordset15_get_CacheSize_Proxy(
  5633. Recordset15 * This,
  5634. /* [retval][out] */ long *pl);
  5635. void __RPC_STUB Recordset15_get_CacheSize_Stub(
  5636. IRpcStubBuffer *This,
  5637. IRpcChannelBuffer *_pRpcChannelBuffer,
  5638. PRPC_MESSAGE _pRpcMessage,
  5639. DWORD *_pdwStubPhase);
  5640. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Recordset15_put_CacheSize_Proxy(
  5641. Recordset15 * This,
  5642. /* [in] */ long CacheSize);
  5643. void __RPC_STUB Recordset15_put_CacheSize_Stub(
  5644. IRpcStubBuffer *This,
  5645. IRpcChannelBuffer *_pRpcChannelBuffer,
  5646. PRPC_MESSAGE _pRpcMessage,
  5647. DWORD *_pdwStubPhase);
  5648. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Recordset15_get_CursorType_Proxy(
  5649. Recordset15 * This,
  5650. /* [retval][out] */ CursorTypeEnum *plCursorType);
  5651. void __RPC_STUB Recordset15_get_CursorType_Stub(
  5652. IRpcStubBuffer *This,
  5653. IRpcChannelBuffer *_pRpcChannelBuffer,
  5654. PRPC_MESSAGE _pRpcMessage,
  5655. DWORD *_pdwStubPhase);
  5656. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Recordset15_put_CursorType_Proxy(
  5657. Recordset15 * This,
  5658. /* [in] */ CursorTypeEnum lCursorType);
  5659. void __RPC_STUB Recordset15_put_CursorType_Stub(
  5660. IRpcStubBuffer *This,
  5661. IRpcChannelBuffer *_pRpcChannelBuffer,
  5662. PRPC_MESSAGE _pRpcMessage,
  5663. DWORD *_pdwStubPhase);
  5664. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Recordset15_get_EOF_Proxy(
  5665. Recordset15 * This,
  5666. /* [retval][out] */ VARIANT_BOOL *pb);
  5667. void __RPC_STUB Recordset15_get_EOF_Stub(
  5668. IRpcStubBuffer *This,
  5669. IRpcChannelBuffer *_pRpcChannelBuffer,
  5670. PRPC_MESSAGE _pRpcMessage,
  5671. DWORD *_pdwStubPhase);
  5672. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Recordset15_get_Fields_Proxy(
  5673. Recordset15 * This,
  5674. /* [retval][out] */ ADOFields **ppvObject);
  5675. void __RPC_STUB Recordset15_get_Fields_Stub(
  5676. IRpcStubBuffer *This,
  5677. IRpcChannelBuffer *_pRpcChannelBuffer,
  5678. PRPC_MESSAGE _pRpcMessage,
  5679. DWORD *_pdwStubPhase);
  5680. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Recordset15_get_LockType_Proxy(
  5681. Recordset15 * This,
  5682. /* [retval][out] */ LockTypeEnum *plLockType);
  5683. void __RPC_STUB Recordset15_get_LockType_Stub(
  5684. IRpcStubBuffer *This,
  5685. IRpcChannelBuffer *_pRpcChannelBuffer,
  5686. PRPC_MESSAGE _pRpcMessage,
  5687. DWORD *_pdwStubPhase);
  5688. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Recordset15_put_LockType_Proxy(
  5689. Recordset15 * This,
  5690. /* [in] */ LockTypeEnum lLockType);
  5691. void __RPC_STUB Recordset15_put_LockType_Stub(
  5692. IRpcStubBuffer *This,
  5693. IRpcChannelBuffer *_pRpcChannelBuffer,
  5694. PRPC_MESSAGE _pRpcMessage,
  5695. DWORD *_pdwStubPhase);
  5696. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Recordset15_get_MaxRecords_Proxy(
  5697. Recordset15 * This,
  5698. /* [retval][out] */ ADO_LONGPTR *plMaxRecords);
  5699. void __RPC_STUB Recordset15_get_MaxRecords_Stub(
  5700. IRpcStubBuffer *This,
  5701. IRpcChannelBuffer *_pRpcChannelBuffer,
  5702. PRPC_MESSAGE _pRpcMessage,
  5703. DWORD *_pdwStubPhase);
  5704. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Recordset15_put_MaxRecords_Proxy(
  5705. Recordset15 * This,
  5706. /* [in] */ ADO_LONGPTR lMaxRecords);
  5707. void __RPC_STUB Recordset15_put_MaxRecords_Stub(
  5708. IRpcStubBuffer *This,
  5709. IRpcChannelBuffer *_pRpcChannelBuffer,
  5710. PRPC_MESSAGE _pRpcMessage,
  5711. DWORD *_pdwStubPhase);
  5712. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Recordset15_get_RecordCount_Proxy(
  5713. Recordset15 * This,
  5714. /* [retval][out] */ ADO_LONGPTR *pl);
  5715. void __RPC_STUB Recordset15_get_RecordCount_Stub(
  5716. IRpcStubBuffer *This,
  5717. IRpcChannelBuffer *_pRpcChannelBuffer,
  5718. PRPC_MESSAGE _pRpcMessage,
  5719. DWORD *_pdwStubPhase);
  5720. /* [helpcontext][propputref][id] */ HRESULT STDMETHODCALLTYPE Recordset15_putref_Source_Proxy(
  5721. Recordset15 * This,
  5722. /* [in] */ IDispatch *pcmd);
  5723. void __RPC_STUB Recordset15_putref_Source_Stub(
  5724. IRpcStubBuffer *This,
  5725. IRpcChannelBuffer *_pRpcChannelBuffer,
  5726. PRPC_MESSAGE _pRpcMessage,
  5727. DWORD *_pdwStubPhase);
  5728. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Recordset15_put_Source_Proxy(
  5729. Recordset15 * This,
  5730. /* [in] */ BSTR bstrConn);
  5731. void __RPC_STUB Recordset15_put_Source_Stub(
  5732. IRpcStubBuffer *This,
  5733. IRpcChannelBuffer *_pRpcChannelBuffer,
  5734. PRPC_MESSAGE _pRpcMessage,
  5735. DWORD *_pdwStubPhase);
  5736. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Recordset15_get_Source_Proxy(
  5737. Recordset15 * This,
  5738. /* [retval][out] */ VARIANT *pvSource);
  5739. void __RPC_STUB Recordset15_get_Source_Stub(
  5740. IRpcStubBuffer *This,
  5741. IRpcChannelBuffer *_pRpcChannelBuffer,
  5742. PRPC_MESSAGE _pRpcMessage,
  5743. DWORD *_pdwStubPhase);
  5744. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Recordset15_AddNew_Proxy(
  5745. Recordset15 * This,
  5746. /* [optional][in] */ VARIANT FieldList,
  5747. /* [optional][in] */ VARIANT Values);
  5748. void __RPC_STUB Recordset15_AddNew_Stub(
  5749. IRpcStubBuffer *This,
  5750. IRpcChannelBuffer *_pRpcChannelBuffer,
  5751. PRPC_MESSAGE _pRpcMessage,
  5752. DWORD *_pdwStubPhase);
  5753. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Recordset15_CancelUpdate_Proxy(
  5754. Recordset15 * This);
  5755. void __RPC_STUB Recordset15_CancelUpdate_Stub(
  5756. IRpcStubBuffer *This,
  5757. IRpcChannelBuffer *_pRpcChannelBuffer,
  5758. PRPC_MESSAGE _pRpcMessage,
  5759. DWORD *_pdwStubPhase);
  5760. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Recordset15_Close_Proxy(
  5761. Recordset15 * This);
  5762. void __RPC_STUB Recordset15_Close_Stub(
  5763. IRpcStubBuffer *This,
  5764. IRpcChannelBuffer *_pRpcChannelBuffer,
  5765. PRPC_MESSAGE _pRpcMessage,
  5766. DWORD *_pdwStubPhase);
  5767. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Recordset15_Delete_Proxy(
  5768. Recordset15 * This,
  5769. /* [defaultvalue][in] */ AffectEnum AffectRecords);
  5770. void __RPC_STUB Recordset15_Delete_Stub(
  5771. IRpcStubBuffer *This,
  5772. IRpcChannelBuffer *_pRpcChannelBuffer,
  5773. PRPC_MESSAGE _pRpcMessage,
  5774. DWORD *_pdwStubPhase);
  5775. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Recordset15_GetRows_Proxy(
  5776. Recordset15 * This,
  5777. /* [defaultvalue][in] */ long Rows,
  5778. /* [optional][in] */ VARIANT Start,
  5779. /* [optional][in] */ VARIANT Fields,
  5780. /* [retval][out] */ VARIANT *pvar);
  5781. void __RPC_STUB Recordset15_GetRows_Stub(
  5782. IRpcStubBuffer *This,
  5783. IRpcChannelBuffer *_pRpcChannelBuffer,
  5784. PRPC_MESSAGE _pRpcMessage,
  5785. DWORD *_pdwStubPhase);
  5786. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Recordset15_Move_Proxy(
  5787. Recordset15 * This,
  5788. /* [in] */ ADO_LONGPTR NumRecords,
  5789. /* [optional][in] */ VARIANT Start);
  5790. void __RPC_STUB Recordset15_Move_Stub(
  5791. IRpcStubBuffer *This,
  5792. IRpcChannelBuffer *_pRpcChannelBuffer,
  5793. PRPC_MESSAGE _pRpcMessage,
  5794. DWORD *_pdwStubPhase);
  5795. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Recordset15_MoveNext_Proxy(
  5796. Recordset15 * This);
  5797. void __RPC_STUB Recordset15_MoveNext_Stub(
  5798. IRpcStubBuffer *This,
  5799. IRpcChannelBuffer *_pRpcChannelBuffer,
  5800. PRPC_MESSAGE _pRpcMessage,
  5801. DWORD *_pdwStubPhase);
  5802. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Recordset15_MovePrevious_Proxy(
  5803. Recordset15 * This);
  5804. void __RPC_STUB Recordset15_MovePrevious_Stub(
  5805. IRpcStubBuffer *This,
  5806. IRpcChannelBuffer *_pRpcChannelBuffer,
  5807. PRPC_MESSAGE _pRpcMessage,
  5808. DWORD *_pdwStubPhase);
  5809. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Recordset15_MoveFirst_Proxy(
  5810. Recordset15 * This);
  5811. void __RPC_STUB Recordset15_MoveFirst_Stub(
  5812. IRpcStubBuffer *This,
  5813. IRpcChannelBuffer *_pRpcChannelBuffer,
  5814. PRPC_MESSAGE _pRpcMessage,
  5815. DWORD *_pdwStubPhase);
  5816. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Recordset15_MoveLast_Proxy(
  5817. Recordset15 * This);
  5818. void __RPC_STUB Recordset15_MoveLast_Stub(
  5819. IRpcStubBuffer *This,
  5820. IRpcChannelBuffer *_pRpcChannelBuffer,
  5821. PRPC_MESSAGE _pRpcMessage,
  5822. DWORD *_pdwStubPhase);
  5823. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Recordset15_Open_Proxy(
  5824. Recordset15 * This,
  5825. /* [optional][in] */ VARIANT Source,
  5826. /* [optional][in] */ VARIANT ActiveConnection,
  5827. /* [defaultvalue][in] */ CursorTypeEnum CursorType,
  5828. /* [defaultvalue][in] */ LockTypeEnum LockType,
  5829. /* [defaultvalue][in] */ LONG Options);
  5830. void __RPC_STUB Recordset15_Open_Stub(
  5831. IRpcStubBuffer *This,
  5832. IRpcChannelBuffer *_pRpcChannelBuffer,
  5833. PRPC_MESSAGE _pRpcMessage,
  5834. DWORD *_pdwStubPhase);
  5835. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Recordset15_Requery_Proxy(
  5836. Recordset15 * This,
  5837. /* [defaultvalue][in] */ LONG Options);
  5838. void __RPC_STUB Recordset15_Requery_Stub(
  5839. IRpcStubBuffer *This,
  5840. IRpcChannelBuffer *_pRpcChannelBuffer,
  5841. PRPC_MESSAGE _pRpcMessage,
  5842. DWORD *_pdwStubPhase);
  5843. /* [hidden] */ HRESULT STDMETHODCALLTYPE Recordset15__xResync_Proxy(
  5844. Recordset15 * This,
  5845. /* [defaultvalue][in] */ AffectEnum AffectRecords);
  5846. void __RPC_STUB Recordset15__xResync_Stub(
  5847. IRpcStubBuffer *This,
  5848. IRpcChannelBuffer *_pRpcChannelBuffer,
  5849. PRPC_MESSAGE _pRpcMessage,
  5850. DWORD *_pdwStubPhase);
  5851. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Recordset15_Update_Proxy(
  5852. Recordset15 * This,
  5853. /* [optional][in] */ VARIANT Fields,
  5854. /* [optional][in] */ VARIANT Values);
  5855. void __RPC_STUB Recordset15_Update_Stub(
  5856. IRpcStubBuffer *This,
  5857. IRpcChannelBuffer *_pRpcChannelBuffer,
  5858. PRPC_MESSAGE _pRpcMessage,
  5859. DWORD *_pdwStubPhase);
  5860. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Recordset15_get_AbsolutePage_Proxy(
  5861. Recordset15 * This,
  5862. /* [retval][out] */ PositionEnum_Param *pl);
  5863. void __RPC_STUB Recordset15_get_AbsolutePage_Stub(
  5864. IRpcStubBuffer *This,
  5865. IRpcChannelBuffer *_pRpcChannelBuffer,
  5866. PRPC_MESSAGE _pRpcMessage,
  5867. DWORD *_pdwStubPhase);
  5868. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Recordset15_put_AbsolutePage_Proxy(
  5869. Recordset15 * This,
  5870. /* [in] */ PositionEnum_Param Page);
  5871. void __RPC_STUB Recordset15_put_AbsolutePage_Stub(
  5872. IRpcStubBuffer *This,
  5873. IRpcChannelBuffer *_pRpcChannelBuffer,
  5874. PRPC_MESSAGE _pRpcMessage,
  5875. DWORD *_pdwStubPhase);
  5876. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Recordset15_get_EditMode_Proxy(
  5877. Recordset15 * This,
  5878. /* [retval][out] */ EditModeEnum *pl);
  5879. void __RPC_STUB Recordset15_get_EditMode_Stub(
  5880. IRpcStubBuffer *This,
  5881. IRpcChannelBuffer *_pRpcChannelBuffer,
  5882. PRPC_MESSAGE _pRpcMessage,
  5883. DWORD *_pdwStubPhase);
  5884. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Recordset15_get_Filter_Proxy(
  5885. Recordset15 * This,
  5886. /* [retval][out] */ VARIANT *Criteria);
  5887. void __RPC_STUB Recordset15_get_Filter_Stub(
  5888. IRpcStubBuffer *This,
  5889. IRpcChannelBuffer *_pRpcChannelBuffer,
  5890. PRPC_MESSAGE _pRpcMessage,
  5891. DWORD *_pdwStubPhase);
  5892. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Recordset15_put_Filter_Proxy(
  5893. Recordset15 * This,
  5894. /* [in] */ VARIANT Criteria);
  5895. void __RPC_STUB Recordset15_put_Filter_Stub(
  5896. IRpcStubBuffer *This,
  5897. IRpcChannelBuffer *_pRpcChannelBuffer,
  5898. PRPC_MESSAGE _pRpcMessage,
  5899. DWORD *_pdwStubPhase);
  5900. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Recordset15_get_PageCount_Proxy(
  5901. Recordset15 * This,
  5902. /* [retval][out] */ ADO_LONGPTR *pl);
  5903. void __RPC_STUB Recordset15_get_PageCount_Stub(
  5904. IRpcStubBuffer *This,
  5905. IRpcChannelBuffer *_pRpcChannelBuffer,
  5906. PRPC_MESSAGE _pRpcMessage,
  5907. DWORD *_pdwStubPhase);
  5908. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Recordset15_get_PageSize_Proxy(
  5909. Recordset15 * This,
  5910. /* [retval][out] */ long *pl);
  5911. void __RPC_STUB Recordset15_get_PageSize_Stub(
  5912. IRpcStubBuffer *This,
  5913. IRpcChannelBuffer *_pRpcChannelBuffer,
  5914. PRPC_MESSAGE _pRpcMessage,
  5915. DWORD *_pdwStubPhase);
  5916. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Recordset15_put_PageSize_Proxy(
  5917. Recordset15 * This,
  5918. /* [in] */ long PageSize);
  5919. void __RPC_STUB Recordset15_put_PageSize_Stub(
  5920. IRpcStubBuffer *This,
  5921. IRpcChannelBuffer *_pRpcChannelBuffer,
  5922. PRPC_MESSAGE _pRpcMessage,
  5923. DWORD *_pdwStubPhase);
  5924. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Recordset15_get_Sort_Proxy(
  5925. Recordset15 * This,
  5926. /* [retval][out] */ BSTR *Criteria);
  5927. void __RPC_STUB Recordset15_get_Sort_Stub(
  5928. IRpcStubBuffer *This,
  5929. IRpcChannelBuffer *_pRpcChannelBuffer,
  5930. PRPC_MESSAGE _pRpcMessage,
  5931. DWORD *_pdwStubPhase);
  5932. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Recordset15_put_Sort_Proxy(
  5933. Recordset15 * This,
  5934. /* [in] */ BSTR Criteria);
  5935. void __RPC_STUB Recordset15_put_Sort_Stub(
  5936. IRpcStubBuffer *This,
  5937. IRpcChannelBuffer *_pRpcChannelBuffer,
  5938. PRPC_MESSAGE _pRpcMessage,
  5939. DWORD *_pdwStubPhase);
  5940. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Recordset15_get_Status_Proxy(
  5941. Recordset15 * This,
  5942. /* [retval][out] */ long *pl);
  5943. void __RPC_STUB Recordset15_get_Status_Stub(
  5944. IRpcStubBuffer *This,
  5945. IRpcChannelBuffer *_pRpcChannelBuffer,
  5946. PRPC_MESSAGE _pRpcMessage,
  5947. DWORD *_pdwStubPhase);
  5948. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Recordset15_get_State_Proxy(
  5949. Recordset15 * This,
  5950. /* [retval][out] */ LONG *plObjState);
  5951. void __RPC_STUB Recordset15_get_State_Stub(
  5952. IRpcStubBuffer *This,
  5953. IRpcChannelBuffer *_pRpcChannelBuffer,
  5954. PRPC_MESSAGE _pRpcMessage,
  5955. DWORD *_pdwStubPhase);
  5956. /* [hidden] */ HRESULT STDMETHODCALLTYPE Recordset15__xClone_Proxy(
  5957. Recordset15 * This,
  5958. /* [retval][out] */ _ADORecordset **ppvObject);
  5959. void __RPC_STUB Recordset15__xClone_Stub(
  5960. IRpcStubBuffer *This,
  5961. IRpcChannelBuffer *_pRpcChannelBuffer,
  5962. PRPC_MESSAGE _pRpcMessage,
  5963. DWORD *_pdwStubPhase);
  5964. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Recordset15_UpdateBatch_Proxy(
  5965. Recordset15 * This,
  5966. /* [defaultvalue][in] */ AffectEnum AffectRecords);
  5967. void __RPC_STUB Recordset15_UpdateBatch_Stub(
  5968. IRpcStubBuffer *This,
  5969. IRpcChannelBuffer *_pRpcChannelBuffer,
  5970. PRPC_MESSAGE _pRpcMessage,
  5971. DWORD *_pdwStubPhase);
  5972. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Recordset15_CancelBatch_Proxy(
  5973. Recordset15 * This,
  5974. /* [defaultvalue][in] */ AffectEnum AffectRecords);
  5975. void __RPC_STUB Recordset15_CancelBatch_Stub(
  5976. IRpcStubBuffer *This,
  5977. IRpcChannelBuffer *_pRpcChannelBuffer,
  5978. PRPC_MESSAGE _pRpcMessage,
  5979. DWORD *_pdwStubPhase);
  5980. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Recordset15_get_CursorLocation_Proxy(
  5981. Recordset15 * This,
  5982. /* [retval][out] */ CursorLocationEnum *plCursorLoc);
  5983. void __RPC_STUB Recordset15_get_CursorLocation_Stub(
  5984. IRpcStubBuffer *This,
  5985. IRpcChannelBuffer *_pRpcChannelBuffer,
  5986. PRPC_MESSAGE _pRpcMessage,
  5987. DWORD *_pdwStubPhase);
  5988. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Recordset15_put_CursorLocation_Proxy(
  5989. Recordset15 * This,
  5990. /* [in] */ CursorLocationEnum lCursorLoc);
  5991. void __RPC_STUB Recordset15_put_CursorLocation_Stub(
  5992. IRpcStubBuffer *This,
  5993. IRpcChannelBuffer *_pRpcChannelBuffer,
  5994. PRPC_MESSAGE _pRpcMessage,
  5995. DWORD *_pdwStubPhase);
  5996. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Recordset15_NextRecordset_Proxy(
  5997. Recordset15 * This,
  5998. /* [optional][out] */ VARIANT *RecordsAffected,
  5999. /* [retval][out] */ _ADORecordset **ppiRs);
  6000. void __RPC_STUB Recordset15_NextRecordset_Stub(
  6001. IRpcStubBuffer *This,
  6002. IRpcChannelBuffer *_pRpcChannelBuffer,
  6003. PRPC_MESSAGE _pRpcMessage,
  6004. DWORD *_pdwStubPhase);
  6005. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Recordset15_Supports_Proxy(
  6006. Recordset15 * This,
  6007. /* [in] */ CursorOptionEnum CursorOptions,
  6008. /* [retval][out] */ VARIANT_BOOL *pb);
  6009. void __RPC_STUB Recordset15_Supports_Stub(
  6010. IRpcStubBuffer *This,
  6011. IRpcChannelBuffer *_pRpcChannelBuffer,
  6012. PRPC_MESSAGE _pRpcMessage,
  6013. DWORD *_pdwStubPhase);
  6014. /* [hidden][id][propget] */ HRESULT STDMETHODCALLTYPE Recordset15_get_Collect_Proxy(
  6015. Recordset15 * This,
  6016. /* [in] */ VARIANT Index,
  6017. /* [retval][out] */ VARIANT *pvar);
  6018. void __RPC_STUB Recordset15_get_Collect_Stub(
  6019. IRpcStubBuffer *This,
  6020. IRpcChannelBuffer *_pRpcChannelBuffer,
  6021. PRPC_MESSAGE _pRpcMessage,
  6022. DWORD *_pdwStubPhase);
  6023. /* [hidden][id][propput] */ HRESULT STDMETHODCALLTYPE Recordset15_put_Collect_Proxy(
  6024. Recordset15 * This,
  6025. /* [in] */ VARIANT Index,
  6026. /* [in] */ VARIANT value);
  6027. void __RPC_STUB Recordset15_put_Collect_Stub(
  6028. IRpcStubBuffer *This,
  6029. IRpcChannelBuffer *_pRpcChannelBuffer,
  6030. PRPC_MESSAGE _pRpcMessage,
  6031. DWORD *_pdwStubPhase);
  6032. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Recordset15_get_MarshalOptions_Proxy(
  6033. Recordset15 * This,
  6034. /* [retval][out] */ MarshalOptionsEnum *peMarshal);
  6035. void __RPC_STUB Recordset15_get_MarshalOptions_Stub(
  6036. IRpcStubBuffer *This,
  6037. IRpcChannelBuffer *_pRpcChannelBuffer,
  6038. PRPC_MESSAGE _pRpcMessage,
  6039. DWORD *_pdwStubPhase);
  6040. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Recordset15_put_MarshalOptions_Proxy(
  6041. Recordset15 * This,
  6042. /* [in] */ MarshalOptionsEnum eMarshal);
  6043. void __RPC_STUB Recordset15_put_MarshalOptions_Stub(
  6044. IRpcStubBuffer *This,
  6045. IRpcChannelBuffer *_pRpcChannelBuffer,
  6046. PRPC_MESSAGE _pRpcMessage,
  6047. DWORD *_pdwStubPhase);
  6048. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Recordset15_Find_Proxy(
  6049. Recordset15 * This,
  6050. /* [in] */ BSTR Criteria,
  6051. /* [defaultvalue][in] */ ADO_LONGPTR SkipRecords,
  6052. /* [defaultvalue][in] */ SearchDirectionEnum SearchDirection,
  6053. /* [optional][in] */ VARIANT Start);
  6054. void __RPC_STUB Recordset15_Find_Stub(
  6055. IRpcStubBuffer *This,
  6056. IRpcChannelBuffer *_pRpcChannelBuffer,
  6057. PRPC_MESSAGE _pRpcMessage,
  6058. DWORD *_pdwStubPhase);
  6059. #endif /* __Recordset15_INTERFACE_DEFINED__ */
  6060. #ifndef __Recordset20_INTERFACE_DEFINED__
  6061. #define __Recordset20_INTERFACE_DEFINED__
  6062. /* interface Recordset20 */
  6063. /* [object][helpcontext][uuid][nonextensible][hidden][dual] */
  6064. EXTERN_C const IID IID_Recordset20;
  6065. #if defined(__cplusplus) && !defined(CINTERFACE)
  6066. MIDL_INTERFACE("0000054F-0000-0010-8000-00AA006D2EA4")
  6067. Recordset20 : public Recordset15
  6068. {
  6069. public:
  6070. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Cancel( void) = 0;
  6071. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_DataSource(
  6072. /* [retval][out] */ IUnknown **ppunkDataSource) = 0;
  6073. virtual /* [helpcontext][propputref][id] */ HRESULT STDMETHODCALLTYPE putref_DataSource(
  6074. /* [in] */ IUnknown *punkDataSource) = 0;
  6075. virtual /* [hidden] */ HRESULT STDMETHODCALLTYPE _xSave(
  6076. /* [defaultvalue][in] */ BSTR FileName = L"",
  6077. /* [defaultvalue][in] */ PersistFormatEnum PersistFormat = adPersistADTG) = 0;
  6078. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_ActiveCommand(
  6079. /* [retval][out] */ IDispatch **ppCmd) = 0;
  6080. virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_StayInSync(
  6081. /* [in] */ VARIANT_BOOL bStayInSync) = 0;
  6082. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_StayInSync(
  6083. /* [retval][out] */ VARIANT_BOOL *pbStayInSync) = 0;
  6084. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE GetString(
  6085. /* [defaultvalue][in] */ StringFormatEnum StringFormat,
  6086. /* [defaultvalue][in] */ long NumRows,
  6087. /* [defaultvalue][in] */ BSTR ColumnDelimeter,
  6088. /* [defaultvalue][in] */ BSTR RowDelimeter,
  6089. /* [defaultvalue][in] */ BSTR NullExpr,
  6090. /* [retval][out] */ BSTR *pRetString) = 0;
  6091. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_DataMember(
  6092. /* [retval][out] */ BSTR *pbstrDataMember) = 0;
  6093. virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_DataMember(
  6094. /* [in] */ BSTR bstrDataMember) = 0;
  6095. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE CompareBookmarks(
  6096. /* [in] */ VARIANT Bookmark1,
  6097. /* [in] */ VARIANT Bookmark2,
  6098. /* [retval][out] */ CompareEnum *pCompare) = 0;
  6099. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Clone(
  6100. /* [defaultvalue][in] */ LockTypeEnum LockType,
  6101. /* [retval][out] */ _ADORecordset **ppvObject) = 0;
  6102. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Resync(
  6103. /* [defaultvalue][in] */ AffectEnum AffectRecords = adAffectAll,
  6104. /* [defaultvalue][in] */ ResyncEnum ResyncValues = adResyncAllValues) = 0;
  6105. };
  6106. #else /* C style interface */
  6107. typedef struct Recordset20Vtbl
  6108. {
  6109. BEGIN_INTERFACE
  6110. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  6111. Recordset20 * This,
  6112. /* [in] */ REFIID riid,
  6113. /* [iid_is][out] */ void **ppvObject);
  6114. ULONG ( STDMETHODCALLTYPE *AddRef )(
  6115. Recordset20 * This);
  6116. ULONG ( STDMETHODCALLTYPE *Release )(
  6117. Recordset20 * This);
  6118. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  6119. Recordset20 * This,
  6120. /* [out] */ UINT *pctinfo);
  6121. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  6122. Recordset20 * This,
  6123. /* [in] */ UINT iTInfo,
  6124. /* [in] */ LCID lcid,
  6125. /* [out] */ ITypeInfo **ppTInfo);
  6126. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  6127. Recordset20 * This,
  6128. /* [in] */ REFIID riid,
  6129. /* [size_is][in] */ LPOLESTR *rgszNames,
  6130. /* [in] */ UINT cNames,
  6131. /* [in] */ LCID lcid,
  6132. /* [size_is][out] */ DISPID *rgDispId);
  6133. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  6134. Recordset20 * This,
  6135. /* [in] */ DISPID dispIdMember,
  6136. /* [in] */ REFIID riid,
  6137. /* [in] */ LCID lcid,
  6138. /* [in] */ WORD wFlags,
  6139. /* [out][in] */ DISPPARAMS *pDispParams,
  6140. /* [out] */ VARIANT *pVarResult,
  6141. /* [out] */ EXCEPINFO *pExcepInfo,
  6142. /* [out] */ UINT *puArgErr);
  6143. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Properties )(
  6144. Recordset20 * This,
  6145. /* [retval][out] */ ADOProperties **ppvObject);
  6146. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_AbsolutePosition )(
  6147. Recordset20 * This,
  6148. /* [retval][out] */ PositionEnum_Param *pl);
  6149. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_AbsolutePosition )(
  6150. Recordset20 * This,
  6151. /* [in] */ PositionEnum_Param Position);
  6152. /* [helpcontext][propputref][id] */ HRESULT ( STDMETHODCALLTYPE *putref_ActiveADOConnection )(
  6153. Recordset20 * This,
  6154. /* [in] */ IDispatch *pconn);
  6155. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_ActiveConnection )(
  6156. Recordset20 * This,
  6157. /* [in] */ VARIANT vConn);
  6158. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ActiveConnection )(
  6159. Recordset20 * This,
  6160. /* [retval][out] */ VARIANT *pvar);
  6161. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_BOF )(
  6162. Recordset20 * This,
  6163. /* [retval][out] */ VARIANT_BOOL *pb);
  6164. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Bookmark )(
  6165. Recordset20 * This,
  6166. /* [retval][out] */ VARIANT *pvBookmark);
  6167. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Bookmark )(
  6168. Recordset20 * This,
  6169. /* [in] */ VARIANT vBookmark);
  6170. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CacheSize )(
  6171. Recordset20 * This,
  6172. /* [retval][out] */ long *pl);
  6173. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CacheSize )(
  6174. Recordset20 * This,
  6175. /* [in] */ long CacheSize);
  6176. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CursorType )(
  6177. Recordset20 * This,
  6178. /* [retval][out] */ CursorTypeEnum *plCursorType);
  6179. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CursorType )(
  6180. Recordset20 * This,
  6181. /* [in] */ CursorTypeEnum lCursorType);
  6182. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_EOF )(
  6183. Recordset20 * This,
  6184. /* [retval][out] */ VARIANT_BOOL *pb);
  6185. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Fields )(
  6186. Recordset20 * This,
  6187. /* [retval][out] */ ADOFields **ppvObject);
  6188. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_LockType )(
  6189. Recordset20 * This,
  6190. /* [retval][out] */ LockTypeEnum *plLockType);
  6191. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_LockType )(
  6192. Recordset20 * This,
  6193. /* [in] */ LockTypeEnum lLockType);
  6194. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_MaxRecords )(
  6195. Recordset20 * This,
  6196. /* [retval][out] */ ADO_LONGPTR *plMaxRecords);
  6197. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_MaxRecords )(
  6198. Recordset20 * This,
  6199. /* [in] */ ADO_LONGPTR lMaxRecords);
  6200. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_RecordCount )(
  6201. Recordset20 * This,
  6202. /* [retval][out] */ ADO_LONGPTR *pl);
  6203. /* [helpcontext][propputref][id] */ HRESULT ( STDMETHODCALLTYPE *putref_Source )(
  6204. Recordset20 * This,
  6205. /* [in] */ IDispatch *pcmd);
  6206. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Source )(
  6207. Recordset20 * This,
  6208. /* [in] */ BSTR bstrConn);
  6209. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Source )(
  6210. Recordset20 * This,
  6211. /* [retval][out] */ VARIANT *pvSource);
  6212. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *AddNew )(
  6213. Recordset20 * This,
  6214. /* [optional][in] */ VARIANT FieldList,
  6215. /* [optional][in] */ VARIANT Values);
  6216. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *CancelUpdate )(
  6217. Recordset20 * This);
  6218. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Close )(
  6219. Recordset20 * This);
  6220. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )(
  6221. Recordset20 * This,
  6222. /* [defaultvalue][in] */ AffectEnum AffectRecords);
  6223. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *GetRows )(
  6224. Recordset20 * This,
  6225. /* [defaultvalue][in] */ long Rows,
  6226. /* [optional][in] */ VARIANT Start,
  6227. /* [optional][in] */ VARIANT Fields,
  6228. /* [retval][out] */ VARIANT *pvar);
  6229. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Move )(
  6230. Recordset20 * This,
  6231. /* [in] */ ADO_LONGPTR NumRecords,
  6232. /* [optional][in] */ VARIANT Start);
  6233. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *MoveNext )(
  6234. Recordset20 * This);
  6235. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *MovePrevious )(
  6236. Recordset20 * This);
  6237. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *MoveFirst )(
  6238. Recordset20 * This);
  6239. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *MoveLast )(
  6240. Recordset20 * This);
  6241. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Open )(
  6242. Recordset20 * This,
  6243. /* [optional][in] */ VARIANT Source,
  6244. /* [optional][in] */ VARIANT ActiveConnection,
  6245. /* [defaultvalue][in] */ CursorTypeEnum CursorType,
  6246. /* [defaultvalue][in] */ LockTypeEnum LockType,
  6247. /* [defaultvalue][in] */ LONG Options);
  6248. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Requery )(
  6249. Recordset20 * This,
  6250. /* [defaultvalue][in] */ LONG Options);
  6251. /* [hidden] */ HRESULT ( STDMETHODCALLTYPE *_xResync )(
  6252. Recordset20 * This,
  6253. /* [defaultvalue][in] */ AffectEnum AffectRecords);
  6254. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Update )(
  6255. Recordset20 * This,
  6256. /* [optional][in] */ VARIANT Fields,
  6257. /* [optional][in] */ VARIANT Values);
  6258. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_AbsolutePage )(
  6259. Recordset20 * This,
  6260. /* [retval][out] */ PositionEnum_Param *pl);
  6261. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_AbsolutePage )(
  6262. Recordset20 * This,
  6263. /* [in] */ PositionEnum_Param Page);
  6264. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_EditMode )(
  6265. Recordset20 * This,
  6266. /* [retval][out] */ EditModeEnum *pl);
  6267. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Filter )(
  6268. Recordset20 * This,
  6269. /* [retval][out] */ VARIANT *Criteria);
  6270. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Filter )(
  6271. Recordset20 * This,
  6272. /* [in] */ VARIANT Criteria);
  6273. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_PageCount )(
  6274. Recordset20 * This,
  6275. /* [retval][out] */ ADO_LONGPTR *pl);
  6276. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_PageSize )(
  6277. Recordset20 * This,
  6278. /* [retval][out] */ long *pl);
  6279. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_PageSize )(
  6280. Recordset20 * This,
  6281. /* [in] */ long PageSize);
  6282. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Sort )(
  6283. Recordset20 * This,
  6284. /* [retval][out] */ BSTR *Criteria);
  6285. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Sort )(
  6286. Recordset20 * This,
  6287. /* [in] */ BSTR Criteria);
  6288. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Status )(
  6289. Recordset20 * This,
  6290. /* [retval][out] */ long *pl);
  6291. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_State )(
  6292. Recordset20 * This,
  6293. /* [retval][out] */ LONG *plObjState);
  6294. /* [hidden] */ HRESULT ( STDMETHODCALLTYPE *_xClone )(
  6295. Recordset20 * This,
  6296. /* [retval][out] */ _ADORecordset **ppvObject);
  6297. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *UpdateBatch )(
  6298. Recordset20 * This,
  6299. /* [defaultvalue][in] */ AffectEnum AffectRecords);
  6300. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *CancelBatch )(
  6301. Recordset20 * This,
  6302. /* [defaultvalue][in] */ AffectEnum AffectRecords);
  6303. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CursorLocation )(
  6304. Recordset20 * This,
  6305. /* [retval][out] */ CursorLocationEnum *plCursorLoc);
  6306. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CursorLocation )(
  6307. Recordset20 * This,
  6308. /* [in] */ CursorLocationEnum lCursorLoc);
  6309. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *NextADORecordset )(
  6310. Recordset20 * This,
  6311. /* [optional][out] */ VARIANT *RecordsAffected,
  6312. /* [retval][out] */ _ADORecordset **ppiRs);
  6313. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Supports )(
  6314. Recordset20 * This,
  6315. /* [in] */ CursorOptionEnum CursorOptions,
  6316. /* [retval][out] */ VARIANT_BOOL *pb);
  6317. /* [hidden][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Collect )(
  6318. Recordset20 * This,
  6319. /* [in] */ VARIANT Index,
  6320. /* [retval][out] */ VARIANT *pvar);
  6321. /* [hidden][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Collect )(
  6322. Recordset20 * This,
  6323. /* [in] */ VARIANT Index,
  6324. /* [in] */ VARIANT value);
  6325. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_MarshalOptions )(
  6326. Recordset20 * This,
  6327. /* [retval][out] */ MarshalOptionsEnum *peMarshal);
  6328. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_MarshalOptions )(
  6329. Recordset20 * This,
  6330. /* [in] */ MarshalOptionsEnum eMarshal);
  6331. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Find )(
  6332. Recordset20 * This,
  6333. /* [in] */ BSTR Criteria,
  6334. /* [defaultvalue][in] */ ADO_LONGPTR SkipRecords,
  6335. /* [defaultvalue][in] */ SearchDirectionEnum SearchDirection,
  6336. /* [optional][in] */ VARIANT Start);
  6337. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Cancel )(
  6338. Recordset20 * This);
  6339. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_DataSource )(
  6340. Recordset20 * This,
  6341. /* [retval][out] */ IUnknown **ppunkDataSource);
  6342. /* [helpcontext][propputref][id] */ HRESULT ( STDMETHODCALLTYPE *putref_DataSource )(
  6343. Recordset20 * This,
  6344. /* [in] */ IUnknown *punkDataSource);
  6345. /* [hidden] */ HRESULT ( STDMETHODCALLTYPE *_xSave )(
  6346. Recordset20 * This,
  6347. /* [defaultvalue][in] */ BSTR FileName,
  6348. /* [defaultvalue][in] */ PersistFormatEnum PersistFormat);
  6349. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ActiveCommand )(
  6350. Recordset20 * This,
  6351. /* [retval][out] */ IDispatch **ppCmd);
  6352. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_StayInSync )(
  6353. Recordset20 * This,
  6354. /* [in] */ VARIANT_BOOL bStayInSync);
  6355. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_StayInSync )(
  6356. Recordset20 * This,
  6357. /* [retval][out] */ VARIANT_BOOL *pbStayInSync);
  6358. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *GetString )(
  6359. Recordset20 * This,
  6360. /* [defaultvalue][in] */ StringFormatEnum StringFormat,
  6361. /* [defaultvalue][in] */ long NumRows,
  6362. /* [defaultvalue][in] */ BSTR ColumnDelimeter,
  6363. /* [defaultvalue][in] */ BSTR RowDelimeter,
  6364. /* [defaultvalue][in] */ BSTR NullExpr,
  6365. /* [retval][out] */ BSTR *pRetString);
  6366. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_DataMember )(
  6367. Recordset20 * This,
  6368. /* [retval][out] */ BSTR *pbstrDataMember);
  6369. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_DataMember )(
  6370. Recordset20 * This,
  6371. /* [in] */ BSTR bstrDataMember);
  6372. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *CompareBookmarks )(
  6373. Recordset20 * This,
  6374. /* [in] */ VARIANT Bookmark1,
  6375. /* [in] */ VARIANT Bookmark2,
  6376. /* [retval][out] */ CompareEnum *pCompare);
  6377. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Clone )(
  6378. Recordset20 * This,
  6379. /* [defaultvalue][in] */ LockTypeEnum LockType,
  6380. /* [retval][out] */ _ADORecordset **ppvObject);
  6381. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Resync )(
  6382. Recordset20 * This,
  6383. /* [defaultvalue][in] */ AffectEnum AffectRecords,
  6384. /* [defaultvalue][in] */ ResyncEnum ResyncValues);
  6385. END_INTERFACE
  6386. } Recordset20Vtbl;
  6387. interface Recordset20
  6388. {
  6389. CONST_VTBL struct Recordset20Vtbl *lpVtbl;
  6390. };
  6391. #ifdef COBJMACROS
  6392. #define Recordset20_QueryInterface(This,riid,ppvObject) \
  6393. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  6394. #define Recordset20_AddRef(This) \
  6395. (This)->lpVtbl -> AddRef(This)
  6396. #define Recordset20_Release(This) \
  6397. (This)->lpVtbl -> Release(This)
  6398. #define Recordset20_GetTypeInfoCount(This,pctinfo) \
  6399. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  6400. #define Recordset20_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  6401. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  6402. #define Recordset20_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  6403. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  6404. #define Recordset20_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  6405. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  6406. #define Recordset20_get_Properties(This,ppvObject) \
  6407. (This)->lpVtbl -> get_Properties(This,ppvObject)
  6408. #define Recordset20_get_AbsolutePosition(This,pl) \
  6409. (This)->lpVtbl -> get_AbsolutePosition(This,pl)
  6410. #define Recordset20_put_AbsolutePosition(This,Position) \
  6411. (This)->lpVtbl -> put_AbsolutePosition(This,Position)
  6412. #define Recordset20_putref_ActiveConnection(This,pconn) \
  6413. (This)->lpVtbl -> putref_ActiveConnection(This,pconn)
  6414. #define Recordset20_put_ActiveConnection(This,vConn) \
  6415. (This)->lpVtbl -> put_ActiveConnection(This,vConn)
  6416. #define Recordset20_get_ActiveConnection(This,pvar) \
  6417. (This)->lpVtbl -> get_ActiveConnection(This,pvar)
  6418. #define Recordset20_get_BOF(This,pb) \
  6419. (This)->lpVtbl -> get_BOF(This,pb)
  6420. #define Recordset20_get_Bookmark(This,pvBookmark) \
  6421. (This)->lpVtbl -> get_Bookmark(This,pvBookmark)
  6422. #define Recordset20_put_Bookmark(This,vBookmark) \
  6423. (This)->lpVtbl -> put_Bookmark(This,vBookmark)
  6424. #define Recordset20_get_CacheSize(This,pl) \
  6425. (This)->lpVtbl -> get_CacheSize(This,pl)
  6426. #define Recordset20_put_CacheSize(This,CacheSize) \
  6427. (This)->lpVtbl -> put_CacheSize(This,CacheSize)
  6428. #define Recordset20_get_CursorType(This,plCursorType) \
  6429. (This)->lpVtbl -> get_CursorType(This,plCursorType)
  6430. #define Recordset20_put_CursorType(This,lCursorType) \
  6431. (This)->lpVtbl -> put_CursorType(This,lCursorType)
  6432. #define Recordset20_get_EOF(This,pb) \
  6433. (This)->lpVtbl -> get_EOF(This,pb)
  6434. #define Recordset20_get_Fields(This,ppvObject) \
  6435. (This)->lpVtbl -> get_Fields(This,ppvObject)
  6436. #define Recordset20_get_LockType(This,plLockType) \
  6437. (This)->lpVtbl -> get_LockType(This,plLockType)
  6438. #define Recordset20_put_LockType(This,lLockType) \
  6439. (This)->lpVtbl -> put_LockType(This,lLockType)
  6440. #define Recordset20_get_MaxRecords(This,plMaxRecords) \
  6441. (This)->lpVtbl -> get_MaxRecords(This,plMaxRecords)
  6442. #define Recordset20_put_MaxRecords(This,lMaxRecords) \
  6443. (This)->lpVtbl -> put_MaxRecords(This,lMaxRecords)
  6444. #define Recordset20_get_RecordCount(This,pl) \
  6445. (This)->lpVtbl -> get_RecordCount(This,pl)
  6446. #define Recordset20_putref_Source(This,pcmd) \
  6447. (This)->lpVtbl -> putref_Source(This,pcmd)
  6448. #define Recordset20_put_Source(This,bstrConn) \
  6449. (This)->lpVtbl -> put_Source(This,bstrConn)
  6450. #define Recordset20_get_Source(This,pvSource) \
  6451. (This)->lpVtbl -> get_Source(This,pvSource)
  6452. #define Recordset20_AddNew(This,FieldList,Values) \
  6453. (This)->lpVtbl -> AddNew(This,FieldList,Values)
  6454. #define Recordset20_CancelUpdate(This) \
  6455. (This)->lpVtbl -> CancelUpdate(This)
  6456. #define Recordset20_Close(This) \
  6457. (This)->lpVtbl -> Close(This)
  6458. #define Recordset20_Delete(This,AffectRecords) \
  6459. (This)->lpVtbl -> Delete(This,AffectRecords)
  6460. #define Recordset20_GetRows(This,Rows,Start,Fields,pvar) \
  6461. (This)->lpVtbl -> GetRows(This,Rows,Start,Fields,pvar)
  6462. #define Recordset20_Move(This,NumRecords,Start) \
  6463. (This)->lpVtbl -> Move(This,NumRecords,Start)
  6464. #define Recordset20_MoveNext(This) \
  6465. (This)->lpVtbl -> MoveNext(This)
  6466. #define Recordset20_MovePrevious(This) \
  6467. (This)->lpVtbl -> MovePrevious(This)
  6468. #define Recordset20_MoveFirst(This) \
  6469. (This)->lpVtbl -> MoveFirst(This)
  6470. #define Recordset20_MoveLast(This) \
  6471. (This)->lpVtbl -> MoveLast(This)
  6472. #define Recordset20_Open(This,Source,ActiveConnection,CursorType,LockType,Options) \
  6473. (This)->lpVtbl -> Open(This,Source,ActiveConnection,CursorType,LockType,Options)
  6474. #define Recordset20_Requery(This,Options) \
  6475. (This)->lpVtbl -> Requery(This,Options)
  6476. #define Recordset20__xResync(This,AffectRecords) \
  6477. (This)->lpVtbl -> _xResync(This,AffectRecords)
  6478. #define Recordset20_Update(This,Fields,Values) \
  6479. (This)->lpVtbl -> Update(This,Fields,Values)
  6480. #define Recordset20_get_AbsolutePage(This,pl) \
  6481. (This)->lpVtbl -> get_AbsolutePage(This,pl)
  6482. #define Recordset20_put_AbsolutePage(This,Page) \
  6483. (This)->lpVtbl -> put_AbsolutePage(This,Page)
  6484. #define Recordset20_get_EditMode(This,pl) \
  6485. (This)->lpVtbl -> get_EditMode(This,pl)
  6486. #define Recordset20_get_Filter(This,Criteria) \
  6487. (This)->lpVtbl -> get_Filter(This,Criteria)
  6488. #define Recordset20_put_Filter(This,Criteria) \
  6489. (This)->lpVtbl -> put_Filter(This,Criteria)
  6490. #define Recordset20_get_PageCount(This,pl) \
  6491. (This)->lpVtbl -> get_PageCount(This,pl)
  6492. #define Recordset20_get_PageSize(This,pl) \
  6493. (This)->lpVtbl -> get_PageSize(This,pl)
  6494. #define Recordset20_put_PageSize(This,PageSize) \
  6495. (This)->lpVtbl -> put_PageSize(This,PageSize)
  6496. #define Recordset20_get_Sort(This,Criteria) \
  6497. (This)->lpVtbl -> get_Sort(This,Criteria)
  6498. #define Recordset20_put_Sort(This,Criteria) \
  6499. (This)->lpVtbl -> put_Sort(This,Criteria)
  6500. #define Recordset20_get_Status(This,pl) \
  6501. (This)->lpVtbl -> get_Status(This,pl)
  6502. #define Recordset20_get_State(This,plObjState) \
  6503. (This)->lpVtbl -> get_State(This,plObjState)
  6504. #define Recordset20__xClone(This,ppvObject) \
  6505. (This)->lpVtbl -> _xClone(This,ppvObject)
  6506. #define Recordset20_UpdateBatch(This,AffectRecords) \
  6507. (This)->lpVtbl -> UpdateBatch(This,AffectRecords)
  6508. #define Recordset20_CancelBatch(This,AffectRecords) \
  6509. (This)->lpVtbl -> CancelBatch(This,AffectRecords)
  6510. #define Recordset20_get_CursorLocation(This,plCursorLoc) \
  6511. (This)->lpVtbl -> get_CursorLocation(This,plCursorLoc)
  6512. #define Recordset20_put_CursorLocation(This,lCursorLoc) \
  6513. (This)->lpVtbl -> put_CursorLocation(This,lCursorLoc)
  6514. #define Recordset20_NextRecordset(This,RecordsAffected,ppiRs) \
  6515. (This)->lpVtbl -> NextRecordset(This,RecordsAffected,ppiRs)
  6516. #define Recordset20_Supports(This,CursorOptions,pb) \
  6517. (This)->lpVtbl -> Supports(This,CursorOptions,pb)
  6518. #define Recordset20_get_Collect(This,Index,pvar) \
  6519. (This)->lpVtbl -> get_Collect(This,Index,pvar)
  6520. #define Recordset20_put_Collect(This,Index,value) \
  6521. (This)->lpVtbl -> put_Collect(This,Index,value)
  6522. #define Recordset20_get_MarshalOptions(This,peMarshal) \
  6523. (This)->lpVtbl -> get_MarshalOptions(This,peMarshal)
  6524. #define Recordset20_put_MarshalOptions(This,eMarshal) \
  6525. (This)->lpVtbl -> put_MarshalOptions(This,eMarshal)
  6526. #define Recordset20_Find(This,Criteria,SkipRecords,SearchDirection,Start) \
  6527. (This)->lpVtbl -> Find(This,Criteria,SkipRecords,SearchDirection,Start)
  6528. #define Recordset20_Cancel(This) \
  6529. (This)->lpVtbl -> Cancel(This)
  6530. #define Recordset20_get_DataSource(This,ppunkDataSource) \
  6531. (This)->lpVtbl -> get_DataSource(This,ppunkDataSource)
  6532. #define Recordset20_putref_DataSource(This,punkDataSource) \
  6533. (This)->lpVtbl -> putref_DataSource(This,punkDataSource)
  6534. #define Recordset20__xSave(This,FileName,PersistFormat) \
  6535. (This)->lpVtbl -> _xSave(This,FileName,PersistFormat)
  6536. #define Recordset20_get_ActiveCommand(This,ppCmd) \
  6537. (This)->lpVtbl -> get_ActiveCommand(This,ppCmd)
  6538. #define Recordset20_put_StayInSync(This,bStayInSync) \
  6539. (This)->lpVtbl -> put_StayInSync(This,bStayInSync)
  6540. #define Recordset20_get_StayInSync(This,pbStayInSync) \
  6541. (This)->lpVtbl -> get_StayInSync(This,pbStayInSync)
  6542. #define Recordset20_GetString(This,StringFormat,NumRows,ColumnDelimeter,RowDelimeter,NullExpr,pRetString) \
  6543. (This)->lpVtbl -> GetString(This,StringFormat,NumRows,ColumnDelimeter,RowDelimeter,NullExpr,pRetString)
  6544. #define Recordset20_get_DataMember(This,pbstrDataMember) \
  6545. (This)->lpVtbl -> get_DataMember(This,pbstrDataMember)
  6546. #define Recordset20_put_DataMember(This,bstrDataMember) \
  6547. (This)->lpVtbl -> put_DataMember(This,bstrDataMember)
  6548. #define Recordset20_CompareBookmarks(This,Bookmark1,Bookmark2,pCompare) \
  6549. (This)->lpVtbl -> CompareBookmarks(This,Bookmark1,Bookmark2,pCompare)
  6550. #define Recordset20_Clone(This,LockType,ppvObject) \
  6551. (This)->lpVtbl -> Clone(This,LockType,ppvObject)
  6552. #define Recordset20_Resync(This,AffectRecords,ResyncValues) \
  6553. (This)->lpVtbl -> Resync(This,AffectRecords,ResyncValues)
  6554. #endif /* COBJMACROS */
  6555. #endif /* C style interface */
  6556. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Recordset20_Cancel_Proxy(
  6557. Recordset20 * This);
  6558. void __RPC_STUB Recordset20_Cancel_Stub(
  6559. IRpcStubBuffer *This,
  6560. IRpcChannelBuffer *_pRpcChannelBuffer,
  6561. PRPC_MESSAGE _pRpcMessage,
  6562. DWORD *_pdwStubPhase);
  6563. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Recordset20_get_DataSource_Proxy(
  6564. Recordset20 * This,
  6565. /* [retval][out] */ IUnknown **ppunkDataSource);
  6566. void __RPC_STUB Recordset20_get_DataSource_Stub(
  6567. IRpcStubBuffer *This,
  6568. IRpcChannelBuffer *_pRpcChannelBuffer,
  6569. PRPC_MESSAGE _pRpcMessage,
  6570. DWORD *_pdwStubPhase);
  6571. /* [helpcontext][propputref][id] */ HRESULT STDMETHODCALLTYPE Recordset20_putref_DataSource_Proxy(
  6572. Recordset20 * This,
  6573. /* [in] */ IUnknown *punkDataSource);
  6574. void __RPC_STUB Recordset20_putref_DataSource_Stub(
  6575. IRpcStubBuffer *This,
  6576. IRpcChannelBuffer *_pRpcChannelBuffer,
  6577. PRPC_MESSAGE _pRpcMessage,
  6578. DWORD *_pdwStubPhase);
  6579. /* [hidden] */ HRESULT STDMETHODCALLTYPE Recordset20__xSave_Proxy(
  6580. Recordset20 * This,
  6581. /* [defaultvalue][in] */ BSTR FileName,
  6582. /* [defaultvalue][in] */ PersistFormatEnum PersistFormat);
  6583. void __RPC_STUB Recordset20__xSave_Stub(
  6584. IRpcStubBuffer *This,
  6585. IRpcChannelBuffer *_pRpcChannelBuffer,
  6586. PRPC_MESSAGE _pRpcMessage,
  6587. DWORD *_pdwStubPhase);
  6588. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Recordset20_get_ActiveCommand_Proxy(
  6589. Recordset20 * This,
  6590. /* [retval][out] */ IDispatch **ppCmd);
  6591. void __RPC_STUB Recordset20_get_ActiveCommand_Stub(
  6592. IRpcStubBuffer *This,
  6593. IRpcChannelBuffer *_pRpcChannelBuffer,
  6594. PRPC_MESSAGE _pRpcMessage,
  6595. DWORD *_pdwStubPhase);
  6596. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Recordset20_put_StayInSync_Proxy(
  6597. Recordset20 * This,
  6598. /* [in] */ VARIANT_BOOL bStayInSync);
  6599. void __RPC_STUB Recordset20_put_StayInSync_Stub(
  6600. IRpcStubBuffer *This,
  6601. IRpcChannelBuffer *_pRpcChannelBuffer,
  6602. PRPC_MESSAGE _pRpcMessage,
  6603. DWORD *_pdwStubPhase);
  6604. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Recordset20_get_StayInSync_Proxy(
  6605. Recordset20 * This,
  6606. /* [retval][out] */ VARIANT_BOOL *pbStayInSync);
  6607. void __RPC_STUB Recordset20_get_StayInSync_Stub(
  6608. IRpcStubBuffer *This,
  6609. IRpcChannelBuffer *_pRpcChannelBuffer,
  6610. PRPC_MESSAGE _pRpcMessage,
  6611. DWORD *_pdwStubPhase);
  6612. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Recordset20_GetString_Proxy(
  6613. Recordset20 * This,
  6614. /* [defaultvalue][in] */ StringFormatEnum StringFormat,
  6615. /* [defaultvalue][in] */ long NumRows,
  6616. /* [defaultvalue][in] */ BSTR ColumnDelimeter,
  6617. /* [defaultvalue][in] */ BSTR RowDelimeter,
  6618. /* [defaultvalue][in] */ BSTR NullExpr,
  6619. /* [retval][out] */ BSTR *pRetString);
  6620. void __RPC_STUB Recordset20_GetString_Stub(
  6621. IRpcStubBuffer *This,
  6622. IRpcChannelBuffer *_pRpcChannelBuffer,
  6623. PRPC_MESSAGE _pRpcMessage,
  6624. DWORD *_pdwStubPhase);
  6625. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Recordset20_get_DataMember_Proxy(
  6626. Recordset20 * This,
  6627. /* [retval][out] */ BSTR *pbstrDataMember);
  6628. void __RPC_STUB Recordset20_get_DataMember_Stub(
  6629. IRpcStubBuffer *This,
  6630. IRpcChannelBuffer *_pRpcChannelBuffer,
  6631. PRPC_MESSAGE _pRpcMessage,
  6632. DWORD *_pdwStubPhase);
  6633. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Recordset20_put_DataMember_Proxy(
  6634. Recordset20 * This,
  6635. /* [in] */ BSTR bstrDataMember);
  6636. void __RPC_STUB Recordset20_put_DataMember_Stub(
  6637. IRpcStubBuffer *This,
  6638. IRpcChannelBuffer *_pRpcChannelBuffer,
  6639. PRPC_MESSAGE _pRpcMessage,
  6640. DWORD *_pdwStubPhase);
  6641. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Recordset20_CompareBookmarks_Proxy(
  6642. Recordset20 * This,
  6643. /* [in] */ VARIANT Bookmark1,
  6644. /* [in] */ VARIANT Bookmark2,
  6645. /* [retval][out] */ CompareEnum *pCompare);
  6646. void __RPC_STUB Recordset20_CompareBookmarks_Stub(
  6647. IRpcStubBuffer *This,
  6648. IRpcChannelBuffer *_pRpcChannelBuffer,
  6649. PRPC_MESSAGE _pRpcMessage,
  6650. DWORD *_pdwStubPhase);
  6651. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Recordset20_Clone_Proxy(
  6652. Recordset20 * This,
  6653. /* [defaultvalue][in] */ LockTypeEnum LockType,
  6654. /* [retval][out] */ _ADORecordset **ppvObject);
  6655. void __RPC_STUB Recordset20_Clone_Stub(
  6656. IRpcStubBuffer *This,
  6657. IRpcChannelBuffer *_pRpcChannelBuffer,
  6658. PRPC_MESSAGE _pRpcMessage,
  6659. DWORD *_pdwStubPhase);
  6660. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Recordset20_Resync_Proxy(
  6661. Recordset20 * This,
  6662. /* [defaultvalue][in] */ AffectEnum AffectRecords,
  6663. /* [defaultvalue][in] */ ResyncEnum ResyncValues);
  6664. void __RPC_STUB Recordset20_Resync_Stub(
  6665. IRpcStubBuffer *This,
  6666. IRpcChannelBuffer *_pRpcChannelBuffer,
  6667. PRPC_MESSAGE _pRpcMessage,
  6668. DWORD *_pdwStubPhase);
  6669. #endif /* __Recordset20_INTERFACE_DEFINED__ */
  6670. #ifndef __Recordset21_INTERFACE_DEFINED__
  6671. #define __Recordset21_INTERFACE_DEFINED__
  6672. /* interface Recordset21 */
  6673. /* [object][helpcontext][uuid][nonextensible][hidden][dual] */
  6674. EXTERN_C const IID IID_Recordset21;
  6675. #if defined(__cplusplus) && !defined(CINTERFACE)
  6676. MIDL_INTERFACE("00000555-0000-0010-8000-00AA006D2EA4")
  6677. Recordset21 : public Recordset20
  6678. {
  6679. public:
  6680. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Seek(
  6681. /* [in] */ VARIANT KeyValues,
  6682. /* [defaultvalue][in] */ SeekEnum SeekOption = adSeekFirstEQ) = 0;
  6683. virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_Index(
  6684. /* [in] */ BSTR Index) = 0;
  6685. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Index(
  6686. /* [retval][out] */ BSTR *pbstrIndex) = 0;
  6687. };
  6688. #else /* C style interface */
  6689. typedef struct Recordset21Vtbl
  6690. {
  6691. BEGIN_INTERFACE
  6692. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  6693. Recordset21 * This,
  6694. /* [in] */ REFIID riid,
  6695. /* [iid_is][out] */ void **ppvObject);
  6696. ULONG ( STDMETHODCALLTYPE *AddRef )(
  6697. Recordset21 * This);
  6698. ULONG ( STDMETHODCALLTYPE *Release )(
  6699. Recordset21 * This);
  6700. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  6701. Recordset21 * This,
  6702. /* [out] */ UINT *pctinfo);
  6703. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  6704. Recordset21 * This,
  6705. /* [in] */ UINT iTInfo,
  6706. /* [in] */ LCID lcid,
  6707. /* [out] */ ITypeInfo **ppTInfo);
  6708. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  6709. Recordset21 * This,
  6710. /* [in] */ REFIID riid,
  6711. /* [size_is][in] */ LPOLESTR *rgszNames,
  6712. /* [in] */ UINT cNames,
  6713. /* [in] */ LCID lcid,
  6714. /* [size_is][out] */ DISPID *rgDispId);
  6715. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  6716. Recordset21 * This,
  6717. /* [in] */ DISPID dispIdMember,
  6718. /* [in] */ REFIID riid,
  6719. /* [in] */ LCID lcid,
  6720. /* [in] */ WORD wFlags,
  6721. /* [out][in] */ DISPPARAMS *pDispParams,
  6722. /* [out] */ VARIANT *pVarResult,
  6723. /* [out] */ EXCEPINFO *pExcepInfo,
  6724. /* [out] */ UINT *puArgErr);
  6725. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Properties )(
  6726. Recordset21 * This,
  6727. /* [retval][out] */ ADOProperties **ppvObject);
  6728. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_AbsolutePosition )(
  6729. Recordset21 * This,
  6730. /* [retval][out] */ PositionEnum_Param *pl);
  6731. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_AbsolutePosition )(
  6732. Recordset21 * This,
  6733. /* [in] */ PositionEnum_Param Position);
  6734. /* [helpcontext][propputref][id] */ HRESULT ( STDMETHODCALLTYPE *putref_ActiveADOConnection )(
  6735. Recordset21 * This,
  6736. /* [in] */ IDispatch *pconn);
  6737. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_ActiveConnection )(
  6738. Recordset21 * This,
  6739. /* [in] */ VARIANT vConn);
  6740. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ActiveConnection )(
  6741. Recordset21 * This,
  6742. /* [retval][out] */ VARIANT *pvar);
  6743. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_BOF )(
  6744. Recordset21 * This,
  6745. /* [retval][out] */ VARIANT_BOOL *pb);
  6746. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Bookmark )(
  6747. Recordset21 * This,
  6748. /* [retval][out] */ VARIANT *pvBookmark);
  6749. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Bookmark )(
  6750. Recordset21 * This,
  6751. /* [in] */ VARIANT vBookmark);
  6752. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CacheSize )(
  6753. Recordset21 * This,
  6754. /* [retval][out] */ long *pl);
  6755. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CacheSize )(
  6756. Recordset21 * This,
  6757. /* [in] */ long CacheSize);
  6758. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CursorType )(
  6759. Recordset21 * This,
  6760. /* [retval][out] */ CursorTypeEnum *plCursorType);
  6761. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CursorType )(
  6762. Recordset21 * This,
  6763. /* [in] */ CursorTypeEnum lCursorType);
  6764. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_EOF )(
  6765. Recordset21 * This,
  6766. /* [retval][out] */ VARIANT_BOOL *pb);
  6767. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Fields )(
  6768. Recordset21 * This,
  6769. /* [retval][out] */ ADOFields **ppvObject);
  6770. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_LockType )(
  6771. Recordset21 * This,
  6772. /* [retval][out] */ LockTypeEnum *plLockType);
  6773. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_LockType )(
  6774. Recordset21 * This,
  6775. /* [in] */ LockTypeEnum lLockType);
  6776. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_MaxRecords )(
  6777. Recordset21 * This,
  6778. /* [retval][out] */ ADO_LONGPTR *plMaxRecords);
  6779. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_MaxRecords )(
  6780. Recordset21 * This,
  6781. /* [in] */ ADO_LONGPTR lMaxRecords);
  6782. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_RecordCount )(
  6783. Recordset21 * This,
  6784. /* [retval][out] */ ADO_LONGPTR *pl);
  6785. /* [helpcontext][propputref][id] */ HRESULT ( STDMETHODCALLTYPE *putref_Source )(
  6786. Recordset21 * This,
  6787. /* [in] */ IDispatch *pcmd);
  6788. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Source )(
  6789. Recordset21 * This,
  6790. /* [in] */ BSTR bstrConn);
  6791. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Source )(
  6792. Recordset21 * This,
  6793. /* [retval][out] */ VARIANT *pvSource);
  6794. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *AddNew )(
  6795. Recordset21 * This,
  6796. /* [optional][in] */ VARIANT FieldList,
  6797. /* [optional][in] */ VARIANT Values);
  6798. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *CancelUpdate )(
  6799. Recordset21 * This);
  6800. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Close )(
  6801. Recordset21 * This);
  6802. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )(
  6803. Recordset21 * This,
  6804. /* [defaultvalue][in] */ AffectEnum AffectRecords);
  6805. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *GetRows )(
  6806. Recordset21 * This,
  6807. /* [defaultvalue][in] */ long Rows,
  6808. /* [optional][in] */ VARIANT Start,
  6809. /* [optional][in] */ VARIANT Fields,
  6810. /* [retval][out] */ VARIANT *pvar);
  6811. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Move )(
  6812. Recordset21 * This,
  6813. /* [in] */ ADO_LONGPTR NumRecords,
  6814. /* [optional][in] */ VARIANT Start);
  6815. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *MoveNext )(
  6816. Recordset21 * This);
  6817. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *MovePrevious )(
  6818. Recordset21 * This);
  6819. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *MoveFirst )(
  6820. Recordset21 * This);
  6821. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *MoveLast )(
  6822. Recordset21 * This);
  6823. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Open )(
  6824. Recordset21 * This,
  6825. /* [optional][in] */ VARIANT Source,
  6826. /* [optional][in] */ VARIANT ActiveConnection,
  6827. /* [defaultvalue][in] */ CursorTypeEnum CursorType,
  6828. /* [defaultvalue][in] */ LockTypeEnum LockType,
  6829. /* [defaultvalue][in] */ LONG Options);
  6830. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Requery )(
  6831. Recordset21 * This,
  6832. /* [defaultvalue][in] */ LONG Options);
  6833. /* [hidden] */ HRESULT ( STDMETHODCALLTYPE *_xResync )(
  6834. Recordset21 * This,
  6835. /* [defaultvalue][in] */ AffectEnum AffectRecords);
  6836. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Update )(
  6837. Recordset21 * This,
  6838. /* [optional][in] */ VARIANT Fields,
  6839. /* [optional][in] */ VARIANT Values);
  6840. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_AbsolutePage )(
  6841. Recordset21 * This,
  6842. /* [retval][out] */ PositionEnum_Param *pl);
  6843. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_AbsolutePage )(
  6844. Recordset21 * This,
  6845. /* [in] */ PositionEnum_Param Page);
  6846. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_EditMode )(
  6847. Recordset21 * This,
  6848. /* [retval][out] */ EditModeEnum *pl);
  6849. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Filter )(
  6850. Recordset21 * This,
  6851. /* [retval][out] */ VARIANT *Criteria);
  6852. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Filter )(
  6853. Recordset21 * This,
  6854. /* [in] */ VARIANT Criteria);
  6855. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_PageCount )(
  6856. Recordset21 * This,
  6857. /* [retval][out] */ ADO_LONGPTR *pl);
  6858. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_PageSize )(
  6859. Recordset21 * This,
  6860. /* [retval][out] */ long *pl);
  6861. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_PageSize )(
  6862. Recordset21 * This,
  6863. /* [in] */ long PageSize);
  6864. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Sort )(
  6865. Recordset21 * This,
  6866. /* [retval][out] */ BSTR *Criteria);
  6867. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Sort )(
  6868. Recordset21 * This,
  6869. /* [in] */ BSTR Criteria);
  6870. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Status )(
  6871. Recordset21 * This,
  6872. /* [retval][out] */ long *pl);
  6873. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_State )(
  6874. Recordset21 * This,
  6875. /* [retval][out] */ LONG *plObjState);
  6876. /* [hidden] */ HRESULT ( STDMETHODCALLTYPE *_xClone )(
  6877. Recordset21 * This,
  6878. /* [retval][out] */ _ADORecordset **ppvObject);
  6879. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *UpdateBatch )(
  6880. Recordset21 * This,
  6881. /* [defaultvalue][in] */ AffectEnum AffectRecords);
  6882. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *CancelBatch )(
  6883. Recordset21 * This,
  6884. /* [defaultvalue][in] */ AffectEnum AffectRecords);
  6885. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CursorLocation )(
  6886. Recordset21 * This,
  6887. /* [retval][out] */ CursorLocationEnum *plCursorLoc);
  6888. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CursorLocation )(
  6889. Recordset21 * This,
  6890. /* [in] */ CursorLocationEnum lCursorLoc);
  6891. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *NextADORecordset )(
  6892. Recordset21 * This,
  6893. /* [optional][out] */ VARIANT *RecordsAffected,
  6894. /* [retval][out] */ _ADORecordset **ppiRs);
  6895. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Supports )(
  6896. Recordset21 * This,
  6897. /* [in] */ CursorOptionEnum CursorOptions,
  6898. /* [retval][out] */ VARIANT_BOOL *pb);
  6899. /* [hidden][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Collect )(
  6900. Recordset21 * This,
  6901. /* [in] */ VARIANT Index,
  6902. /* [retval][out] */ VARIANT *pvar);
  6903. /* [hidden][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Collect )(
  6904. Recordset21 * This,
  6905. /* [in] */ VARIANT Index,
  6906. /* [in] */ VARIANT value);
  6907. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_MarshalOptions )(
  6908. Recordset21 * This,
  6909. /* [retval][out] */ MarshalOptionsEnum *peMarshal);
  6910. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_MarshalOptions )(
  6911. Recordset21 * This,
  6912. /* [in] */ MarshalOptionsEnum eMarshal);
  6913. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Find )(
  6914. Recordset21 * This,
  6915. /* [in] */ BSTR Criteria,
  6916. /* [defaultvalue][in] */ ADO_LONGPTR SkipRecords,
  6917. /* [defaultvalue][in] */ SearchDirectionEnum SearchDirection,
  6918. /* [optional][in] */ VARIANT Start);
  6919. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Cancel )(
  6920. Recordset21 * This);
  6921. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_DataSource )(
  6922. Recordset21 * This,
  6923. /* [retval][out] */ IUnknown **ppunkDataSource);
  6924. /* [helpcontext][propputref][id] */ HRESULT ( STDMETHODCALLTYPE *putref_DataSource )(
  6925. Recordset21 * This,
  6926. /* [in] */ IUnknown *punkDataSource);
  6927. /* [hidden] */ HRESULT ( STDMETHODCALLTYPE *_xSave )(
  6928. Recordset21 * This,
  6929. /* [defaultvalue][in] */ BSTR FileName,
  6930. /* [defaultvalue][in] */ PersistFormatEnum PersistFormat);
  6931. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ActiveCommand )(
  6932. Recordset21 * This,
  6933. /* [retval][out] */ IDispatch **ppCmd);
  6934. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_StayInSync )(
  6935. Recordset21 * This,
  6936. /* [in] */ VARIANT_BOOL bStayInSync);
  6937. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_StayInSync )(
  6938. Recordset21 * This,
  6939. /* [retval][out] */ VARIANT_BOOL *pbStayInSync);
  6940. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *GetString )(
  6941. Recordset21 * This,
  6942. /* [defaultvalue][in] */ StringFormatEnum StringFormat,
  6943. /* [defaultvalue][in] */ long NumRows,
  6944. /* [defaultvalue][in] */ BSTR ColumnDelimeter,
  6945. /* [defaultvalue][in] */ BSTR RowDelimeter,
  6946. /* [defaultvalue][in] */ BSTR NullExpr,
  6947. /* [retval][out] */ BSTR *pRetString);
  6948. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_DataMember )(
  6949. Recordset21 * This,
  6950. /* [retval][out] */ BSTR *pbstrDataMember);
  6951. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_DataMember )(
  6952. Recordset21 * This,
  6953. /* [in] */ BSTR bstrDataMember);
  6954. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *CompareBookmarks )(
  6955. Recordset21 * This,
  6956. /* [in] */ VARIANT Bookmark1,
  6957. /* [in] */ VARIANT Bookmark2,
  6958. /* [retval][out] */ CompareEnum *pCompare);
  6959. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Clone )(
  6960. Recordset21 * This,
  6961. /* [defaultvalue][in] */ LockTypeEnum LockType,
  6962. /* [retval][out] */ _ADORecordset **ppvObject);
  6963. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Resync )(
  6964. Recordset21 * This,
  6965. /* [defaultvalue][in] */ AffectEnum AffectRecords,
  6966. /* [defaultvalue][in] */ ResyncEnum ResyncValues);
  6967. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Seek )(
  6968. Recordset21 * This,
  6969. /* [in] */ VARIANT KeyValues,
  6970. /* [defaultvalue][in] */ SeekEnum SeekOption);
  6971. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Index )(
  6972. Recordset21 * This,
  6973. /* [in] */ BSTR Index);
  6974. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Index )(
  6975. Recordset21 * This,
  6976. /* [retval][out] */ BSTR *pbstrIndex);
  6977. END_INTERFACE
  6978. } Recordset21Vtbl;
  6979. interface Recordset21
  6980. {
  6981. CONST_VTBL struct Recordset21Vtbl *lpVtbl;
  6982. };
  6983. #ifdef COBJMACROS
  6984. #define Recordset21_QueryInterface(This,riid,ppvObject) \
  6985. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  6986. #define Recordset21_AddRef(This) \
  6987. (This)->lpVtbl -> AddRef(This)
  6988. #define Recordset21_Release(This) \
  6989. (This)->lpVtbl -> Release(This)
  6990. #define Recordset21_GetTypeInfoCount(This,pctinfo) \
  6991. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  6992. #define Recordset21_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  6993. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  6994. #define Recordset21_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  6995. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  6996. #define Recordset21_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  6997. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  6998. #define Recordset21_get_Properties(This,ppvObject) \
  6999. (This)->lpVtbl -> get_Properties(This,ppvObject)
  7000. #define Recordset21_get_AbsolutePosition(This,pl) \
  7001. (This)->lpVtbl -> get_AbsolutePosition(This,pl)
  7002. #define Recordset21_put_AbsolutePosition(This,Position) \
  7003. (This)->lpVtbl -> put_AbsolutePosition(This,Position)
  7004. #define Recordset21_putref_ActiveConnection(This,pconn) \
  7005. (This)->lpVtbl -> putref_ActiveConnection(This,pconn)
  7006. #define Recordset21_put_ActiveConnection(This,vConn) \
  7007. (This)->lpVtbl -> put_ActiveConnection(This,vConn)
  7008. #define Recordset21_get_ActiveConnection(This,pvar) \
  7009. (This)->lpVtbl -> get_ActiveConnection(This,pvar)
  7010. #define Recordset21_get_BOF(This,pb) \
  7011. (This)->lpVtbl -> get_BOF(This,pb)
  7012. #define Recordset21_get_Bookmark(This,pvBookmark) \
  7013. (This)->lpVtbl -> get_Bookmark(This,pvBookmark)
  7014. #define Recordset21_put_Bookmark(This,vBookmark) \
  7015. (This)->lpVtbl -> put_Bookmark(This,vBookmark)
  7016. #define Recordset21_get_CacheSize(This,pl) \
  7017. (This)->lpVtbl -> get_CacheSize(This,pl)
  7018. #define Recordset21_put_CacheSize(This,CacheSize) \
  7019. (This)->lpVtbl -> put_CacheSize(This,CacheSize)
  7020. #define Recordset21_get_CursorType(This,plCursorType) \
  7021. (This)->lpVtbl -> get_CursorType(This,plCursorType)
  7022. #define Recordset21_put_CursorType(This,lCursorType) \
  7023. (This)->lpVtbl -> put_CursorType(This,lCursorType)
  7024. #define Recordset21_get_EOF(This,pb) \
  7025. (This)->lpVtbl -> get_EOF(This,pb)
  7026. #define Recordset21_get_Fields(This,ppvObject) \
  7027. (This)->lpVtbl -> get_Fields(This,ppvObject)
  7028. #define Recordset21_get_LockType(This,plLockType) \
  7029. (This)->lpVtbl -> get_LockType(This,plLockType)
  7030. #define Recordset21_put_LockType(This,lLockType) \
  7031. (This)->lpVtbl -> put_LockType(This,lLockType)
  7032. #define Recordset21_get_MaxRecords(This,plMaxRecords) \
  7033. (This)->lpVtbl -> get_MaxRecords(This,plMaxRecords)
  7034. #define Recordset21_put_MaxRecords(This,lMaxRecords) \
  7035. (This)->lpVtbl -> put_MaxRecords(This,lMaxRecords)
  7036. #define Recordset21_get_RecordCount(This,pl) \
  7037. (This)->lpVtbl -> get_RecordCount(This,pl)
  7038. #define Recordset21_putref_Source(This,pcmd) \
  7039. (This)->lpVtbl -> putref_Source(This,pcmd)
  7040. #define Recordset21_put_Source(This,bstrConn) \
  7041. (This)->lpVtbl -> put_Source(This,bstrConn)
  7042. #define Recordset21_get_Source(This,pvSource) \
  7043. (This)->lpVtbl -> get_Source(This,pvSource)
  7044. #define Recordset21_AddNew(This,FieldList,Values) \
  7045. (This)->lpVtbl -> AddNew(This,FieldList,Values)
  7046. #define Recordset21_CancelUpdate(This) \
  7047. (This)->lpVtbl -> CancelUpdate(This)
  7048. #define Recordset21_Close(This) \
  7049. (This)->lpVtbl -> Close(This)
  7050. #define Recordset21_Delete(This,AffectRecords) \
  7051. (This)->lpVtbl -> Delete(This,AffectRecords)
  7052. #define Recordset21_GetRows(This,Rows,Start,Fields,pvar) \
  7053. (This)->lpVtbl -> GetRows(This,Rows,Start,Fields,pvar)
  7054. #define Recordset21_Move(This,NumRecords,Start) \
  7055. (This)->lpVtbl -> Move(This,NumRecords,Start)
  7056. #define Recordset21_MoveNext(This) \
  7057. (This)->lpVtbl -> MoveNext(This)
  7058. #define Recordset21_MovePrevious(This) \
  7059. (This)->lpVtbl -> MovePrevious(This)
  7060. #define Recordset21_MoveFirst(This) \
  7061. (This)->lpVtbl -> MoveFirst(This)
  7062. #define Recordset21_MoveLast(This) \
  7063. (This)->lpVtbl -> MoveLast(This)
  7064. #define Recordset21_Open(This,Source,ActiveConnection,CursorType,LockType,Options) \
  7065. (This)->lpVtbl -> Open(This,Source,ActiveConnection,CursorType,LockType,Options)
  7066. #define Recordset21_Requery(This,Options) \
  7067. (This)->lpVtbl -> Requery(This,Options)
  7068. #define Recordset21__xResync(This,AffectRecords) \
  7069. (This)->lpVtbl -> _xResync(This,AffectRecords)
  7070. #define Recordset21_Update(This,Fields,Values) \
  7071. (This)->lpVtbl -> Update(This,Fields,Values)
  7072. #define Recordset21_get_AbsolutePage(This,pl) \
  7073. (This)->lpVtbl -> get_AbsolutePage(This,pl)
  7074. #define Recordset21_put_AbsolutePage(This,Page) \
  7075. (This)->lpVtbl -> put_AbsolutePage(This,Page)
  7076. #define Recordset21_get_EditMode(This,pl) \
  7077. (This)->lpVtbl -> get_EditMode(This,pl)
  7078. #define Recordset21_get_Filter(This,Criteria) \
  7079. (This)->lpVtbl -> get_Filter(This,Criteria)
  7080. #define Recordset21_put_Filter(This,Criteria) \
  7081. (This)->lpVtbl -> put_Filter(This,Criteria)
  7082. #define Recordset21_get_PageCount(This,pl) \
  7083. (This)->lpVtbl -> get_PageCount(This,pl)
  7084. #define Recordset21_get_PageSize(This,pl) \
  7085. (This)->lpVtbl -> get_PageSize(This,pl)
  7086. #define Recordset21_put_PageSize(This,PageSize) \
  7087. (This)->lpVtbl -> put_PageSize(This,PageSize)
  7088. #define Recordset21_get_Sort(This,Criteria) \
  7089. (This)->lpVtbl -> get_Sort(This,Criteria)
  7090. #define Recordset21_put_Sort(This,Criteria) \
  7091. (This)->lpVtbl -> put_Sort(This,Criteria)
  7092. #define Recordset21_get_Status(This,pl) \
  7093. (This)->lpVtbl -> get_Status(This,pl)
  7094. #define Recordset21_get_State(This,plObjState) \
  7095. (This)->lpVtbl -> get_State(This,plObjState)
  7096. #define Recordset21__xClone(This,ppvObject) \
  7097. (This)->lpVtbl -> _xClone(This,ppvObject)
  7098. #define Recordset21_UpdateBatch(This,AffectRecords) \
  7099. (This)->lpVtbl -> UpdateBatch(This,AffectRecords)
  7100. #define Recordset21_CancelBatch(This,AffectRecords) \
  7101. (This)->lpVtbl -> CancelBatch(This,AffectRecords)
  7102. #define Recordset21_get_CursorLocation(This,plCursorLoc) \
  7103. (This)->lpVtbl -> get_CursorLocation(This,plCursorLoc)
  7104. #define Recordset21_put_CursorLocation(This,lCursorLoc) \
  7105. (This)->lpVtbl -> put_CursorLocation(This,lCursorLoc)
  7106. #define Recordset21_NextRecordset(This,RecordsAffected,ppiRs) \
  7107. (This)->lpVtbl -> NextRecordset(This,RecordsAffected,ppiRs)
  7108. #define Recordset21_Supports(This,CursorOptions,pb) \
  7109. (This)->lpVtbl -> Supports(This,CursorOptions,pb)
  7110. #define Recordset21_get_Collect(This,Index,pvar) \
  7111. (This)->lpVtbl -> get_Collect(This,Index,pvar)
  7112. #define Recordset21_put_Collect(This,Index,value) \
  7113. (This)->lpVtbl -> put_Collect(This,Index,value)
  7114. #define Recordset21_get_MarshalOptions(This,peMarshal) \
  7115. (This)->lpVtbl -> get_MarshalOptions(This,peMarshal)
  7116. #define Recordset21_put_MarshalOptions(This,eMarshal) \
  7117. (This)->lpVtbl -> put_MarshalOptions(This,eMarshal)
  7118. #define Recordset21_Find(This,Criteria,SkipRecords,SearchDirection,Start) \
  7119. (This)->lpVtbl -> Find(This,Criteria,SkipRecords,SearchDirection,Start)
  7120. #define Recordset21_Cancel(This) \
  7121. (This)->lpVtbl -> Cancel(This)
  7122. #define Recordset21_get_DataSource(This,ppunkDataSource) \
  7123. (This)->lpVtbl -> get_DataSource(This,ppunkDataSource)
  7124. #define Recordset21_putref_DataSource(This,punkDataSource) \
  7125. (This)->lpVtbl -> putref_DataSource(This,punkDataSource)
  7126. #define Recordset21__xSave(This,FileName,PersistFormat) \
  7127. (This)->lpVtbl -> _xSave(This,FileName,PersistFormat)
  7128. #define Recordset21_get_ActiveCommand(This,ppCmd) \
  7129. (This)->lpVtbl -> get_ActiveCommand(This,ppCmd)
  7130. #define Recordset21_put_StayInSync(This,bStayInSync) \
  7131. (This)->lpVtbl -> put_StayInSync(This,bStayInSync)
  7132. #define Recordset21_get_StayInSync(This,pbStayInSync) \
  7133. (This)->lpVtbl -> get_StayInSync(This,pbStayInSync)
  7134. #define Recordset21_GetString(This,StringFormat,NumRows,ColumnDelimeter,RowDelimeter,NullExpr,pRetString) \
  7135. (This)->lpVtbl -> GetString(This,StringFormat,NumRows,ColumnDelimeter,RowDelimeter,NullExpr,pRetString)
  7136. #define Recordset21_get_DataMember(This,pbstrDataMember) \
  7137. (This)->lpVtbl -> get_DataMember(This,pbstrDataMember)
  7138. #define Recordset21_put_DataMember(This,bstrDataMember) \
  7139. (This)->lpVtbl -> put_DataMember(This,bstrDataMember)
  7140. #define Recordset21_CompareBookmarks(This,Bookmark1,Bookmark2,pCompare) \
  7141. (This)->lpVtbl -> CompareBookmarks(This,Bookmark1,Bookmark2,pCompare)
  7142. #define Recordset21_Clone(This,LockType,ppvObject) \
  7143. (This)->lpVtbl -> Clone(This,LockType,ppvObject)
  7144. #define Recordset21_Resync(This,AffectRecords,ResyncValues) \
  7145. (This)->lpVtbl -> Resync(This,AffectRecords,ResyncValues)
  7146. #define Recordset21_Seek(This,KeyValues,SeekOption) \
  7147. (This)->lpVtbl -> Seek(This,KeyValues,SeekOption)
  7148. #define Recordset21_put_Index(This,Index) \
  7149. (This)->lpVtbl -> put_Index(This,Index)
  7150. #define Recordset21_get_Index(This,pbstrIndex) \
  7151. (This)->lpVtbl -> get_Index(This,pbstrIndex)
  7152. #endif /* COBJMACROS */
  7153. #endif /* C style interface */
  7154. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Recordset21_Seek_Proxy(
  7155. Recordset21 * This,
  7156. /* [in] */ VARIANT KeyValues,
  7157. /* [defaultvalue][in] */ SeekEnum SeekOption);
  7158. void __RPC_STUB Recordset21_Seek_Stub(
  7159. IRpcStubBuffer *This,
  7160. IRpcChannelBuffer *_pRpcChannelBuffer,
  7161. PRPC_MESSAGE _pRpcMessage,
  7162. DWORD *_pdwStubPhase);
  7163. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Recordset21_put_Index_Proxy(
  7164. Recordset21 * This,
  7165. /* [in] */ BSTR Index);
  7166. void __RPC_STUB Recordset21_put_Index_Stub(
  7167. IRpcStubBuffer *This,
  7168. IRpcChannelBuffer *_pRpcChannelBuffer,
  7169. PRPC_MESSAGE _pRpcMessage,
  7170. DWORD *_pdwStubPhase);
  7171. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Recordset21_get_Index_Proxy(
  7172. Recordset21 * This,
  7173. /* [retval][out] */ BSTR *pbstrIndex);
  7174. void __RPC_STUB Recordset21_get_Index_Stub(
  7175. IRpcStubBuffer *This,
  7176. IRpcChannelBuffer *_pRpcChannelBuffer,
  7177. PRPC_MESSAGE _pRpcMessage,
  7178. DWORD *_pdwStubPhase);
  7179. #endif /* __Recordset21_INTERFACE_DEFINED__ */
  7180. #ifndef ___Recordset_INTERFACE_DEFINED__
  7181. #define ___Recordset_INTERFACE_DEFINED__
  7182. /* interface _ADORecordset */
  7183. /* [object][helpcontext][uuid][nonextensible][dual] */
  7184. EXTERN_C const IID IID__Recordset;
  7185. #if defined(__cplusplus) && !defined(CINTERFACE)
  7186. MIDL_INTERFACE("00000556-0000-0010-8000-00AA006D2EA4")
  7187. _ADORecordset : public Recordset21
  7188. {
  7189. public:
  7190. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Save(
  7191. /* [optional][in] */ VARIANT Destination,
  7192. /* [defaultvalue][in] */ PersistFormatEnum PersistFormat = adPersistADTG) = 0;
  7193. };
  7194. #else /* C style interface */
  7195. typedef struct _RecordsetVtbl
  7196. {
  7197. BEGIN_INTERFACE
  7198. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  7199. _ADORecordset * This,
  7200. /* [in] */ REFIID riid,
  7201. /* [iid_is][out] */ void **ppvObject);
  7202. ULONG ( STDMETHODCALLTYPE *AddRef )(
  7203. _ADORecordset * This);
  7204. ULONG ( STDMETHODCALLTYPE *Release )(
  7205. _ADORecordset * This);
  7206. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  7207. _ADORecordset * This,
  7208. /* [out] */ UINT *pctinfo);
  7209. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  7210. _ADORecordset * This,
  7211. /* [in] */ UINT iTInfo,
  7212. /* [in] */ LCID lcid,
  7213. /* [out] */ ITypeInfo **ppTInfo);
  7214. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  7215. _ADORecordset * This,
  7216. /* [in] */ REFIID riid,
  7217. /* [size_is][in] */ LPOLESTR *rgszNames,
  7218. /* [in] */ UINT cNames,
  7219. /* [in] */ LCID lcid,
  7220. /* [size_is][out] */ DISPID *rgDispId);
  7221. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  7222. _ADORecordset * This,
  7223. /* [in] */ DISPID dispIdMember,
  7224. /* [in] */ REFIID riid,
  7225. /* [in] */ LCID lcid,
  7226. /* [in] */ WORD wFlags,
  7227. /* [out][in] */ DISPPARAMS *pDispParams,
  7228. /* [out] */ VARIANT *pVarResult,
  7229. /* [out] */ EXCEPINFO *pExcepInfo,
  7230. /* [out] */ UINT *puArgErr);
  7231. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Properties )(
  7232. _ADORecordset * This,
  7233. /* [retval][out] */ ADOProperties **ppvObject);
  7234. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_AbsolutePosition )(
  7235. _ADORecordset * This,
  7236. /* [retval][out] */ PositionEnum_Param *pl);
  7237. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_AbsolutePosition )(
  7238. _ADORecordset * This,
  7239. /* [in] */ PositionEnum_Param Position);
  7240. /* [helpcontext][propputref][id] */ HRESULT ( STDMETHODCALLTYPE *putref_ActiveADOConnection )(
  7241. _ADORecordset * This,
  7242. /* [in] */ IDispatch *pconn);
  7243. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_ActiveConnection )(
  7244. _ADORecordset * This,
  7245. /* [in] */ VARIANT vConn);
  7246. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ActiveConnection )(
  7247. _ADORecordset * This,
  7248. /* [retval][out] */ VARIANT *pvar);
  7249. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_BOF )(
  7250. _ADORecordset * This,
  7251. /* [retval][out] */ VARIANT_BOOL *pb);
  7252. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Bookmark )(
  7253. _ADORecordset * This,
  7254. /* [retval][out] */ VARIANT *pvBookmark);
  7255. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Bookmark )(
  7256. _ADORecordset * This,
  7257. /* [in] */ VARIANT vBookmark);
  7258. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CacheSize )(
  7259. _ADORecordset * This,
  7260. /* [retval][out] */ long *pl);
  7261. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CacheSize )(
  7262. _ADORecordset * This,
  7263. /* [in] */ long CacheSize);
  7264. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CursorType )(
  7265. _ADORecordset * This,
  7266. /* [retval][out] */ CursorTypeEnum *plCursorType);
  7267. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CursorType )(
  7268. _ADORecordset * This,
  7269. /* [in] */ CursorTypeEnum lCursorType);
  7270. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_EOF )(
  7271. _ADORecordset * This,
  7272. /* [retval][out] */ VARIANT_BOOL *pb);
  7273. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Fields )(
  7274. _ADORecordset * This,
  7275. /* [retval][out] */ ADOFields **ppvObject);
  7276. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_LockType )(
  7277. _ADORecordset * This,
  7278. /* [retval][out] */ LockTypeEnum *plLockType);
  7279. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_LockType )(
  7280. _ADORecordset * This,
  7281. /* [in] */ LockTypeEnum lLockType);
  7282. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_MaxRecords )(
  7283. _ADORecordset * This,
  7284. /* [retval][out] */ ADO_LONGPTR *plMaxRecords);
  7285. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_MaxRecords )(
  7286. _ADORecordset * This,
  7287. /* [in] */ ADO_LONGPTR lMaxRecords);
  7288. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_RecordCount )(
  7289. _ADORecordset * This,
  7290. /* [retval][out] */ ADO_LONGPTR *pl);
  7291. /* [helpcontext][propputref][id] */ HRESULT ( STDMETHODCALLTYPE *putref_Source )(
  7292. _ADORecordset * This,
  7293. /* [in] */ IDispatch *pcmd);
  7294. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Source )(
  7295. _ADORecordset * This,
  7296. /* [in] */ BSTR bstrConn);
  7297. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Source )(
  7298. _ADORecordset * This,
  7299. /* [retval][out] */ VARIANT *pvSource);
  7300. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *AddNew )(
  7301. _ADORecordset * This,
  7302. /* [optional][in] */ VARIANT FieldList,
  7303. /* [optional][in] */ VARIANT Values);
  7304. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *CancelUpdate )(
  7305. _ADORecordset * This);
  7306. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Close )(
  7307. _ADORecordset * This);
  7308. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )(
  7309. _ADORecordset * This,
  7310. /* [defaultvalue][in] */ AffectEnum AffectRecords);
  7311. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *GetRows )(
  7312. _ADORecordset * This,
  7313. /* [defaultvalue][in] */ long Rows,
  7314. /* [optional][in] */ VARIANT Start,
  7315. /* [optional][in] */ VARIANT Fields,
  7316. /* [retval][out] */ VARIANT *pvar);
  7317. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Move )(
  7318. _ADORecordset * This,
  7319. /* [in] */ ADO_LONGPTR NumRecords,
  7320. /* [optional][in] */ VARIANT Start);
  7321. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *MoveNext )(
  7322. _ADORecordset * This);
  7323. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *MovePrevious )(
  7324. _ADORecordset * This);
  7325. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *MoveFirst )(
  7326. _ADORecordset * This);
  7327. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *MoveLast )(
  7328. _ADORecordset * This);
  7329. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Open )(
  7330. _ADORecordset * This,
  7331. /* [optional][in] */ VARIANT Source,
  7332. /* [optional][in] */ VARIANT ActiveConnection,
  7333. /* [defaultvalue][in] */ CursorTypeEnum CursorType,
  7334. /* [defaultvalue][in] */ LockTypeEnum LockType,
  7335. /* [defaultvalue][in] */ LONG Options);
  7336. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Requery )(
  7337. _ADORecordset * This,
  7338. /* [defaultvalue][in] */ LONG Options);
  7339. /* [hidden] */ HRESULT ( STDMETHODCALLTYPE *_xResync )(
  7340. _ADORecordset * This,
  7341. /* [defaultvalue][in] */ AffectEnum AffectRecords);
  7342. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Update )(
  7343. _ADORecordset * This,
  7344. /* [optional][in] */ VARIANT Fields,
  7345. /* [optional][in] */ VARIANT Values);
  7346. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_AbsolutePage )(
  7347. _ADORecordset * This,
  7348. /* [retval][out] */ PositionEnum_Param *pl);
  7349. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_AbsolutePage )(
  7350. _ADORecordset * This,
  7351. /* [in] */ PositionEnum_Param Page);
  7352. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_EditMode )(
  7353. _ADORecordset * This,
  7354. /* [retval][out] */ EditModeEnum *pl);
  7355. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Filter )(
  7356. _ADORecordset * This,
  7357. /* [retval][out] */ VARIANT *Criteria);
  7358. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Filter )(
  7359. _ADORecordset * This,
  7360. /* [in] */ VARIANT Criteria);
  7361. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_PageCount )(
  7362. _ADORecordset * This,
  7363. /* [retval][out] */ ADO_LONGPTR *pl);
  7364. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_PageSize )(
  7365. _ADORecordset * This,
  7366. /* [retval][out] */ long *pl);
  7367. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_PageSize )(
  7368. _ADORecordset * This,
  7369. /* [in] */ long PageSize);
  7370. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Sort )(
  7371. _ADORecordset * This,
  7372. /* [retval][out] */ BSTR *Criteria);
  7373. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Sort )(
  7374. _ADORecordset * This,
  7375. /* [in] */ BSTR Criteria);
  7376. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Status )(
  7377. _ADORecordset * This,
  7378. /* [retval][out] */ long *pl);
  7379. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_State )(
  7380. _ADORecordset * This,
  7381. /* [retval][out] */ LONG *plObjState);
  7382. /* [hidden] */ HRESULT ( STDMETHODCALLTYPE *_xClone )(
  7383. _ADORecordset * This,
  7384. /* [retval][out] */ _ADORecordset **ppvObject);
  7385. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *UpdateBatch )(
  7386. _ADORecordset * This,
  7387. /* [defaultvalue][in] */ AffectEnum AffectRecords);
  7388. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *CancelBatch )(
  7389. _ADORecordset * This,
  7390. /* [defaultvalue][in] */ AffectEnum AffectRecords);
  7391. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CursorLocation )(
  7392. _ADORecordset * This,
  7393. /* [retval][out] */ CursorLocationEnum *plCursorLoc);
  7394. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CursorLocation )(
  7395. _ADORecordset * This,
  7396. /* [in] */ CursorLocationEnum lCursorLoc);
  7397. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *NextADORecordset )(
  7398. _ADORecordset * This,
  7399. /* [optional][out] */ VARIANT *RecordsAffected,
  7400. /* [retval][out] */ _ADORecordset **ppiRs);
  7401. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Supports )(
  7402. _ADORecordset * This,
  7403. /* [in] */ CursorOptionEnum CursorOptions,
  7404. /* [retval][out] */ VARIANT_BOOL *pb);
  7405. /* [hidden][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Collect )(
  7406. _ADORecordset * This,
  7407. /* [in] */ VARIANT Index,
  7408. /* [retval][out] */ VARIANT *pvar);
  7409. /* [hidden][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Collect )(
  7410. _ADORecordset * This,
  7411. /* [in] */ VARIANT Index,
  7412. /* [in] */ VARIANT value);
  7413. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_MarshalOptions )(
  7414. _ADORecordset * This,
  7415. /* [retval][out] */ MarshalOptionsEnum *peMarshal);
  7416. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_MarshalOptions )(
  7417. _ADORecordset * This,
  7418. /* [in] */ MarshalOptionsEnum eMarshal);
  7419. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Find )(
  7420. _ADORecordset * This,
  7421. /* [in] */ BSTR Criteria,
  7422. /* [defaultvalue][in] */ ADO_LONGPTR SkipRecords,
  7423. /* [defaultvalue][in] */ SearchDirectionEnum SearchDirection,
  7424. /* [optional][in] */ VARIANT Start);
  7425. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Cancel )(
  7426. _ADORecordset * This);
  7427. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_DataSource )(
  7428. _ADORecordset * This,
  7429. /* [retval][out] */ IUnknown **ppunkDataSource);
  7430. /* [helpcontext][propputref][id] */ HRESULT ( STDMETHODCALLTYPE *putref_DataSource )(
  7431. _ADORecordset * This,
  7432. /* [in] */ IUnknown *punkDataSource);
  7433. /* [hidden] */ HRESULT ( STDMETHODCALLTYPE *_xSave )(
  7434. _ADORecordset * This,
  7435. /* [defaultvalue][in] */ BSTR FileName,
  7436. /* [defaultvalue][in] */ PersistFormatEnum PersistFormat);
  7437. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ActiveCommand )(
  7438. _ADORecordset * This,
  7439. /* [retval][out] */ IDispatch **ppCmd);
  7440. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_StayInSync )(
  7441. _ADORecordset * This,
  7442. /* [in] */ VARIANT_BOOL bStayInSync);
  7443. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_StayInSync )(
  7444. _ADORecordset * This,
  7445. /* [retval][out] */ VARIANT_BOOL *pbStayInSync);
  7446. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *GetString )(
  7447. _ADORecordset * This,
  7448. /* [defaultvalue][in] */ StringFormatEnum StringFormat,
  7449. /* [defaultvalue][in] */ long NumRows,
  7450. /* [defaultvalue][in] */ BSTR ColumnDelimeter,
  7451. /* [defaultvalue][in] */ BSTR RowDelimeter,
  7452. /* [defaultvalue][in] */ BSTR NullExpr,
  7453. /* [retval][out] */ BSTR *pRetString);
  7454. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_DataMember )(
  7455. _ADORecordset * This,
  7456. /* [retval][out] */ BSTR *pbstrDataMember);
  7457. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_DataMember )(
  7458. _ADORecordset * This,
  7459. /* [in] */ BSTR bstrDataMember);
  7460. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *CompareBookmarks )(
  7461. _ADORecordset * This,
  7462. /* [in] */ VARIANT Bookmark1,
  7463. /* [in] */ VARIANT Bookmark2,
  7464. /* [retval][out] */ CompareEnum *pCompare);
  7465. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Clone )(
  7466. _ADORecordset * This,
  7467. /* [defaultvalue][in] */ LockTypeEnum LockType,
  7468. /* [retval][out] */ _ADORecordset **ppvObject);
  7469. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Resync )(
  7470. _ADORecordset * This,
  7471. /* [defaultvalue][in] */ AffectEnum AffectRecords,
  7472. /* [defaultvalue][in] */ ResyncEnum ResyncValues);
  7473. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Seek )(
  7474. _ADORecordset * This,
  7475. /* [in] */ VARIANT KeyValues,
  7476. /* [defaultvalue][in] */ SeekEnum SeekOption);
  7477. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Index )(
  7478. _ADORecordset * This,
  7479. /* [in] */ BSTR Index);
  7480. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Index )(
  7481. _ADORecordset * This,
  7482. /* [retval][out] */ BSTR *pbstrIndex);
  7483. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Save )(
  7484. _ADORecordset * This,
  7485. /* [optional][in] */ VARIANT Destination,
  7486. /* [defaultvalue][in] */ PersistFormatEnum PersistFormat);
  7487. END_INTERFACE
  7488. } _RecordsetVtbl;
  7489. interface _Recordset
  7490. {
  7491. CONST_VTBL struct _RecordsetVtbl *lpVtbl;
  7492. };
  7493. #ifdef COBJMACROS
  7494. #define _Recordset_QueryInterface(This,riid,ppvObject) \
  7495. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  7496. #define _Recordset_AddRef(This) \
  7497. (This)->lpVtbl -> AddRef(This)
  7498. #define _Recordset_Release(This) \
  7499. (This)->lpVtbl -> Release(This)
  7500. #define _Recordset_GetTypeInfoCount(This,pctinfo) \
  7501. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  7502. #define _Recordset_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  7503. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  7504. #define _Recordset_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  7505. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  7506. #define _Recordset_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  7507. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  7508. #define _Recordset_get_Properties(This,ppvObject) \
  7509. (This)->lpVtbl -> get_Properties(This,ppvObject)
  7510. #define _Recordset_get_AbsolutePosition(This,pl) \
  7511. (This)->lpVtbl -> get_AbsolutePosition(This,pl)
  7512. #define _Recordset_put_AbsolutePosition(This,Position) \
  7513. (This)->lpVtbl -> put_AbsolutePosition(This,Position)
  7514. #define _Recordset_putref_ActiveConnection(This,pconn) \
  7515. (This)->lpVtbl -> putref_ActiveConnection(This,pconn)
  7516. #define _Recordset_put_ActiveConnection(This,vConn) \
  7517. (This)->lpVtbl -> put_ActiveConnection(This,vConn)
  7518. #define _Recordset_get_ActiveConnection(This,pvar) \
  7519. (This)->lpVtbl -> get_ActiveConnection(This,pvar)
  7520. #define _Recordset_get_BOF(This,pb) \
  7521. (This)->lpVtbl -> get_BOF(This,pb)
  7522. #define _Recordset_get_Bookmark(This,pvBookmark) \
  7523. (This)->lpVtbl -> get_Bookmark(This,pvBookmark)
  7524. #define _Recordset_put_Bookmark(This,vBookmark) \
  7525. (This)->lpVtbl -> put_Bookmark(This,vBookmark)
  7526. #define _Recordset_get_CacheSize(This,pl) \
  7527. (This)->lpVtbl -> get_CacheSize(This,pl)
  7528. #define _Recordset_put_CacheSize(This,CacheSize) \
  7529. (This)->lpVtbl -> put_CacheSize(This,CacheSize)
  7530. #define _Recordset_get_CursorType(This,plCursorType) \
  7531. (This)->lpVtbl -> get_CursorType(This,plCursorType)
  7532. #define _Recordset_put_CursorType(This,lCursorType) \
  7533. (This)->lpVtbl -> put_CursorType(This,lCursorType)
  7534. #define _Recordset_get_EOF(This,pb) \
  7535. (This)->lpVtbl -> get_EOF(This,pb)
  7536. #define _Recordset_get_Fields(This,ppvObject) \
  7537. (This)->lpVtbl -> get_Fields(This,ppvObject)
  7538. #define _Recordset_get_LockType(This,plLockType) \
  7539. (This)->lpVtbl -> get_LockType(This,plLockType)
  7540. #define _Recordset_put_LockType(This,lLockType) \
  7541. (This)->lpVtbl -> put_LockType(This,lLockType)
  7542. #define _Recordset_get_MaxRecords(This,plMaxRecords) \
  7543. (This)->lpVtbl -> get_MaxRecords(This,plMaxRecords)
  7544. #define _Recordset_put_MaxRecords(This,lMaxRecords) \
  7545. (This)->lpVtbl -> put_MaxRecords(This,lMaxRecords)
  7546. #define _Recordset_get_RecordCount(This,pl) \
  7547. (This)->lpVtbl -> get_RecordCount(This,pl)
  7548. #define _Recordset_putref_Source(This,pcmd) \
  7549. (This)->lpVtbl -> putref_Source(This,pcmd)
  7550. #define _Recordset_put_Source(This,bstrConn) \
  7551. (This)->lpVtbl -> put_Source(This,bstrConn)
  7552. #define _Recordset_get_Source(This,pvSource) \
  7553. (This)->lpVtbl -> get_Source(This,pvSource)
  7554. #define _Recordset_AddNew(This,FieldList,Values) \
  7555. (This)->lpVtbl -> AddNew(This,FieldList,Values)
  7556. #define _Recordset_CancelUpdate(This) \
  7557. (This)->lpVtbl -> CancelUpdate(This)
  7558. #define _Recordset_Close(This) \
  7559. (This)->lpVtbl -> Close(This)
  7560. #define _Recordset_Delete(This,AffectRecords) \
  7561. (This)->lpVtbl -> Delete(This,AffectRecords)
  7562. #define _Recordset_GetRows(This,Rows,Start,Fields,pvar) \
  7563. (This)->lpVtbl -> GetRows(This,Rows,Start,Fields,pvar)
  7564. #define _Recordset_Move(This,NumRecords,Start) \
  7565. (This)->lpVtbl -> Move(This,NumRecords,Start)
  7566. #define _Recordset_MoveNext(This) \
  7567. (This)->lpVtbl -> MoveNext(This)
  7568. #define _Recordset_MovePrevious(This) \
  7569. (This)->lpVtbl -> MovePrevious(This)
  7570. #define _Recordset_MoveFirst(This) \
  7571. (This)->lpVtbl -> MoveFirst(This)
  7572. #define _Recordset_MoveLast(This) \
  7573. (This)->lpVtbl -> MoveLast(This)
  7574. #define _Recordset_Open(This,Source,ActiveConnection,CursorType,LockType,Options) \
  7575. (This)->lpVtbl -> Open(This,Source,ActiveConnection,CursorType,LockType,Options)
  7576. #define _Recordset_Requery(This,Options) \
  7577. (This)->lpVtbl -> Requery(This,Options)
  7578. #define _Recordset__xResync(This,AffectRecords) \
  7579. (This)->lpVtbl -> _xResync(This,AffectRecords)
  7580. #define _Recordset_Update(This,Fields,Values) \
  7581. (This)->lpVtbl -> Update(This,Fields,Values)
  7582. #define _Recordset_get_AbsolutePage(This,pl) \
  7583. (This)->lpVtbl -> get_AbsolutePage(This,pl)
  7584. #define _Recordset_put_AbsolutePage(This,Page) \
  7585. (This)->lpVtbl -> put_AbsolutePage(This,Page)
  7586. #define _Recordset_get_EditMode(This,pl) \
  7587. (This)->lpVtbl -> get_EditMode(This,pl)
  7588. #define _Recordset_get_Filter(This,Criteria) \
  7589. (This)->lpVtbl -> get_Filter(This,Criteria)
  7590. #define _Recordset_put_Filter(This,Criteria) \
  7591. (This)->lpVtbl -> put_Filter(This,Criteria)
  7592. #define _Recordset_get_PageCount(This,pl) \
  7593. (This)->lpVtbl -> get_PageCount(This,pl)
  7594. #define _Recordset_get_PageSize(This,pl) \
  7595. (This)->lpVtbl -> get_PageSize(This,pl)
  7596. #define _Recordset_put_PageSize(This,PageSize) \
  7597. (This)->lpVtbl -> put_PageSize(This,PageSize)
  7598. #define _Recordset_get_Sort(This,Criteria) \
  7599. (This)->lpVtbl -> get_Sort(This,Criteria)
  7600. #define _Recordset_put_Sort(This,Criteria) \
  7601. (This)->lpVtbl -> put_Sort(This,Criteria)
  7602. #define _Recordset_get_Status(This,pl) \
  7603. (This)->lpVtbl -> get_Status(This,pl)
  7604. #define _Recordset_get_State(This,plObjState) \
  7605. (This)->lpVtbl -> get_State(This,plObjState)
  7606. #define _Recordset__xClone(This,ppvObject) \
  7607. (This)->lpVtbl -> _xClone(This,ppvObject)
  7608. #define _Recordset_UpdateBatch(This,AffectRecords) \
  7609. (This)->lpVtbl -> UpdateBatch(This,AffectRecords)
  7610. #define _Recordset_CancelBatch(This,AffectRecords) \
  7611. (This)->lpVtbl -> CancelBatch(This,AffectRecords)
  7612. #define _Recordset_get_CursorLocation(This,plCursorLoc) \
  7613. (This)->lpVtbl -> get_CursorLocation(This,plCursorLoc)
  7614. #define _Recordset_put_CursorLocation(This,lCursorLoc) \
  7615. (This)->lpVtbl -> put_CursorLocation(This,lCursorLoc)
  7616. #define _Recordset_NextRecordset(This,RecordsAffected,ppiRs) \
  7617. (This)->lpVtbl -> NextRecordset(This,RecordsAffected,ppiRs)
  7618. #define _Recordset_Supports(This,CursorOptions,pb) \
  7619. (This)->lpVtbl -> Supports(This,CursorOptions,pb)
  7620. #define _Recordset_get_Collect(This,Index,pvar) \
  7621. (This)->lpVtbl -> get_Collect(This,Index,pvar)
  7622. #define _Recordset_put_Collect(This,Index,value) \
  7623. (This)->lpVtbl -> put_Collect(This,Index,value)
  7624. #define _Recordset_get_MarshalOptions(This,peMarshal) \
  7625. (This)->lpVtbl -> get_MarshalOptions(This,peMarshal)
  7626. #define _Recordset_put_MarshalOptions(This,eMarshal) \
  7627. (This)->lpVtbl -> put_MarshalOptions(This,eMarshal)
  7628. #define _Recordset_Find(This,Criteria,SkipRecords,SearchDirection,Start) \
  7629. (This)->lpVtbl -> Find(This,Criteria,SkipRecords,SearchDirection,Start)
  7630. #define _Recordset_Cancel(This) \
  7631. (This)->lpVtbl -> Cancel(This)
  7632. #define _Recordset_get_DataSource(This,ppunkDataSource) \
  7633. (This)->lpVtbl -> get_DataSource(This,ppunkDataSource)
  7634. #define _Recordset_putref_DataSource(This,punkDataSource) \
  7635. (This)->lpVtbl -> putref_DataSource(This,punkDataSource)
  7636. #define _Recordset__xSave(This,FileName,PersistFormat) \
  7637. (This)->lpVtbl -> _xSave(This,FileName,PersistFormat)
  7638. #define _Recordset_get_ActiveCommand(This,ppCmd) \
  7639. (This)->lpVtbl -> get_ActiveCommand(This,ppCmd)
  7640. #define _Recordset_put_StayInSync(This,bStayInSync) \
  7641. (This)->lpVtbl -> put_StayInSync(This,bStayInSync)
  7642. #define _Recordset_get_StayInSync(This,pbStayInSync) \
  7643. (This)->lpVtbl -> get_StayInSync(This,pbStayInSync)
  7644. #define _Recordset_GetString(This,StringFormat,NumRows,ColumnDelimeter,RowDelimeter,NullExpr,pRetString) \
  7645. (This)->lpVtbl -> GetString(This,StringFormat,NumRows,ColumnDelimeter,RowDelimeter,NullExpr,pRetString)
  7646. #define _Recordset_get_DataMember(This,pbstrDataMember) \
  7647. (This)->lpVtbl -> get_DataMember(This,pbstrDataMember)
  7648. #define _Recordset_put_DataMember(This,bstrDataMember) \
  7649. (This)->lpVtbl -> put_DataMember(This,bstrDataMember)
  7650. #define _Recordset_CompareBookmarks(This,Bookmark1,Bookmark2,pCompare) \
  7651. (This)->lpVtbl -> CompareBookmarks(This,Bookmark1,Bookmark2,pCompare)
  7652. #define _Recordset_Clone(This,LockType,ppvObject) \
  7653. (This)->lpVtbl -> Clone(This,LockType,ppvObject)
  7654. #define _Recordset_Resync(This,AffectRecords,ResyncValues) \
  7655. (This)->lpVtbl -> Resync(This,AffectRecords,ResyncValues)
  7656. #define _Recordset_Seek(This,KeyValues,SeekOption) \
  7657. (This)->lpVtbl -> Seek(This,KeyValues,SeekOption)
  7658. #define _Recordset_put_Index(This,Index) \
  7659. (This)->lpVtbl -> put_Index(This,Index)
  7660. #define _Recordset_get_Index(This,pbstrIndex) \
  7661. (This)->lpVtbl -> get_Index(This,pbstrIndex)
  7662. #define _Recordset_Save(This,Destination,PersistFormat) \
  7663. (This)->lpVtbl -> Save(This,Destination,PersistFormat)
  7664. #endif /* COBJMACROS */
  7665. #endif /* C style interface */
  7666. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE _Recordset_Save_Proxy(
  7667. _ADORecordset * This,
  7668. /* [optional][in] */ VARIANT Destination,
  7669. /* [defaultvalue][in] */ PersistFormatEnum PersistFormat);
  7670. void __RPC_STUB _Recordset_Save_Stub(
  7671. IRpcStubBuffer *This,
  7672. IRpcChannelBuffer *_pRpcChannelBuffer,
  7673. PRPC_MESSAGE _pRpcMessage,
  7674. DWORD *_pdwStubPhase);
  7675. #endif /* ___Recordset_INTERFACE_DEFINED__ */
  7676. #ifndef __ADORecordsetConstruction_INTERFACE_DEFINED__
  7677. #define __ADORecordsetConstruction_INTERFACE_DEFINED__
  7678. /* interface ADORecordsetConstruction */
  7679. /* [object][uuid][restricted] */
  7680. EXTERN_C const IID IID_ADORecordsetConstruction;
  7681. #if defined(__cplusplus) && !defined(CINTERFACE)
  7682. MIDL_INTERFACE("00000283-0000-0010-8000-00AA006D2EA4")
  7683. ADORecordsetConstruction : public IDispatch
  7684. {
  7685. public:
  7686. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Rowset(
  7687. /* [retval][out] */ IUnknown **ppRowset) = 0;
  7688. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Rowset(
  7689. /* [in] */ IUnknown *pRowset) = 0;
  7690. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Chapter(
  7691. /* [retval][out] */ ADO_LONGPTR *plChapter) = 0;
  7692. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Chapter(
  7693. /* [in] */ ADO_LONGPTR lChapter) = 0;
  7694. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_RowPosition(
  7695. /* [retval][out] */ IUnknown **ppRowPos) = 0;
  7696. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_RowPosition(
  7697. /* [in] */ IUnknown *pRowPos) = 0;
  7698. };
  7699. #else /* C style interface */
  7700. typedef struct ADORecordsetConstructionVtbl
  7701. {
  7702. BEGIN_INTERFACE
  7703. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  7704. ADORecordsetConstruction * This,
  7705. /* [in] */ REFIID riid,
  7706. /* [iid_is][out] */ void **ppvObject);
  7707. ULONG ( STDMETHODCALLTYPE *AddRef )(
  7708. ADORecordsetConstruction * This);
  7709. ULONG ( STDMETHODCALLTYPE *Release )(
  7710. ADORecordsetConstruction * This);
  7711. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  7712. ADORecordsetConstruction * This,
  7713. /* [out] */ UINT *pctinfo);
  7714. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  7715. ADORecordsetConstruction * This,
  7716. /* [in] */ UINT iTInfo,
  7717. /* [in] */ LCID lcid,
  7718. /* [out] */ ITypeInfo **ppTInfo);
  7719. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  7720. ADORecordsetConstruction * This,
  7721. /* [in] */ REFIID riid,
  7722. /* [size_is][in] */ LPOLESTR *rgszNames,
  7723. /* [in] */ UINT cNames,
  7724. /* [in] */ LCID lcid,
  7725. /* [size_is][out] */ DISPID *rgDispId);
  7726. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  7727. ADORecordsetConstruction * This,
  7728. /* [in] */ DISPID dispIdMember,
  7729. /* [in] */ REFIID riid,
  7730. /* [in] */ LCID lcid,
  7731. /* [in] */ WORD wFlags,
  7732. /* [out][in] */ DISPPARAMS *pDispParams,
  7733. /* [out] */ VARIANT *pVarResult,
  7734. /* [out] */ EXCEPINFO *pExcepInfo,
  7735. /* [out] */ UINT *puArgErr);
  7736. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Rowset )(
  7737. ADORecordsetConstruction * This,
  7738. /* [retval][out] */ IUnknown **ppRowset);
  7739. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_Rowset )(
  7740. ADORecordsetConstruction * This,
  7741. /* [in] */ IUnknown *pRowset);
  7742. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Chapter )(
  7743. ADORecordsetConstruction * This,
  7744. /* [retval][out] */ ADO_LONGPTR *plChapter);
  7745. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_Chapter )(
  7746. ADORecordsetConstruction * This,
  7747. /* [in] */ ADO_LONGPTR lChapter);
  7748. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_RowPosition )(
  7749. ADORecordsetConstruction * This,
  7750. /* [retval][out] */ IUnknown **ppRowPos);
  7751. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_RowPosition )(
  7752. ADORecordsetConstruction * This,
  7753. /* [in] */ IUnknown *pRowPos);
  7754. END_INTERFACE
  7755. } ADORecordsetConstructionVtbl;
  7756. interface ADORecordsetConstruction
  7757. {
  7758. CONST_VTBL struct ADORecordsetConstructionVtbl *lpVtbl;
  7759. };
  7760. #ifdef COBJMACROS
  7761. #define ADORecordsetConstruction_QueryInterface(This,riid,ppvObject) \
  7762. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  7763. #define ADORecordsetConstruction_AddRef(This) \
  7764. (This)->lpVtbl -> AddRef(This)
  7765. #define ADORecordsetConstruction_Release(This) \
  7766. (This)->lpVtbl -> Release(This)
  7767. #define ADORecordsetConstruction_GetTypeInfoCount(This,pctinfo) \
  7768. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  7769. #define ADORecordsetConstruction_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  7770. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  7771. #define ADORecordsetConstruction_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  7772. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  7773. #define ADORecordsetConstruction_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  7774. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  7775. #define ADORecordsetConstruction_get_Rowset(This,ppRowset) \
  7776. (This)->lpVtbl -> get_Rowset(This,ppRowset)
  7777. #define ADORecordsetConstruction_put_Rowset(This,pRowset) \
  7778. (This)->lpVtbl -> put_Rowset(This,pRowset)
  7779. #define ADORecordsetConstruction_get_Chapter(This,plChapter) \
  7780. (This)->lpVtbl -> get_Chapter(This,plChapter)
  7781. #define ADORecordsetConstruction_put_Chapter(This,lChapter) \
  7782. (This)->lpVtbl -> put_Chapter(This,lChapter)
  7783. #define ADORecordsetConstruction_get_RowPosition(This,ppRowPos) \
  7784. (This)->lpVtbl -> get_RowPosition(This,ppRowPos)
  7785. #define ADORecordsetConstruction_put_RowPosition(This,pRowPos) \
  7786. (This)->lpVtbl -> put_RowPosition(This,pRowPos)
  7787. #endif /* COBJMACROS */
  7788. #endif /* C style interface */
  7789. /* [propget] */ HRESULT STDMETHODCALLTYPE ADORecordsetConstruction_get_Rowset_Proxy(
  7790. ADORecordsetConstruction * This,
  7791. /* [retval][out] */ IUnknown **ppRowset);
  7792. void __RPC_STUB ADORecordsetConstruction_get_Rowset_Stub(
  7793. IRpcStubBuffer *This,
  7794. IRpcChannelBuffer *_pRpcChannelBuffer,
  7795. PRPC_MESSAGE _pRpcMessage,
  7796. DWORD *_pdwStubPhase);
  7797. /* [propput] */ HRESULT STDMETHODCALLTYPE ADORecordsetConstruction_put_Rowset_Proxy(
  7798. ADORecordsetConstruction * This,
  7799. /* [in] */ IUnknown *pRowset);
  7800. void __RPC_STUB ADORecordsetConstruction_put_Rowset_Stub(
  7801. IRpcStubBuffer *This,
  7802. IRpcChannelBuffer *_pRpcChannelBuffer,
  7803. PRPC_MESSAGE _pRpcMessage,
  7804. DWORD *_pdwStubPhase);
  7805. /* [propget] */ HRESULT STDMETHODCALLTYPE ADORecordsetConstruction_get_Chapter_Proxy(
  7806. ADORecordsetConstruction * This,
  7807. /* [retval][out] */ ADO_LONGPTR *plChapter);
  7808. void __RPC_STUB ADORecordsetConstruction_get_Chapter_Stub(
  7809. IRpcStubBuffer *This,
  7810. IRpcChannelBuffer *_pRpcChannelBuffer,
  7811. PRPC_MESSAGE _pRpcMessage,
  7812. DWORD *_pdwStubPhase);
  7813. /* [propput] */ HRESULT STDMETHODCALLTYPE ADORecordsetConstruction_put_Chapter_Proxy(
  7814. ADORecordsetConstruction * This,
  7815. /* [in] */ ADO_LONGPTR lChapter);
  7816. void __RPC_STUB ADORecordsetConstruction_put_Chapter_Stub(
  7817. IRpcStubBuffer *This,
  7818. IRpcChannelBuffer *_pRpcChannelBuffer,
  7819. PRPC_MESSAGE _pRpcMessage,
  7820. DWORD *_pdwStubPhase);
  7821. /* [propget] */ HRESULT STDMETHODCALLTYPE ADORecordsetConstruction_get_RowPosition_Proxy(
  7822. ADORecordsetConstruction * This,
  7823. /* [retval][out] */ IUnknown **ppRowPos);
  7824. void __RPC_STUB ADORecordsetConstruction_get_RowPosition_Stub(
  7825. IRpcStubBuffer *This,
  7826. IRpcChannelBuffer *_pRpcChannelBuffer,
  7827. PRPC_MESSAGE _pRpcMessage,
  7828. DWORD *_pdwStubPhase);
  7829. /* [propput] */ HRESULT STDMETHODCALLTYPE ADORecordsetConstruction_put_RowPosition_Proxy(
  7830. ADORecordsetConstruction * This,
  7831. /* [in] */ IUnknown *pRowPos);
  7832. void __RPC_STUB ADORecordsetConstruction_put_RowPosition_Stub(
  7833. IRpcStubBuffer *This,
  7834. IRpcChannelBuffer *_pRpcChannelBuffer,
  7835. PRPC_MESSAGE _pRpcMessage,
  7836. DWORD *_pdwStubPhase);
  7837. #endif /* __ADORecordsetConstruction_INTERFACE_DEFINED__ */
  7838. #ifndef __Field15_INTERFACE_DEFINED__
  7839. #define __Field15_INTERFACE_DEFINED__
  7840. /* interface Field15 */
  7841. /* [object][helpcontext][uuid][hidden][nonextensible][dual] */
  7842. EXTERN_C const IID IID_Field15;
  7843. #if defined(__cplusplus) && !defined(CINTERFACE)
  7844. MIDL_INTERFACE("00000505-0000-0010-8000-00AA006D2EA4")
  7845. Field15 : public _ADO
  7846. {
  7847. public:
  7848. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_ActualSize(
  7849. /* [retval][out] */ ADO_LONGPTR *pl) = 0;
  7850. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Attributes(
  7851. /* [retval][out] */ long *pl) = 0;
  7852. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_DefinedSize(
  7853. /* [retval][out] */ ADO_LONGPTR *pl) = 0;
  7854. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Name(
  7855. /* [retval][out] */ BSTR *pbstr) = 0;
  7856. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Type(
  7857. /* [retval][out] */ DataTypeEnum *pDataType) = 0;
  7858. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Value(
  7859. /* [retval][out] */ VARIANT *pvar) = 0;
  7860. virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_Value(
  7861. /* [in] */ VARIANT Val) = 0;
  7862. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Precision(
  7863. /* [retval][out] */ BYTE *pbPrecision) = 0;
  7864. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_NumericScale(
  7865. /* [retval][out] */ BYTE *pbNumericScale) = 0;
  7866. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE AppendChunk(
  7867. /* [in] */ VARIANT Data) = 0;
  7868. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE GetChunk(
  7869. /* [in] */ long Length,
  7870. /* [retval][out] */ VARIANT *pvar) = 0;
  7871. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_OriginalValue(
  7872. /* [retval][out] */ VARIANT *pvar) = 0;
  7873. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_UnderlyingValue(
  7874. /* [retval][out] */ VARIANT *pvar) = 0;
  7875. };
  7876. #else /* C style interface */
  7877. typedef struct Field15Vtbl
  7878. {
  7879. BEGIN_INTERFACE
  7880. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  7881. Field15 * This,
  7882. /* [in] */ REFIID riid,
  7883. /* [iid_is][out] */ void **ppvObject);
  7884. ULONG ( STDMETHODCALLTYPE *AddRef )(
  7885. Field15 * This);
  7886. ULONG ( STDMETHODCALLTYPE *Release )(
  7887. Field15 * This);
  7888. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  7889. Field15 * This,
  7890. /* [out] */ UINT *pctinfo);
  7891. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  7892. Field15 * This,
  7893. /* [in] */ UINT iTInfo,
  7894. /* [in] */ LCID lcid,
  7895. /* [out] */ ITypeInfo **ppTInfo);
  7896. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  7897. Field15 * This,
  7898. /* [in] */ REFIID riid,
  7899. /* [size_is][in] */ LPOLESTR *rgszNames,
  7900. /* [in] */ UINT cNames,
  7901. /* [in] */ LCID lcid,
  7902. /* [size_is][out] */ DISPID *rgDispId);
  7903. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  7904. Field15 * This,
  7905. /* [in] */ DISPID dispIdMember,
  7906. /* [in] */ REFIID riid,
  7907. /* [in] */ LCID lcid,
  7908. /* [in] */ WORD wFlags,
  7909. /* [out][in] */ DISPPARAMS *pDispParams,
  7910. /* [out] */ VARIANT *pVarResult,
  7911. /* [out] */ EXCEPINFO *pExcepInfo,
  7912. /* [out] */ UINT *puArgErr);
  7913. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Properties )(
  7914. Field15 * This,
  7915. /* [retval][out] */ ADOProperties **ppvObject);
  7916. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ActualSize )(
  7917. Field15 * This,
  7918. /* [retval][out] */ ADO_LONGPTR *pl);
  7919. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Attributes )(
  7920. Field15 * This,
  7921. /* [retval][out] */ long *pl);
  7922. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_DefinedSize )(
  7923. Field15 * This,
  7924. /* [retval][out] */ ADO_LONGPTR *pl);
  7925. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  7926. Field15 * This,
  7927. /* [retval][out] */ BSTR *pbstr);
  7928. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Type )(
  7929. Field15 * This,
  7930. /* [retval][out] */ DataTypeEnum *pDataType);
  7931. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Value )(
  7932. Field15 * This,
  7933. /* [retval][out] */ VARIANT *pvar);
  7934. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Value )(
  7935. Field15 * This,
  7936. /* [in] */ VARIANT Val);
  7937. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Precision )(
  7938. Field15 * This,
  7939. /* [retval][out] */ BYTE *pbPrecision);
  7940. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_NumericScale )(
  7941. Field15 * This,
  7942. /* [retval][out] */ BYTE *pbNumericScale);
  7943. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *AppendChunk )(
  7944. Field15 * This,
  7945. /* [in] */ VARIANT Data);
  7946. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *GetChunk )(
  7947. Field15 * This,
  7948. /* [in] */ long Length,
  7949. /* [retval][out] */ VARIANT *pvar);
  7950. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_OriginalValue )(
  7951. Field15 * This,
  7952. /* [retval][out] */ VARIANT *pvar);
  7953. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_UnderlyingValue )(
  7954. Field15 * This,
  7955. /* [retval][out] */ VARIANT *pvar);
  7956. END_INTERFACE
  7957. } Field15Vtbl;
  7958. interface Field15
  7959. {
  7960. CONST_VTBL struct Field15Vtbl *lpVtbl;
  7961. };
  7962. #ifdef COBJMACROS
  7963. #define Field15_QueryInterface(This,riid,ppvObject) \
  7964. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  7965. #define Field15_AddRef(This) \
  7966. (This)->lpVtbl -> AddRef(This)
  7967. #define Field15_Release(This) \
  7968. (This)->lpVtbl -> Release(This)
  7969. #define Field15_GetTypeInfoCount(This,pctinfo) \
  7970. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  7971. #define Field15_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  7972. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  7973. #define Field15_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  7974. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  7975. #define Field15_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  7976. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  7977. #define Field15_get_Properties(This,ppvObject) \
  7978. (This)->lpVtbl -> get_Properties(This,ppvObject)
  7979. #define Field15_get_ActualSize(This,pl) \
  7980. (This)->lpVtbl -> get_ActualSize(This,pl)
  7981. #define Field15_get_Attributes(This,pl) \
  7982. (This)->lpVtbl -> get_Attributes(This,pl)
  7983. #define Field15_get_DefinedSize(This,pl) \
  7984. (This)->lpVtbl -> get_DefinedSize(This,pl)
  7985. #define Field15_get_Name(This,pbstr) \
  7986. (This)->lpVtbl -> get_Name(This,pbstr)
  7987. #define Field15_get_Type(This,pDataType) \
  7988. (This)->lpVtbl -> get_Type(This,pDataType)
  7989. #define Field15_get_Value(This,pvar) \
  7990. (This)->lpVtbl -> get_Value(This,pvar)
  7991. #define Field15_put_Value(This,Val) \
  7992. (This)->lpVtbl -> put_Value(This,Val)
  7993. #define Field15_get_Precision(This,pbPrecision) \
  7994. (This)->lpVtbl -> get_Precision(This,pbPrecision)
  7995. #define Field15_get_NumericScale(This,pbNumericScale) \
  7996. (This)->lpVtbl -> get_NumericScale(This,pbNumericScale)
  7997. #define Field15_AppendChunk(This,Data) \
  7998. (This)->lpVtbl -> AppendChunk(This,Data)
  7999. #define Field15_GetChunk(This,Length,pvar) \
  8000. (This)->lpVtbl -> GetChunk(This,Length,pvar)
  8001. #define Field15_get_OriginalValue(This,pvar) \
  8002. (This)->lpVtbl -> get_OriginalValue(This,pvar)
  8003. #define Field15_get_UnderlyingValue(This,pvar) \
  8004. (This)->lpVtbl -> get_UnderlyingValue(This,pvar)
  8005. #endif /* COBJMACROS */
  8006. #endif /* C style interface */
  8007. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Field15_get_ActualSize_Proxy(
  8008. Field15 * This,
  8009. /* [retval][out] */ ADO_LONGPTR *pl);
  8010. void __RPC_STUB Field15_get_ActualSize_Stub(
  8011. IRpcStubBuffer *This,
  8012. IRpcChannelBuffer *_pRpcChannelBuffer,
  8013. PRPC_MESSAGE _pRpcMessage,
  8014. DWORD *_pdwStubPhase);
  8015. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Field15_get_Attributes_Proxy(
  8016. Field15 * This,
  8017. /* [retval][out] */ long *pl);
  8018. void __RPC_STUB Field15_get_Attributes_Stub(
  8019. IRpcStubBuffer *This,
  8020. IRpcChannelBuffer *_pRpcChannelBuffer,
  8021. PRPC_MESSAGE _pRpcMessage,
  8022. DWORD *_pdwStubPhase);
  8023. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Field15_get_DefinedSize_Proxy(
  8024. Field15 * This,
  8025. /* [retval][out] */ ADO_LONGPTR *pl);
  8026. void __RPC_STUB Field15_get_DefinedSize_Stub(
  8027. IRpcStubBuffer *This,
  8028. IRpcChannelBuffer *_pRpcChannelBuffer,
  8029. PRPC_MESSAGE _pRpcMessage,
  8030. DWORD *_pdwStubPhase);
  8031. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Field15_get_Name_Proxy(
  8032. Field15 * This,
  8033. /* [retval][out] */ BSTR *pbstr);
  8034. void __RPC_STUB Field15_get_Name_Stub(
  8035. IRpcStubBuffer *This,
  8036. IRpcChannelBuffer *_pRpcChannelBuffer,
  8037. PRPC_MESSAGE _pRpcMessage,
  8038. DWORD *_pdwStubPhase);
  8039. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Field15_get_Type_Proxy(
  8040. Field15 * This,
  8041. /* [retval][out] */ DataTypeEnum *pDataType);
  8042. void __RPC_STUB Field15_get_Type_Stub(
  8043. IRpcStubBuffer *This,
  8044. IRpcChannelBuffer *_pRpcChannelBuffer,
  8045. PRPC_MESSAGE _pRpcMessage,
  8046. DWORD *_pdwStubPhase);
  8047. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Field15_get_Value_Proxy(
  8048. Field15 * This,
  8049. /* [retval][out] */ VARIANT *pvar);
  8050. void __RPC_STUB Field15_get_Value_Stub(
  8051. IRpcStubBuffer *This,
  8052. IRpcChannelBuffer *_pRpcChannelBuffer,
  8053. PRPC_MESSAGE _pRpcMessage,
  8054. DWORD *_pdwStubPhase);
  8055. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Field15_put_Value_Proxy(
  8056. Field15 * This,
  8057. /* [in] */ VARIANT Val);
  8058. void __RPC_STUB Field15_put_Value_Stub(
  8059. IRpcStubBuffer *This,
  8060. IRpcChannelBuffer *_pRpcChannelBuffer,
  8061. PRPC_MESSAGE _pRpcMessage,
  8062. DWORD *_pdwStubPhase);
  8063. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Field15_get_Precision_Proxy(
  8064. Field15 * This,
  8065. /* [retval][out] */ BYTE *pbPrecision);
  8066. void __RPC_STUB Field15_get_Precision_Stub(
  8067. IRpcStubBuffer *This,
  8068. IRpcChannelBuffer *_pRpcChannelBuffer,
  8069. PRPC_MESSAGE _pRpcMessage,
  8070. DWORD *_pdwStubPhase);
  8071. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Field15_get_NumericScale_Proxy(
  8072. Field15 * This,
  8073. /* [retval][out] */ BYTE *pbNumericScale);
  8074. void __RPC_STUB Field15_get_NumericScale_Stub(
  8075. IRpcStubBuffer *This,
  8076. IRpcChannelBuffer *_pRpcChannelBuffer,
  8077. PRPC_MESSAGE _pRpcMessage,
  8078. DWORD *_pdwStubPhase);
  8079. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Field15_AppendChunk_Proxy(
  8080. Field15 * This,
  8081. /* [in] */ VARIANT Data);
  8082. void __RPC_STUB Field15_AppendChunk_Stub(
  8083. IRpcStubBuffer *This,
  8084. IRpcChannelBuffer *_pRpcChannelBuffer,
  8085. PRPC_MESSAGE _pRpcMessage,
  8086. DWORD *_pdwStubPhase);
  8087. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Field15_GetChunk_Proxy(
  8088. Field15 * This,
  8089. /* [in] */ long Length,
  8090. /* [retval][out] */ VARIANT *pvar);
  8091. void __RPC_STUB Field15_GetChunk_Stub(
  8092. IRpcStubBuffer *This,
  8093. IRpcChannelBuffer *_pRpcChannelBuffer,
  8094. PRPC_MESSAGE _pRpcMessage,
  8095. DWORD *_pdwStubPhase);
  8096. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Field15_get_OriginalValue_Proxy(
  8097. Field15 * This,
  8098. /* [retval][out] */ VARIANT *pvar);
  8099. void __RPC_STUB Field15_get_OriginalValue_Stub(
  8100. IRpcStubBuffer *This,
  8101. IRpcChannelBuffer *_pRpcChannelBuffer,
  8102. PRPC_MESSAGE _pRpcMessage,
  8103. DWORD *_pdwStubPhase);
  8104. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Field15_get_UnderlyingValue_Proxy(
  8105. Field15 * This,
  8106. /* [retval][out] */ VARIANT *pvar);
  8107. void __RPC_STUB Field15_get_UnderlyingValue_Stub(
  8108. IRpcStubBuffer *This,
  8109. IRpcChannelBuffer *_pRpcChannelBuffer,
  8110. PRPC_MESSAGE _pRpcMessage,
  8111. DWORD *_pdwStubPhase);
  8112. #endif /* __Field15_INTERFACE_DEFINED__ */
  8113. #ifndef __Field20_INTERFACE_DEFINED__
  8114. #define __Field20_INTERFACE_DEFINED__
  8115. /* interface Field20 */
  8116. /* [object][helpcontext][uuid][hidden][nonextensible][dual] */
  8117. EXTERN_C const IID IID_Field20;
  8118. #if defined(__cplusplus) && !defined(CINTERFACE)
  8119. MIDL_INTERFACE("0000054C-0000-0010-8000-00AA006D2EA4")
  8120. Field20 : public _ADO
  8121. {
  8122. public:
  8123. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_ActualSize(
  8124. /* [retval][out] */ ADO_LONGPTR *pl) = 0;
  8125. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Attributes(
  8126. /* [retval][out] */ long *pl) = 0;
  8127. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_DefinedSize(
  8128. /* [retval][out] */ ADO_LONGPTR *pl) = 0;
  8129. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Name(
  8130. /* [retval][out] */ BSTR *pbstr) = 0;
  8131. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Type(
  8132. /* [retval][out] */ DataTypeEnum *pDataType) = 0;
  8133. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Value(
  8134. /* [retval][out] */ VARIANT *pvar) = 0;
  8135. virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_Value(
  8136. /* [in] */ VARIANT Val) = 0;
  8137. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Precision(
  8138. /* [retval][out] */ BYTE *pbPrecision) = 0;
  8139. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_NumericScale(
  8140. /* [retval][out] */ BYTE *pbNumericScale) = 0;
  8141. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE AppendChunk(
  8142. /* [in] */ VARIANT Data) = 0;
  8143. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE GetChunk(
  8144. /* [in] */ long Length,
  8145. /* [retval][out] */ VARIANT *pvar) = 0;
  8146. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_OriginalValue(
  8147. /* [retval][out] */ VARIANT *pvar) = 0;
  8148. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_UnderlyingValue(
  8149. /* [retval][out] */ VARIANT *pvar) = 0;
  8150. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_DataFormat(
  8151. /* [retval][out] */ IUnknown **ppiDF) = 0;
  8152. virtual /* [propputref][id] */ HRESULT STDMETHODCALLTYPE putref_DataFormat(
  8153. /* [in] */ IUnknown *piDF) = 0;
  8154. virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_Precision(
  8155. /* [in] */ BYTE bPrecision) = 0;
  8156. virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_NumericScale(
  8157. /* [in] */ BYTE bScale) = 0;
  8158. virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_Type(
  8159. /* [in] */ DataTypeEnum DataType) = 0;
  8160. virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_DefinedSize(
  8161. /* [in] */ ADO_LONGPTR lSize) = 0;
  8162. virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_Attributes(
  8163. /* [in] */ long lAttributes) = 0;
  8164. };
  8165. #else /* C style interface */
  8166. typedef struct Field20Vtbl
  8167. {
  8168. BEGIN_INTERFACE
  8169. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  8170. Field20 * This,
  8171. /* [in] */ REFIID riid,
  8172. /* [iid_is][out] */ void **ppvObject);
  8173. ULONG ( STDMETHODCALLTYPE *AddRef )(
  8174. Field20 * This);
  8175. ULONG ( STDMETHODCALLTYPE *Release )(
  8176. Field20 * This);
  8177. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  8178. Field20 * This,
  8179. /* [out] */ UINT *pctinfo);
  8180. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  8181. Field20 * This,
  8182. /* [in] */ UINT iTInfo,
  8183. /* [in] */ LCID lcid,
  8184. /* [out] */ ITypeInfo **ppTInfo);
  8185. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  8186. Field20 * This,
  8187. /* [in] */ REFIID riid,
  8188. /* [size_is][in] */ LPOLESTR *rgszNames,
  8189. /* [in] */ UINT cNames,
  8190. /* [in] */ LCID lcid,
  8191. /* [size_is][out] */ DISPID *rgDispId);
  8192. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  8193. Field20 * This,
  8194. /* [in] */ DISPID dispIdMember,
  8195. /* [in] */ REFIID riid,
  8196. /* [in] */ LCID lcid,
  8197. /* [in] */ WORD wFlags,
  8198. /* [out][in] */ DISPPARAMS *pDispParams,
  8199. /* [out] */ VARIANT *pVarResult,
  8200. /* [out] */ EXCEPINFO *pExcepInfo,
  8201. /* [out] */ UINT *puArgErr);
  8202. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Properties )(
  8203. Field20 * This,
  8204. /* [retval][out] */ ADOProperties **ppvObject);
  8205. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ActualSize )(
  8206. Field20 * This,
  8207. /* [retval][out] */ ADO_LONGPTR *pl);
  8208. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Attributes )(
  8209. Field20 * This,
  8210. /* [retval][out] */ long *pl);
  8211. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_DefinedSize )(
  8212. Field20 * This,
  8213. /* [retval][out] */ ADO_LONGPTR *pl);
  8214. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  8215. Field20 * This,
  8216. /* [retval][out] */ BSTR *pbstr);
  8217. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Type )(
  8218. Field20 * This,
  8219. /* [retval][out] */ DataTypeEnum *pDataType);
  8220. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Value )(
  8221. Field20 * This,
  8222. /* [retval][out] */ VARIANT *pvar);
  8223. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Value )(
  8224. Field20 * This,
  8225. /* [in] */ VARIANT Val);
  8226. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Precision )(
  8227. Field20 * This,
  8228. /* [retval][out] */ BYTE *pbPrecision);
  8229. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_NumericScale )(
  8230. Field20 * This,
  8231. /* [retval][out] */ BYTE *pbNumericScale);
  8232. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *AppendChunk )(
  8233. Field20 * This,
  8234. /* [in] */ VARIANT Data);
  8235. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *GetChunk )(
  8236. Field20 * This,
  8237. /* [in] */ long Length,
  8238. /* [retval][out] */ VARIANT *pvar);
  8239. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_OriginalValue )(
  8240. Field20 * This,
  8241. /* [retval][out] */ VARIANT *pvar);
  8242. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_UnderlyingValue )(
  8243. Field20 * This,
  8244. /* [retval][out] */ VARIANT *pvar);
  8245. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_DataFormat )(
  8246. Field20 * This,
  8247. /* [retval][out] */ IUnknown **ppiDF);
  8248. /* [propputref][id] */ HRESULT ( STDMETHODCALLTYPE *putref_DataFormat )(
  8249. Field20 * This,
  8250. /* [in] */ IUnknown *piDF);
  8251. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Precision )(
  8252. Field20 * This,
  8253. /* [in] */ BYTE bPrecision);
  8254. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_NumericScale )(
  8255. Field20 * This,
  8256. /* [in] */ BYTE bScale);
  8257. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Type )(
  8258. Field20 * This,
  8259. /* [in] */ DataTypeEnum DataType);
  8260. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_DefinedSize )(
  8261. Field20 * This,
  8262. /* [in] */ ADO_LONGPTR lSize);
  8263. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Attributes )(
  8264. Field20 * This,
  8265. /* [in] */ long lAttributes);
  8266. END_INTERFACE
  8267. } Field20Vtbl;
  8268. interface Field20
  8269. {
  8270. CONST_VTBL struct Field20Vtbl *lpVtbl;
  8271. };
  8272. #ifdef COBJMACROS
  8273. #define Field20_QueryInterface(This,riid,ppvObject) \
  8274. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  8275. #define Field20_AddRef(This) \
  8276. (This)->lpVtbl -> AddRef(This)
  8277. #define Field20_Release(This) \
  8278. (This)->lpVtbl -> Release(This)
  8279. #define Field20_GetTypeInfoCount(This,pctinfo) \
  8280. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  8281. #define Field20_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  8282. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  8283. #define Field20_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  8284. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  8285. #define Field20_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  8286. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  8287. #define Field20_get_Properties(This,ppvObject) \
  8288. (This)->lpVtbl -> get_Properties(This,ppvObject)
  8289. #define Field20_get_ActualSize(This,pl) \
  8290. (This)->lpVtbl -> get_ActualSize(This,pl)
  8291. #define Field20_get_Attributes(This,pl) \
  8292. (This)->lpVtbl -> get_Attributes(This,pl)
  8293. #define Field20_get_DefinedSize(This,pl) \
  8294. (This)->lpVtbl -> get_DefinedSize(This,pl)
  8295. #define Field20_get_Name(This,pbstr) \
  8296. (This)->lpVtbl -> get_Name(This,pbstr)
  8297. #define Field20_get_Type(This,pDataType) \
  8298. (This)->lpVtbl -> get_Type(This,pDataType)
  8299. #define Field20_get_Value(This,pvar) \
  8300. (This)->lpVtbl -> get_Value(This,pvar)
  8301. #define Field20_put_Value(This,Val) \
  8302. (This)->lpVtbl -> put_Value(This,Val)
  8303. #define Field20_get_Precision(This,pbPrecision) \
  8304. (This)->lpVtbl -> get_Precision(This,pbPrecision)
  8305. #define Field20_get_NumericScale(This,pbNumericScale) \
  8306. (This)->lpVtbl -> get_NumericScale(This,pbNumericScale)
  8307. #define Field20_AppendChunk(This,Data) \
  8308. (This)->lpVtbl -> AppendChunk(This,Data)
  8309. #define Field20_GetChunk(This,Length,pvar) \
  8310. (This)->lpVtbl -> GetChunk(This,Length,pvar)
  8311. #define Field20_get_OriginalValue(This,pvar) \
  8312. (This)->lpVtbl -> get_OriginalValue(This,pvar)
  8313. #define Field20_get_UnderlyingValue(This,pvar) \
  8314. (This)->lpVtbl -> get_UnderlyingValue(This,pvar)
  8315. #define Field20_get_DataFormat(This,ppiDF) \
  8316. (This)->lpVtbl -> get_DataFormat(This,ppiDF)
  8317. #define Field20_putref_DataFormat(This,piDF) \
  8318. (This)->lpVtbl -> putref_DataFormat(This,piDF)
  8319. #define Field20_put_Precision(This,bPrecision) \
  8320. (This)->lpVtbl -> put_Precision(This,bPrecision)
  8321. #define Field20_put_NumericScale(This,bScale) \
  8322. (This)->lpVtbl -> put_NumericScale(This,bScale)
  8323. #define Field20_put_Type(This,DataType) \
  8324. (This)->lpVtbl -> put_Type(This,DataType)
  8325. #define Field20_put_DefinedSize(This,lSize) \
  8326. (This)->lpVtbl -> put_DefinedSize(This,lSize)
  8327. #define Field20_put_Attributes(This,lAttributes) \
  8328. (This)->lpVtbl -> put_Attributes(This,lAttributes)
  8329. #endif /* COBJMACROS */
  8330. #endif /* C style interface */
  8331. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Field20_get_ActualSize_Proxy(
  8332. Field20 * This,
  8333. /* [retval][out] */ ADO_LONGPTR *pl);
  8334. void __RPC_STUB Field20_get_ActualSize_Stub(
  8335. IRpcStubBuffer *This,
  8336. IRpcChannelBuffer *_pRpcChannelBuffer,
  8337. PRPC_MESSAGE _pRpcMessage,
  8338. DWORD *_pdwStubPhase);
  8339. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Field20_get_Attributes_Proxy(
  8340. Field20 * This,
  8341. /* [retval][out] */ long *pl);
  8342. void __RPC_STUB Field20_get_Attributes_Stub(
  8343. IRpcStubBuffer *This,
  8344. IRpcChannelBuffer *_pRpcChannelBuffer,
  8345. PRPC_MESSAGE _pRpcMessage,
  8346. DWORD *_pdwStubPhase);
  8347. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Field20_get_DefinedSize_Proxy(
  8348. Field20 * This,
  8349. /* [retval][out] */ ADO_LONGPTR *pl);
  8350. void __RPC_STUB Field20_get_DefinedSize_Stub(
  8351. IRpcStubBuffer *This,
  8352. IRpcChannelBuffer *_pRpcChannelBuffer,
  8353. PRPC_MESSAGE _pRpcMessage,
  8354. DWORD *_pdwStubPhase);
  8355. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Field20_get_Name_Proxy(
  8356. Field20 * This,
  8357. /* [retval][out] */ BSTR *pbstr);
  8358. void __RPC_STUB Field20_get_Name_Stub(
  8359. IRpcStubBuffer *This,
  8360. IRpcChannelBuffer *_pRpcChannelBuffer,
  8361. PRPC_MESSAGE _pRpcMessage,
  8362. DWORD *_pdwStubPhase);
  8363. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Field20_get_Type_Proxy(
  8364. Field20 * This,
  8365. /* [retval][out] */ DataTypeEnum *pDataType);
  8366. void __RPC_STUB Field20_get_Type_Stub(
  8367. IRpcStubBuffer *This,
  8368. IRpcChannelBuffer *_pRpcChannelBuffer,
  8369. PRPC_MESSAGE _pRpcMessage,
  8370. DWORD *_pdwStubPhase);
  8371. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Field20_get_Value_Proxy(
  8372. Field20 * This,
  8373. /* [retval][out] */ VARIANT *pvar);
  8374. void __RPC_STUB Field20_get_Value_Stub(
  8375. IRpcStubBuffer *This,
  8376. IRpcChannelBuffer *_pRpcChannelBuffer,
  8377. PRPC_MESSAGE _pRpcMessage,
  8378. DWORD *_pdwStubPhase);
  8379. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Field20_put_Value_Proxy(
  8380. Field20 * This,
  8381. /* [in] */ VARIANT Val);
  8382. void __RPC_STUB Field20_put_Value_Stub(
  8383. IRpcStubBuffer *This,
  8384. IRpcChannelBuffer *_pRpcChannelBuffer,
  8385. PRPC_MESSAGE _pRpcMessage,
  8386. DWORD *_pdwStubPhase);
  8387. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Field20_get_Precision_Proxy(
  8388. Field20 * This,
  8389. /* [retval][out] */ BYTE *pbPrecision);
  8390. void __RPC_STUB Field20_get_Precision_Stub(
  8391. IRpcStubBuffer *This,
  8392. IRpcChannelBuffer *_pRpcChannelBuffer,
  8393. PRPC_MESSAGE _pRpcMessage,
  8394. DWORD *_pdwStubPhase);
  8395. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Field20_get_NumericScale_Proxy(
  8396. Field20 * This,
  8397. /* [retval][out] */ BYTE *pbNumericScale);
  8398. void __RPC_STUB Field20_get_NumericScale_Stub(
  8399. IRpcStubBuffer *This,
  8400. IRpcChannelBuffer *_pRpcChannelBuffer,
  8401. PRPC_MESSAGE _pRpcMessage,
  8402. DWORD *_pdwStubPhase);
  8403. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Field20_AppendChunk_Proxy(
  8404. Field20 * This,
  8405. /* [in] */ VARIANT Data);
  8406. void __RPC_STUB Field20_AppendChunk_Stub(
  8407. IRpcStubBuffer *This,
  8408. IRpcChannelBuffer *_pRpcChannelBuffer,
  8409. PRPC_MESSAGE _pRpcMessage,
  8410. DWORD *_pdwStubPhase);
  8411. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Field20_GetChunk_Proxy(
  8412. Field20 * This,
  8413. /* [in] */ long Length,
  8414. /* [retval][out] */ VARIANT *pvar);
  8415. void __RPC_STUB Field20_GetChunk_Stub(
  8416. IRpcStubBuffer *This,
  8417. IRpcChannelBuffer *_pRpcChannelBuffer,
  8418. PRPC_MESSAGE _pRpcMessage,
  8419. DWORD *_pdwStubPhase);
  8420. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Field20_get_OriginalValue_Proxy(
  8421. Field20 * This,
  8422. /* [retval][out] */ VARIANT *pvar);
  8423. void __RPC_STUB Field20_get_OriginalValue_Stub(
  8424. IRpcStubBuffer *This,
  8425. IRpcChannelBuffer *_pRpcChannelBuffer,
  8426. PRPC_MESSAGE _pRpcMessage,
  8427. DWORD *_pdwStubPhase);
  8428. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Field20_get_UnderlyingValue_Proxy(
  8429. Field20 * This,
  8430. /* [retval][out] */ VARIANT *pvar);
  8431. void __RPC_STUB Field20_get_UnderlyingValue_Stub(
  8432. IRpcStubBuffer *This,
  8433. IRpcChannelBuffer *_pRpcChannelBuffer,
  8434. PRPC_MESSAGE _pRpcMessage,
  8435. DWORD *_pdwStubPhase);
  8436. /* [propget][id] */ HRESULT STDMETHODCALLTYPE Field20_get_DataFormat_Proxy(
  8437. Field20 * This,
  8438. /* [retval][out] */ IUnknown **ppiDF);
  8439. void __RPC_STUB Field20_get_DataFormat_Stub(
  8440. IRpcStubBuffer *This,
  8441. IRpcChannelBuffer *_pRpcChannelBuffer,
  8442. PRPC_MESSAGE _pRpcMessage,
  8443. DWORD *_pdwStubPhase);
  8444. /* [propputref][id] */ HRESULT STDMETHODCALLTYPE Field20_putref_DataFormat_Proxy(
  8445. Field20 * This,
  8446. /* [in] */ IUnknown *piDF);
  8447. void __RPC_STUB Field20_putref_DataFormat_Stub(
  8448. IRpcStubBuffer *This,
  8449. IRpcChannelBuffer *_pRpcChannelBuffer,
  8450. PRPC_MESSAGE _pRpcMessage,
  8451. DWORD *_pdwStubPhase);
  8452. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Field20_put_Precision_Proxy(
  8453. Field20 * This,
  8454. /* [in] */ BYTE bPrecision);
  8455. void __RPC_STUB Field20_put_Precision_Stub(
  8456. IRpcStubBuffer *This,
  8457. IRpcChannelBuffer *_pRpcChannelBuffer,
  8458. PRPC_MESSAGE _pRpcMessage,
  8459. DWORD *_pdwStubPhase);
  8460. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Field20_put_NumericScale_Proxy(
  8461. Field20 * This,
  8462. /* [in] */ BYTE bScale);
  8463. void __RPC_STUB Field20_put_NumericScale_Stub(
  8464. IRpcStubBuffer *This,
  8465. IRpcChannelBuffer *_pRpcChannelBuffer,
  8466. PRPC_MESSAGE _pRpcMessage,
  8467. DWORD *_pdwStubPhase);
  8468. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Field20_put_Type_Proxy(
  8469. Field20 * This,
  8470. /* [in] */ DataTypeEnum DataType);
  8471. void __RPC_STUB Field20_put_Type_Stub(
  8472. IRpcStubBuffer *This,
  8473. IRpcChannelBuffer *_pRpcChannelBuffer,
  8474. PRPC_MESSAGE _pRpcMessage,
  8475. DWORD *_pdwStubPhase);
  8476. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Field20_put_DefinedSize_Proxy(
  8477. Field20 * This,
  8478. /* [in] */ ADO_LONGPTR lSize);
  8479. void __RPC_STUB Field20_put_DefinedSize_Stub(
  8480. IRpcStubBuffer *This,
  8481. IRpcChannelBuffer *_pRpcChannelBuffer,
  8482. PRPC_MESSAGE _pRpcMessage,
  8483. DWORD *_pdwStubPhase);
  8484. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Field20_put_Attributes_Proxy(
  8485. Field20 * This,
  8486. /* [in] */ long lAttributes);
  8487. void __RPC_STUB Field20_put_Attributes_Stub(
  8488. IRpcStubBuffer *This,
  8489. IRpcChannelBuffer *_pRpcChannelBuffer,
  8490. PRPC_MESSAGE _pRpcMessage,
  8491. DWORD *_pdwStubPhase);
  8492. #endif /* __Field20_INTERFACE_DEFINED__ */
  8493. #ifndef __Field_INTERFACE_DEFINED__
  8494. #define __Field_INTERFACE_DEFINED__
  8495. /* interface ADOField */
  8496. /* [object][helpcontext][uuid][nonextensible][dual] */
  8497. EXTERN_C const IID IID_Field;
  8498. #if defined(__cplusplus) && !defined(CINTERFACE)
  8499. MIDL_INTERFACE("00000569-0000-0010-8000-00AA006D2EA4")
  8500. ADOField : public Field20
  8501. {
  8502. public:
  8503. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Status(
  8504. /* [retval][out] */ long *pFStatus) = 0;
  8505. };
  8506. #else /* C style interface */
  8507. typedef struct FieldVtbl
  8508. {
  8509. BEGIN_INTERFACE
  8510. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  8511. ADOField * This,
  8512. /* [in] */ REFIID riid,
  8513. /* [iid_is][out] */ void **ppvObject);
  8514. ULONG ( STDMETHODCALLTYPE *AddRef )(
  8515. ADOField * This);
  8516. ULONG ( STDMETHODCALLTYPE *Release )(
  8517. ADOField * This);
  8518. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  8519. ADOField * This,
  8520. /* [out] */ UINT *pctinfo);
  8521. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  8522. ADOField * This,
  8523. /* [in] */ UINT iTInfo,
  8524. /* [in] */ LCID lcid,
  8525. /* [out] */ ITypeInfo **ppTInfo);
  8526. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  8527. ADOField * This,
  8528. /* [in] */ REFIID riid,
  8529. /* [size_is][in] */ LPOLESTR *rgszNames,
  8530. /* [in] */ UINT cNames,
  8531. /* [in] */ LCID lcid,
  8532. /* [size_is][out] */ DISPID *rgDispId);
  8533. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  8534. ADOField * This,
  8535. /* [in] */ DISPID dispIdMember,
  8536. /* [in] */ REFIID riid,
  8537. /* [in] */ LCID lcid,
  8538. /* [in] */ WORD wFlags,
  8539. /* [out][in] */ DISPPARAMS *pDispParams,
  8540. /* [out] */ VARIANT *pVarResult,
  8541. /* [out] */ EXCEPINFO *pExcepInfo,
  8542. /* [out] */ UINT *puArgErr);
  8543. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Properties )(
  8544. ADOField * This,
  8545. /* [retval][out] */ ADOProperties **ppvObject);
  8546. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ActualSize )(
  8547. ADOField * This,
  8548. /* [retval][out] */ ADO_LONGPTR *pl);
  8549. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Attributes )(
  8550. ADOField * This,
  8551. /* [retval][out] */ long *pl);
  8552. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_DefinedSize )(
  8553. ADOField * This,
  8554. /* [retval][out] */ ADO_LONGPTR *pl);
  8555. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  8556. ADOField * This,
  8557. /* [retval][out] */ BSTR *pbstr);
  8558. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Type )(
  8559. ADOField * This,
  8560. /* [retval][out] */ DataTypeEnum *pDataType);
  8561. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Value )(
  8562. ADOField * This,
  8563. /* [retval][out] */ VARIANT *pvar);
  8564. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Value )(
  8565. ADOField * This,
  8566. /* [in] */ VARIANT Val);
  8567. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Precision )(
  8568. ADOField * This,
  8569. /* [retval][out] */ BYTE *pbPrecision);
  8570. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_NumericScale )(
  8571. ADOField * This,
  8572. /* [retval][out] */ BYTE *pbNumericScale);
  8573. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *AppendChunk )(
  8574. ADOField * This,
  8575. /* [in] */ VARIANT Data);
  8576. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *GetChunk )(
  8577. ADOField * This,
  8578. /* [in] */ long Length,
  8579. /* [retval][out] */ VARIANT *pvar);
  8580. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_OriginalValue )(
  8581. ADOField * This,
  8582. /* [retval][out] */ VARIANT *pvar);
  8583. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_UnderlyingValue )(
  8584. ADOField * This,
  8585. /* [retval][out] */ VARIANT *pvar);
  8586. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_DataFormat )(
  8587. ADOField * This,
  8588. /* [retval][out] */ IUnknown **ppiDF);
  8589. /* [propputref][id] */ HRESULT ( STDMETHODCALLTYPE *putref_DataFormat )(
  8590. ADOField * This,
  8591. /* [in] */ IUnknown *piDF);
  8592. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Precision )(
  8593. ADOField * This,
  8594. /* [in] */ BYTE bPrecision);
  8595. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_NumericScale )(
  8596. ADOField * This,
  8597. /* [in] */ BYTE bScale);
  8598. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Type )(
  8599. ADOField * This,
  8600. /* [in] */ DataTypeEnum DataType);
  8601. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_DefinedSize )(
  8602. ADOField * This,
  8603. /* [in] */ ADO_LONGPTR lSize);
  8604. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Attributes )(
  8605. ADOField * This,
  8606. /* [in] */ long lAttributes);
  8607. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Status )(
  8608. ADOField * This,
  8609. /* [retval][out] */ long *pFStatus);
  8610. END_INTERFACE
  8611. } FieldVtbl;
  8612. interface Field
  8613. {
  8614. CONST_VTBL struct FieldVtbl *lpVtbl;
  8615. };
  8616. #ifdef COBJMACROS
  8617. #define Field_QueryInterface(This,riid,ppvObject) \
  8618. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  8619. #define Field_AddRef(This) \
  8620. (This)->lpVtbl -> AddRef(This)
  8621. #define Field_Release(This) \
  8622. (This)->lpVtbl -> Release(This)
  8623. #define Field_GetTypeInfoCount(This,pctinfo) \
  8624. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  8625. #define Field_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  8626. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  8627. #define Field_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  8628. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  8629. #define Field_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  8630. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  8631. #define Field_get_Properties(This,ppvObject) \
  8632. (This)->lpVtbl -> get_Properties(This,ppvObject)
  8633. #define Field_get_ActualSize(This,pl) \
  8634. (This)->lpVtbl -> get_ActualSize(This,pl)
  8635. #define Field_get_Attributes(This,pl) \
  8636. (This)->lpVtbl -> get_Attributes(This,pl)
  8637. #define Field_get_DefinedSize(This,pl) \
  8638. (This)->lpVtbl -> get_DefinedSize(This,pl)
  8639. #define Field_get_Name(This,pbstr) \
  8640. (This)->lpVtbl -> get_Name(This,pbstr)
  8641. #define Field_get_Type(This,pDataType) \
  8642. (This)->lpVtbl -> get_Type(This,pDataType)
  8643. #define Field_get_Value(This,pvar) \
  8644. (This)->lpVtbl -> get_Value(This,pvar)
  8645. #define Field_put_Value(This,Val) \
  8646. (This)->lpVtbl -> put_Value(This,Val)
  8647. #define Field_get_Precision(This,pbPrecision) \
  8648. (This)->lpVtbl -> get_Precision(This,pbPrecision)
  8649. #define Field_get_NumericScale(This,pbNumericScale) \
  8650. (This)->lpVtbl -> get_NumericScale(This,pbNumericScale)
  8651. #define Field_AppendChunk(This,Data) \
  8652. (This)->lpVtbl -> AppendChunk(This,Data)
  8653. #define Field_GetChunk(This,Length,pvar) \
  8654. (This)->lpVtbl -> GetChunk(This,Length,pvar)
  8655. #define Field_get_OriginalValue(This,pvar) \
  8656. (This)->lpVtbl -> get_OriginalValue(This,pvar)
  8657. #define Field_get_UnderlyingValue(This,pvar) \
  8658. (This)->lpVtbl -> get_UnderlyingValue(This,pvar)
  8659. #define Field_get_DataFormat(This,ppiDF) \
  8660. (This)->lpVtbl -> get_DataFormat(This,ppiDF)
  8661. #define Field_putref_DataFormat(This,piDF) \
  8662. (This)->lpVtbl -> putref_DataFormat(This,piDF)
  8663. #define Field_put_Precision(This,bPrecision) \
  8664. (This)->lpVtbl -> put_Precision(This,bPrecision)
  8665. #define Field_put_NumericScale(This,bScale) \
  8666. (This)->lpVtbl -> put_NumericScale(This,bScale)
  8667. #define Field_put_Type(This,DataType) \
  8668. (This)->lpVtbl -> put_Type(This,DataType)
  8669. #define Field_put_DefinedSize(This,lSize) \
  8670. (This)->lpVtbl -> put_DefinedSize(This,lSize)
  8671. #define Field_put_Attributes(This,lAttributes) \
  8672. (This)->lpVtbl -> put_Attributes(This,lAttributes)
  8673. #define Field_get_Status(This,pFStatus) \
  8674. (This)->lpVtbl -> get_Status(This,pFStatus)
  8675. #endif /* COBJMACROS */
  8676. #endif /* C style interface */
  8677. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Field_get_Status_Proxy(
  8678. ADOField * This,
  8679. /* [retval][out] */ long *pFStatus);
  8680. void __RPC_STUB Field_get_Status_Stub(
  8681. IRpcStubBuffer *This,
  8682. IRpcChannelBuffer *_pRpcChannelBuffer,
  8683. PRPC_MESSAGE _pRpcMessage,
  8684. DWORD *_pdwStubPhase);
  8685. #endif /* __Field_INTERFACE_DEFINED__ */
  8686. #ifndef __Fields15_INTERFACE_DEFINED__
  8687. #define __Fields15_INTERFACE_DEFINED__
  8688. /* interface Fields15 */
  8689. /* [object][helpcontext][uuid][hidden][nonextensible][dual] */
  8690. EXTERN_C const IID IID_Fields15;
  8691. #if defined(__cplusplus) && !defined(CINTERFACE)
  8692. MIDL_INTERFACE("00000506-0000-0010-8000-00AA006D2EA4")
  8693. Fields15 : public _ADOCollection
  8694. {
  8695. public:
  8696. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Item(
  8697. /* [in] */ VARIANT Index,
  8698. /* [retval][out] */ ADOField **ppvObject) = 0;
  8699. };
  8700. #else /* C style interface */
  8701. typedef struct Fields15Vtbl
  8702. {
  8703. BEGIN_INTERFACE
  8704. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  8705. Fields15 * This,
  8706. /* [in] */ REFIID riid,
  8707. /* [iid_is][out] */ void **ppvObject);
  8708. ULONG ( STDMETHODCALLTYPE *AddRef )(
  8709. Fields15 * This);
  8710. ULONG ( STDMETHODCALLTYPE *Release )(
  8711. Fields15 * This);
  8712. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  8713. Fields15 * This,
  8714. /* [out] */ UINT *pctinfo);
  8715. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  8716. Fields15 * This,
  8717. /* [in] */ UINT iTInfo,
  8718. /* [in] */ LCID lcid,
  8719. /* [out] */ ITypeInfo **ppTInfo);
  8720. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  8721. Fields15 * This,
  8722. /* [in] */ REFIID riid,
  8723. /* [size_is][in] */ LPOLESTR *rgszNames,
  8724. /* [in] */ UINT cNames,
  8725. /* [in] */ LCID lcid,
  8726. /* [size_is][out] */ DISPID *rgDispId);
  8727. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  8728. Fields15 * This,
  8729. /* [in] */ DISPID dispIdMember,
  8730. /* [in] */ REFIID riid,
  8731. /* [in] */ LCID lcid,
  8732. /* [in] */ WORD wFlags,
  8733. /* [out][in] */ DISPPARAMS *pDispParams,
  8734. /* [out] */ VARIANT *pVarResult,
  8735. /* [out] */ EXCEPINFO *pExcepInfo,
  8736. /* [out] */ UINT *puArgErr);
  8737. /* [id][helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  8738. Fields15 * This,
  8739. /* [retval][out] */ long *c);
  8740. /* [id][restricted] */ HRESULT ( STDMETHODCALLTYPE *_NewEnum )(
  8741. Fields15 * This,
  8742. /* [retval][out] */ IUnknown **ppvObject);
  8743. /* [id][helpcontext] */ HRESULT ( STDMETHODCALLTYPE *Refresh )(
  8744. Fields15 * This);
  8745. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Item )(
  8746. Fields15 * This,
  8747. /* [in] */ VARIANT Index,
  8748. /* [retval][out] */ ADOField **ppvObject);
  8749. END_INTERFACE
  8750. } Fields15Vtbl;
  8751. interface Fields15
  8752. {
  8753. CONST_VTBL struct Fields15Vtbl *lpVtbl;
  8754. };
  8755. #ifdef COBJMACROS
  8756. #define Fields15_QueryInterface(This,riid,ppvObject) \
  8757. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  8758. #define Fields15_AddRef(This) \
  8759. (This)->lpVtbl -> AddRef(This)
  8760. #define Fields15_Release(This) \
  8761. (This)->lpVtbl -> Release(This)
  8762. #define Fields15_GetTypeInfoCount(This,pctinfo) \
  8763. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  8764. #define Fields15_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  8765. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  8766. #define Fields15_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  8767. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  8768. #define Fields15_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  8769. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  8770. #define Fields15_get_Count(This,c) \
  8771. (This)->lpVtbl -> get_Count(This,c)
  8772. #define Fields15__NewEnum(This,ppvObject) \
  8773. (This)->lpVtbl -> _NewEnum(This,ppvObject)
  8774. #define Fields15_Refresh(This) \
  8775. (This)->lpVtbl -> Refresh(This)
  8776. #define Fields15_get_Item(This,Index,ppvObject) \
  8777. (This)->lpVtbl -> get_Item(This,Index,ppvObject)
  8778. #endif /* COBJMACROS */
  8779. #endif /* C style interface */
  8780. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Fields15_get_Item_Proxy(
  8781. Fields15 * This,
  8782. /* [in] */ VARIANT Index,
  8783. /* [retval][out] */ ADOField **ppvObject);
  8784. void __RPC_STUB Fields15_get_Item_Stub(
  8785. IRpcStubBuffer *This,
  8786. IRpcChannelBuffer *_pRpcChannelBuffer,
  8787. PRPC_MESSAGE _pRpcMessage,
  8788. DWORD *_pdwStubPhase);
  8789. #endif /* __Fields15_INTERFACE_DEFINED__ */
  8790. #ifndef __Fields20_INTERFACE_DEFINED__
  8791. #define __Fields20_INTERFACE_DEFINED__
  8792. /* interface Fields20 */
  8793. /* [object][helpcontext][uuid][hidden][nonextensible][dual] */
  8794. EXTERN_C const IID IID_Fields20;
  8795. #if defined(__cplusplus) && !defined(CINTERFACE)
  8796. MIDL_INTERFACE("0000054D-0000-0010-8000-00AA006D2EA4")
  8797. Fields20 : public Fields15
  8798. {
  8799. public:
  8800. virtual /* [hidden] */ HRESULT STDMETHODCALLTYPE _Append(
  8801. /* [in] */ BSTR Name,
  8802. /* [in] */ DataTypeEnum Type,
  8803. /* [defaultvalue][in] */ ADO_LONGPTR DefinedSize = 0,
  8804. /* [defaultvalue][in] */ FieldAttributeEnum Attrib = adFldUnspecified) = 0;
  8805. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Delete(
  8806. /* [in] */ VARIANT Index) = 0;
  8807. };
  8808. #else /* C style interface */
  8809. typedef struct Fields20Vtbl
  8810. {
  8811. BEGIN_INTERFACE
  8812. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  8813. Fields20 * This,
  8814. /* [in] */ REFIID riid,
  8815. /* [iid_is][out] */ void **ppvObject);
  8816. ULONG ( STDMETHODCALLTYPE *AddRef )(
  8817. Fields20 * This);
  8818. ULONG ( STDMETHODCALLTYPE *Release )(
  8819. Fields20 * This);
  8820. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  8821. Fields20 * This,
  8822. /* [out] */ UINT *pctinfo);
  8823. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  8824. Fields20 * This,
  8825. /* [in] */ UINT iTInfo,
  8826. /* [in] */ LCID lcid,
  8827. /* [out] */ ITypeInfo **ppTInfo);
  8828. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  8829. Fields20 * This,
  8830. /* [in] */ REFIID riid,
  8831. /* [size_is][in] */ LPOLESTR *rgszNames,
  8832. /* [in] */ UINT cNames,
  8833. /* [in] */ LCID lcid,
  8834. /* [size_is][out] */ DISPID *rgDispId);
  8835. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  8836. Fields20 * This,
  8837. /* [in] */ DISPID dispIdMember,
  8838. /* [in] */ REFIID riid,
  8839. /* [in] */ LCID lcid,
  8840. /* [in] */ WORD wFlags,
  8841. /* [out][in] */ DISPPARAMS *pDispParams,
  8842. /* [out] */ VARIANT *pVarResult,
  8843. /* [out] */ EXCEPINFO *pExcepInfo,
  8844. /* [out] */ UINT *puArgErr);
  8845. /* [id][helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  8846. Fields20 * This,
  8847. /* [retval][out] */ long *c);
  8848. /* [id][restricted] */ HRESULT ( STDMETHODCALLTYPE *_NewEnum )(
  8849. Fields20 * This,
  8850. /* [retval][out] */ IUnknown **ppvObject);
  8851. /* [id][helpcontext] */ HRESULT ( STDMETHODCALLTYPE *Refresh )(
  8852. Fields20 * This);
  8853. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Item )(
  8854. Fields20 * This,
  8855. /* [in] */ VARIANT Index,
  8856. /* [retval][out] */ ADOField **ppvObject);
  8857. /* [hidden] */ HRESULT ( STDMETHODCALLTYPE *_Append )(
  8858. Fields20 * This,
  8859. /* [in] */ BSTR Name,
  8860. /* [in] */ DataTypeEnum Type,
  8861. /* [defaultvalue][in] */ ADO_LONGPTR DefinedSize,
  8862. /* [defaultvalue][in] */ FieldAttributeEnum Attrib);
  8863. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )(
  8864. Fields20 * This,
  8865. /* [in] */ VARIANT Index);
  8866. END_INTERFACE
  8867. } Fields20Vtbl;
  8868. interface Fields20
  8869. {
  8870. CONST_VTBL struct Fields20Vtbl *lpVtbl;
  8871. };
  8872. #ifdef COBJMACROS
  8873. #define Fields20_QueryInterface(This,riid,ppvObject) \
  8874. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  8875. #define Fields20_AddRef(This) \
  8876. (This)->lpVtbl -> AddRef(This)
  8877. #define Fields20_Release(This) \
  8878. (This)->lpVtbl -> Release(This)
  8879. #define Fields20_GetTypeInfoCount(This,pctinfo) \
  8880. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  8881. #define Fields20_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  8882. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  8883. #define Fields20_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  8884. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  8885. #define Fields20_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  8886. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  8887. #define Fields20_get_Count(This,c) \
  8888. (This)->lpVtbl -> get_Count(This,c)
  8889. #define Fields20__NewEnum(This,ppvObject) \
  8890. (This)->lpVtbl -> _NewEnum(This,ppvObject)
  8891. #define Fields20_Refresh(This) \
  8892. (This)->lpVtbl -> Refresh(This)
  8893. #define Fields20_get_Item(This,Index,ppvObject) \
  8894. (This)->lpVtbl -> get_Item(This,Index,ppvObject)
  8895. #define Fields20__Append(This,Name,Type,DefinedSize,Attrib) \
  8896. (This)->lpVtbl -> _Append(This,Name,Type,DefinedSize,Attrib)
  8897. #define Fields20_Delete(This,Index) \
  8898. (This)->lpVtbl -> Delete(This,Index)
  8899. #endif /* COBJMACROS */
  8900. #endif /* C style interface */
  8901. /* [hidden] */ HRESULT STDMETHODCALLTYPE Fields20__Append_Proxy(
  8902. Fields20 * This,
  8903. /* [in] */ BSTR Name,
  8904. /* [in] */ DataTypeEnum Type,
  8905. /* [defaultvalue][in] */ ADO_LONGPTR DefinedSize,
  8906. /* [defaultvalue][in] */ FieldAttributeEnum Attrib);
  8907. void __RPC_STUB Fields20__Append_Stub(
  8908. IRpcStubBuffer *This,
  8909. IRpcChannelBuffer *_pRpcChannelBuffer,
  8910. PRPC_MESSAGE _pRpcMessage,
  8911. DWORD *_pdwStubPhase);
  8912. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Fields20_Delete_Proxy(
  8913. Fields20 * This,
  8914. /* [in] */ VARIANT Index);
  8915. void __RPC_STUB Fields20_Delete_Stub(
  8916. IRpcStubBuffer *This,
  8917. IRpcChannelBuffer *_pRpcChannelBuffer,
  8918. PRPC_MESSAGE _pRpcMessage,
  8919. DWORD *_pdwStubPhase);
  8920. #endif /* __Fields20_INTERFACE_DEFINED__ */
  8921. #ifndef __Fields_INTERFACE_DEFINED__
  8922. #define __Fields_INTERFACE_DEFINED__
  8923. /* interface ADOFields */
  8924. /* [object][helpcontext][uuid][nonextensible][dual] */
  8925. EXTERN_C const IID IID_Fields;
  8926. #if defined(__cplusplus) && !defined(CINTERFACE)
  8927. MIDL_INTERFACE("00000564-0000-0010-8000-00AA006D2EA4")
  8928. ADOFields : public Fields20
  8929. {
  8930. public:
  8931. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Append(
  8932. /* [in] */ BSTR Name,
  8933. /* [in] */ DataTypeEnum Type,
  8934. /* [defaultvalue][in] */ ADO_LONGPTR DefinedSize,
  8935. /* [defaultvalue][in] */ FieldAttributeEnum Attrib,
  8936. /* [optional][in] */ VARIANT FieldValue) = 0;
  8937. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Update( void) = 0;
  8938. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Resync(
  8939. /* [defaultvalue][in] */ ResyncEnum ResyncValues = adResyncAllValues) = 0;
  8940. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE CancelUpdate( void) = 0;
  8941. };
  8942. #else /* C style interface */
  8943. typedef struct FieldsVtbl
  8944. {
  8945. BEGIN_INTERFACE
  8946. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  8947. ADOFields * This,
  8948. /* [in] */ REFIID riid,
  8949. /* [iid_is][out] */ void **ppvObject);
  8950. ULONG ( STDMETHODCALLTYPE *AddRef )(
  8951. ADOFields * This);
  8952. ULONG ( STDMETHODCALLTYPE *Release )(
  8953. ADOFields * This);
  8954. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  8955. ADOFields * This,
  8956. /* [out] */ UINT *pctinfo);
  8957. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  8958. ADOFields * This,
  8959. /* [in] */ UINT iTInfo,
  8960. /* [in] */ LCID lcid,
  8961. /* [out] */ ITypeInfo **ppTInfo);
  8962. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  8963. ADOFields * This,
  8964. /* [in] */ REFIID riid,
  8965. /* [size_is][in] */ LPOLESTR *rgszNames,
  8966. /* [in] */ UINT cNames,
  8967. /* [in] */ LCID lcid,
  8968. /* [size_is][out] */ DISPID *rgDispId);
  8969. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  8970. ADOFields * This,
  8971. /* [in] */ DISPID dispIdMember,
  8972. /* [in] */ REFIID riid,
  8973. /* [in] */ LCID lcid,
  8974. /* [in] */ WORD wFlags,
  8975. /* [out][in] */ DISPPARAMS *pDispParams,
  8976. /* [out] */ VARIANT *pVarResult,
  8977. /* [out] */ EXCEPINFO *pExcepInfo,
  8978. /* [out] */ UINT *puArgErr);
  8979. /* [id][helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  8980. ADOFields * This,
  8981. /* [retval][out] */ long *c);
  8982. /* [id][restricted] */ HRESULT ( STDMETHODCALLTYPE *_NewEnum )(
  8983. ADOFields * This,
  8984. /* [retval][out] */ IUnknown **ppvObject);
  8985. /* [id][helpcontext] */ HRESULT ( STDMETHODCALLTYPE *Refresh )(
  8986. ADOFields * This);
  8987. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Item )(
  8988. ADOFields * This,
  8989. /* [in] */ VARIANT Index,
  8990. /* [retval][out] */ ADOField **ppvObject);
  8991. /* [hidden] */ HRESULT ( STDMETHODCALLTYPE *_Append )(
  8992. ADOFields * This,
  8993. /* [in] */ BSTR Name,
  8994. /* [in] */ DataTypeEnum Type,
  8995. /* [defaultvalue][in] */ ADO_LONGPTR DefinedSize,
  8996. /* [defaultvalue][in] */ FieldAttributeEnum Attrib);
  8997. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )(
  8998. ADOFields * This,
  8999. /* [in] */ VARIANT Index);
  9000. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Append )(
  9001. ADOFields * This,
  9002. /* [in] */ BSTR Name,
  9003. /* [in] */ DataTypeEnum Type,
  9004. /* [defaultvalue][in] */ ADO_LONGPTR DefinedSize,
  9005. /* [defaultvalue][in] */ FieldAttributeEnum Attrib,
  9006. /* [optional][in] */ VARIANT FieldValue);
  9007. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Update )(
  9008. ADOFields * This);
  9009. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Resync )(
  9010. ADOFields * This,
  9011. /* [defaultvalue][in] */ ResyncEnum ResyncValues);
  9012. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *CancelUpdate )(
  9013. ADOFields * This);
  9014. END_INTERFACE
  9015. } FieldsVtbl;
  9016. interface Fields
  9017. {
  9018. CONST_VTBL struct FieldsVtbl *lpVtbl;
  9019. };
  9020. #ifdef COBJMACROS
  9021. #define Fields_QueryInterface(This,riid,ppvObject) \
  9022. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  9023. #define Fields_AddRef(This) \
  9024. (This)->lpVtbl -> AddRef(This)
  9025. #define Fields_Release(This) \
  9026. (This)->lpVtbl -> Release(This)
  9027. #define Fields_GetTypeInfoCount(This,pctinfo) \
  9028. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  9029. #define Fields_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  9030. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  9031. #define Fields_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  9032. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  9033. #define Fields_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  9034. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  9035. #define Fields_get_Count(This,c) \
  9036. (This)->lpVtbl -> get_Count(This,c)
  9037. #define Fields__NewEnum(This,ppvObject) \
  9038. (This)->lpVtbl -> _NewEnum(This,ppvObject)
  9039. #define Fields_Refresh(This) \
  9040. (This)->lpVtbl -> Refresh(This)
  9041. #define Fields_get_Item(This,Index,ppvObject) \
  9042. (This)->lpVtbl -> get_Item(This,Index,ppvObject)
  9043. #define Fields__Append(This,Name,Type,DefinedSize,Attrib) \
  9044. (This)->lpVtbl -> _Append(This,Name,Type,DefinedSize,Attrib)
  9045. #define Fields_Delete(This,Index) \
  9046. (This)->lpVtbl -> Delete(This,Index)
  9047. #define Fields_Append(This,Name,Type,DefinedSize,Attrib,FieldValue) \
  9048. (This)->lpVtbl -> Append(This,Name,Type,DefinedSize,Attrib,FieldValue)
  9049. #define Fields_Update(This) \
  9050. (This)->lpVtbl -> Update(This)
  9051. #define Fields_Resync(This,ResyncValues) \
  9052. (This)->lpVtbl -> Resync(This,ResyncValues)
  9053. #define Fields_CancelUpdate(This) \
  9054. (This)->lpVtbl -> CancelUpdate(This)
  9055. #endif /* COBJMACROS */
  9056. #endif /* C style interface */
  9057. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Fields_Append_Proxy(
  9058. ADOFields * This,
  9059. /* [in] */ BSTR Name,
  9060. /* [in] */ DataTypeEnum Type,
  9061. /* [defaultvalue][in] */ ADO_LONGPTR DefinedSize,
  9062. /* [defaultvalue][in] */ FieldAttributeEnum Attrib,
  9063. /* [optional][in] */ VARIANT FieldValue);
  9064. void __RPC_STUB Fields_Append_Stub(
  9065. IRpcStubBuffer *This,
  9066. IRpcChannelBuffer *_pRpcChannelBuffer,
  9067. PRPC_MESSAGE _pRpcMessage,
  9068. DWORD *_pdwStubPhase);
  9069. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Fields_Update_Proxy(
  9070. ADOFields * This);
  9071. void __RPC_STUB Fields_Update_Stub(
  9072. IRpcStubBuffer *This,
  9073. IRpcChannelBuffer *_pRpcChannelBuffer,
  9074. PRPC_MESSAGE _pRpcMessage,
  9075. DWORD *_pdwStubPhase);
  9076. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Fields_Resync_Proxy(
  9077. ADOFields * This,
  9078. /* [defaultvalue][in] */ ResyncEnum ResyncValues);
  9079. void __RPC_STUB Fields_Resync_Stub(
  9080. IRpcStubBuffer *This,
  9081. IRpcChannelBuffer *_pRpcChannelBuffer,
  9082. PRPC_MESSAGE _pRpcMessage,
  9083. DWORD *_pdwStubPhase);
  9084. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Fields_CancelUpdate_Proxy(
  9085. ADOFields * This);
  9086. void __RPC_STUB Fields_CancelUpdate_Stub(
  9087. IRpcStubBuffer *This,
  9088. IRpcChannelBuffer *_pRpcChannelBuffer,
  9089. PRPC_MESSAGE _pRpcMessage,
  9090. DWORD *_pdwStubPhase);
  9091. #endif /* __Fields_INTERFACE_DEFINED__ */
  9092. #ifndef ___Parameter_INTERFACE_DEFINED__
  9093. #define ___Parameter_INTERFACE_DEFINED__
  9094. /* interface _ADOParameter */
  9095. /* [object][helpcontext][uuid][nonextensible][dual] */
  9096. EXTERN_C const IID IID__Parameter;
  9097. #if defined(__cplusplus) && !defined(CINTERFACE)
  9098. MIDL_INTERFACE("0000050C-0000-0010-8000-00AA006D2EA4")
  9099. _ADOParameter : public _ADO
  9100. {
  9101. public:
  9102. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Name(
  9103. /* [retval][out] */ BSTR *pbstr) = 0;
  9104. virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_Name(
  9105. /* [in] */ BSTR bstr) = 0;
  9106. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Value(
  9107. /* [retval][out] */ VARIANT *pvar) = 0;
  9108. virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_Value(
  9109. /* [in] */ VARIANT val) = 0;
  9110. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Type(
  9111. /* [retval][out] */ DataTypeEnum *psDataType) = 0;
  9112. virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_Type(
  9113. /* [in] */ DataTypeEnum sDataType) = 0;
  9114. virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_Direction(
  9115. /* [in] */ ParameterDirectionEnum lParmDirection) = 0;
  9116. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Direction(
  9117. /* [retval][out] */ ParameterDirectionEnum *plParmDirection) = 0;
  9118. virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_Precision(
  9119. /* [in] */ BYTE bPrecision) = 0;
  9120. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Precision(
  9121. /* [retval][out] */ BYTE *pbPrecision) = 0;
  9122. virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_NumericScale(
  9123. /* [in] */ BYTE bScale) = 0;
  9124. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_NumericScale(
  9125. /* [retval][out] */ BYTE *pbScale) = 0;
  9126. virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_Size(
  9127. /* [in] */ ADO_LONGPTR l) = 0;
  9128. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Size(
  9129. /* [retval][out] */ ADO_LONGPTR *pl) = 0;
  9130. virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE AppendChunk(
  9131. /* [in] */ VARIANT Val) = 0;
  9132. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Attributes(
  9133. /* [retval][out] */ LONG *plParmAttribs) = 0;
  9134. virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_Attributes(
  9135. /* [in] */ LONG lParmAttribs) = 0;
  9136. };
  9137. #else /* C style interface */
  9138. typedef struct _ParameterVtbl
  9139. {
  9140. BEGIN_INTERFACE
  9141. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  9142. _ADOParameter * This,
  9143. /* [in] */ REFIID riid,
  9144. /* [iid_is][out] */ void **ppvObject);
  9145. ULONG ( STDMETHODCALLTYPE *AddRef )(
  9146. _ADOParameter * This);
  9147. ULONG ( STDMETHODCALLTYPE *Release )(
  9148. _ADOParameter * This);
  9149. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  9150. _ADOParameter * This,
  9151. /* [out] */ UINT *pctinfo);
  9152. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  9153. _ADOParameter * This,
  9154. /* [in] */ UINT iTInfo,
  9155. /* [in] */ LCID lcid,
  9156. /* [out] */ ITypeInfo **ppTInfo);
  9157. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  9158. _ADOParameter * This,
  9159. /* [in] */ REFIID riid,
  9160. /* [size_is][in] */ LPOLESTR *rgszNames,
  9161. /* [in] */ UINT cNames,
  9162. /* [in] */ LCID lcid,
  9163. /* [size_is][out] */ DISPID *rgDispId);
  9164. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  9165. _ADOParameter * This,
  9166. /* [in] */ DISPID dispIdMember,
  9167. /* [in] */ REFIID riid,
  9168. /* [in] */ LCID lcid,
  9169. /* [in] */ WORD wFlags,
  9170. /* [out][in] */ DISPPARAMS *pDispParams,
  9171. /* [out] */ VARIANT *pVarResult,
  9172. /* [out] */ EXCEPINFO *pExcepInfo,
  9173. /* [out] */ UINT *puArgErr);
  9174. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Properties )(
  9175. _ADOParameter * This,
  9176. /* [retval][out] */ ADOProperties **ppvObject);
  9177. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  9178. _ADOParameter * This,
  9179. /* [retval][out] */ BSTR *pbstr);
  9180. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Name )(
  9181. _ADOParameter * This,
  9182. /* [in] */ BSTR bstr);
  9183. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Value )(
  9184. _ADOParameter * This,
  9185. /* [retval][out] */ VARIANT *pvar);
  9186. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Value )(
  9187. _ADOParameter * This,
  9188. /* [in] */ VARIANT val);
  9189. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Type )(
  9190. _ADOParameter * This,
  9191. /* [retval][out] */ DataTypeEnum *psDataType);
  9192. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Type )(
  9193. _ADOParameter * This,
  9194. /* [in] */ DataTypeEnum sDataType);
  9195. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Direction )(
  9196. _ADOParameter * This,
  9197. /* [in] */ ParameterDirectionEnum lParmDirection);
  9198. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Direction )(
  9199. _ADOParameter * This,
  9200. /* [retval][out] */ ParameterDirectionEnum *plParmDirection);
  9201. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Precision )(
  9202. _ADOParameter * This,
  9203. /* [in] */ BYTE bPrecision);
  9204. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Precision )(
  9205. _ADOParameter * This,
  9206. /* [retval][out] */ BYTE *pbPrecision);
  9207. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_NumericScale )(
  9208. _ADOParameter * This,
  9209. /* [in] */ BYTE bScale);
  9210. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_NumericScale )(
  9211. _ADOParameter * This,
  9212. /* [retval][out] */ BYTE *pbScale);
  9213. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Size )(
  9214. _ADOParameter * This,
  9215. /* [in] */ ADO_LONGPTR l);
  9216. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Size )(
  9217. _ADOParameter * This,
  9218. /* [retval][out] */ ADO_LONGPTR *pl);
  9219. /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *AppendChunk )(
  9220. _ADOParameter * This,
  9221. /* [in] */ VARIANT Val);
  9222. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Attributes )(
  9223. _ADOParameter * This,
  9224. /* [retval][out] */ LONG *plParmAttribs);
  9225. /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Attributes )(
  9226. _ADOParameter * This,
  9227. /* [in] */ LONG lParmAttribs);
  9228. END_INTERFACE
  9229. } _ParameterVtbl;
  9230. interface _Parameter
  9231. {
  9232. CONST_VTBL struct _ParameterVtbl *lpVtbl;
  9233. };
  9234. #ifdef COBJMACROS
  9235. #define _Parameter_QueryInterface(This,riid,ppvObject) \
  9236. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  9237. #define _Parameter_AddRef(This) \
  9238. (This)->lpVtbl -> AddRef(This)
  9239. #define _Parameter_Release(This) \
  9240. (This)->lpVtbl -> Release(This)
  9241. #define _Parameter_GetTypeInfoCount(This,pctinfo) \
  9242. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  9243. #define _Parameter_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  9244. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  9245. #define _Parameter_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  9246. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  9247. #define _Parameter_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  9248. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  9249. #define _Parameter_get_Properties(This,ppvObject) \
  9250. (This)->lpVtbl -> get_Properties(This,ppvObject)
  9251. #define _Parameter_get_Name(This,pbstr) \
  9252. (This)->lpVtbl -> get_Name(This,pbstr)
  9253. #define _Parameter_put_Name(This,bstr) \
  9254. (This)->lpVtbl -> put_Name(This,bstr)
  9255. #define _Parameter_get_Value(This,pvar) \
  9256. (This)->lpVtbl -> get_Value(This,pvar)
  9257. #define _Parameter_put_Value(This,val) \
  9258. (This)->lpVtbl -> put_Value(This,val)
  9259. #define _Parameter_get_Type(This,psDataType) \
  9260. (This)->lpVtbl -> get_Type(This,psDataType)
  9261. #define _Parameter_put_Type(This,sDataType) \
  9262. (This)->lpVtbl -> put_Type(This,sDataType)
  9263. #define _Parameter_put_Direction(This,lParmDirection) \
  9264. (This)->lpVtbl -> put_Direction(This,lParmDirection)
  9265. #define _Parameter_get_Direction(This,plParmDirection) \
  9266. (This)->lpVtbl -> get_Direction(This,plParmDirection)
  9267. #define _Parameter_put_Precision(This,bPrecision) \
  9268. (This)->lpVtbl -> put_Precision(This,bPrecision)
  9269. #define _Parameter_get_Precision(This,pbPrecision) \
  9270. (This)->lpVtbl -> get_Precision(This,pbPrecision)
  9271. #define _Parameter_put_NumericScale(This,bScale) \
  9272. (This)->lpVtbl -> put_NumericScale(This,bScale)
  9273. #define _Parameter_get_NumericScale(This,pbScale) \
  9274. (This)->lpVtbl -> get_NumericScale(This,pbScale)
  9275. #define _Parameter_put_Size(This,l) \
  9276. (This)->lpVtbl -> put_Size(This,l)
  9277. #define _Parameter_get_Size(This,pl) \
  9278. (This)->lpVtbl -> get_Size(This,pl)
  9279. #define _Parameter_AppendChunk(This,Val) \
  9280. (This)->lpVtbl -> AppendChunk(This,Val)
  9281. #define _Parameter_get_Attributes(This,plParmAttribs) \
  9282. (This)->lpVtbl -> get_Attributes(This,plParmAttribs)
  9283. #define _Parameter_put_Attributes(This,lParmAttribs) \
  9284. (This)->lpVtbl -> put_Attributes(This,lParmAttribs)
  9285. #endif /* COBJMACROS */
  9286. #endif /* C style interface */
  9287. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE _Parameter_get_Name_Proxy(
  9288. _ADOParameter * This,
  9289. /* [retval][out] */ BSTR *pbstr);
  9290. void __RPC_STUB _Parameter_get_Name_Stub(
  9291. IRpcStubBuffer *This,
  9292. IRpcChannelBuffer *_pRpcChannelBuffer,
  9293. PRPC_MESSAGE _pRpcMessage,
  9294. DWORD *_pdwStubPhase);
  9295. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE _Parameter_put_Name_Proxy(
  9296. _ADOParameter * This,
  9297. /* [in] */ BSTR bstr);
  9298. void __RPC_STUB _Parameter_put_Name_Stub(
  9299. IRpcStubBuffer *This,
  9300. IRpcChannelBuffer *_pRpcChannelBuffer,
  9301. PRPC_MESSAGE _pRpcMessage,
  9302. DWORD *_pdwStubPhase);
  9303. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE _Parameter_get_Value_Proxy(
  9304. _ADOParameter * This,
  9305. /* [retval][out] */ VARIANT *pvar);
  9306. void __RPC_STUB _Parameter_get_Value_Stub(
  9307. IRpcStubBuffer *This,
  9308. IRpcChannelBuffer *_pRpcChannelBuffer,
  9309. PRPC_MESSAGE _pRpcMessage,
  9310. DWORD *_pdwStubPhase);
  9311. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE _Parameter_put_Value_Proxy(
  9312. _ADOParameter * This,
  9313. /* [in] */ VARIANT val);
  9314. void __RPC_STUB _Parameter_put_Value_Stub(
  9315. IRpcStubBuffer *This,
  9316. IRpcChannelBuffer *_pRpcChannelBuffer,
  9317. PRPC_MESSAGE _pRpcMessage,
  9318. DWORD *_pdwStubPhase);
  9319. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE _Parameter_get_Type_Proxy(
  9320. _ADOParameter * This,
  9321. /* [retval][out] */ DataTypeEnum *psDataType);
  9322. void __RPC_STUB _Parameter_get_Type_Stub(
  9323. IRpcStubBuffer *This,
  9324. IRpcChannelBuffer *_pRpcChannelBuffer,
  9325. PRPC_MESSAGE _pRpcMessage,
  9326. DWORD *_pdwStubPhase);
  9327. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE _Parameter_put_Type_Proxy(
  9328. _ADOParameter * This,
  9329. /* [in] */ DataTypeEnum sDataType);
  9330. void __RPC_STUB _Parameter_put_Type_Stub(
  9331. IRpcStubBuffer *This,
  9332. IRpcChannelBuffer *_pRpcChannelBuffer,
  9333. PRPC_MESSAGE _pRpcMessage,
  9334. DWORD *_pdwStubPhase);
  9335. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE _Parameter_put_Direction_Proxy(
  9336. _ADOParameter * This,
  9337. /* [in] */ ParameterDirectionEnum lParmDirection);
  9338. void __RPC_STUB _Parameter_put_Direction_Stub(
  9339. IRpcStubBuffer *This,
  9340. IRpcChannelBuffer *_pRpcChannelBuffer,
  9341. PRPC_MESSAGE _pRpcMessage,
  9342. DWORD *_pdwStubPhase);
  9343. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE _Parameter_get_Direction_Proxy(
  9344. _ADOParameter * This,
  9345. /* [retval][out] */ ParameterDirectionEnum *plParmDirection);
  9346. void __RPC_STUB _Parameter_get_Direction_Stub(
  9347. IRpcStubBuffer *This,
  9348. IRpcChannelBuffer *_pRpcChannelBuffer,
  9349. PRPC_MESSAGE _pRpcMessage,
  9350. DWORD *_pdwStubPhase);
  9351. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE _Parameter_put_Precision_Proxy(
  9352. _ADOParameter * This,
  9353. /* [in] */ BYTE bPrecision);
  9354. void __RPC_STUB _Parameter_put_Precision_Stub(
  9355. IRpcStubBuffer *This,
  9356. IRpcChannelBuffer *_pRpcChannelBuffer,
  9357. PRPC_MESSAGE _pRpcMessage,
  9358. DWORD *_pdwStubPhase);
  9359. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE _Parameter_get_Precision_Proxy(
  9360. _ADOParameter * This,
  9361. /* [retval][out] */ BYTE *pbPrecision);
  9362. void __RPC_STUB _Parameter_get_Precision_Stub(
  9363. IRpcStubBuffer *This,
  9364. IRpcChannelBuffer *_pRpcChannelBuffer,
  9365. PRPC_MESSAGE _pRpcMessage,
  9366. DWORD *_pdwStubPhase);
  9367. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE _Parameter_put_NumericScale_Proxy(
  9368. _ADOParameter * This,
  9369. /* [in] */ BYTE bScale);
  9370. void __RPC_STUB _Parameter_put_NumericScale_Stub(
  9371. IRpcStubBuffer *This,
  9372. IRpcChannelBuffer *_pRpcChannelBuffer,
  9373. PRPC_MESSAGE _pRpcMessage,
  9374. DWORD *_pdwStubPhase);
  9375. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE _Parameter_get_NumericScale_Proxy(
  9376. _ADOParameter * This,
  9377. /* [retval][out] */ BYTE *pbScale);
  9378. void __RPC_STUB _Parameter_get_NumericScale_Stub(
  9379. IRpcStubBuffer *This,
  9380. IRpcChannelBuffer *_pRpcChannelBuffer,
  9381. PRPC_MESSAGE _pRpcMessage,
  9382. DWORD *_pdwStubPhase);
  9383. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE _Parameter_put_Size_Proxy(
  9384. _ADOParameter * This,
  9385. /* [in] */ ADO_LONGPTR l);
  9386. void __RPC_STUB _Parameter_put_Size_Stub(
  9387. IRpcStubBuffer *This,
  9388. IRpcChannelBuffer *_pRpcChannelBuffer,
  9389. PRPC_MESSAGE _pRpcMessage,
  9390. DWORD *_pdwStubPhase);
  9391. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE _Parameter_get_Size_Proxy(
  9392. _ADOParameter * This,
  9393. /* [retval][out] */ ADO_LONGPTR *pl);
  9394. void __RPC_STUB _Parameter_get_Size_Stub(
  9395. IRpcStubBuffer *This,
  9396. IRpcChannelBuffer *_pRpcChannelBuffer,
  9397. PRPC_MESSAGE _pRpcMessage,
  9398. DWORD *_pdwStubPhase);
  9399. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE _Parameter_AppendChunk_Proxy(
  9400. _ADOParameter * This,
  9401. /* [in] */ VARIANT Val);
  9402. void __RPC_STUB _Parameter_AppendChunk_Stub(
  9403. IRpcStubBuffer *This,
  9404. IRpcChannelBuffer *_pRpcChannelBuffer,
  9405. PRPC_MESSAGE _pRpcMessage,
  9406. DWORD *_pdwStubPhase);
  9407. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE _Parameter_get_Attributes_Proxy(
  9408. _ADOParameter * This,
  9409. /* [retval][out] */ LONG *plParmAttribs);
  9410. void __RPC_STUB _Parameter_get_Attributes_Stub(
  9411. IRpcStubBuffer *This,
  9412. IRpcChannelBuffer *_pRpcChannelBuffer,
  9413. PRPC_MESSAGE _pRpcMessage,
  9414. DWORD *_pdwStubPhase);
  9415. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE _Parameter_put_Attributes_Proxy(
  9416. _ADOParameter * This,
  9417. /* [in] */ LONG lParmAttribs);
  9418. void __RPC_STUB _Parameter_put_Attributes_Stub(
  9419. IRpcStubBuffer *This,
  9420. IRpcChannelBuffer *_pRpcChannelBuffer,
  9421. PRPC_MESSAGE _pRpcMessage,
  9422. DWORD *_pdwStubPhase);
  9423. #endif /* ___Parameter_INTERFACE_DEFINED__ */
  9424. EXTERN_C const CLSID CLSID_Parameter;
  9425. #ifdef __cplusplus
  9426. Parameter;
  9427. #endif
  9428. #ifndef __Parameters_INTERFACE_DEFINED__
  9429. #define __Parameters_INTERFACE_DEFINED__
  9430. /* interface ADOParameters */
  9431. /* [object][helpcontext][uuid][nonextensible][dual] */
  9432. EXTERN_C const IID IID_Parameters;
  9433. #if defined(__cplusplus) && !defined(CINTERFACE)
  9434. MIDL_INTERFACE("0000050D-0000-0010-8000-00AA006D2EA4")
  9435. ADOParameters : public _ADODynaCollection
  9436. {
  9437. public:
  9438. virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Item(
  9439. /* [in] */ VARIANT Index,
  9440. /* [retval][out] */ _ADOParameter **ppvObject) = 0;
  9441. };
  9442. #else /* C style interface */
  9443. typedef struct ParametersVtbl
  9444. {
  9445. BEGIN_INTERFACE
  9446. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  9447. ADOParameters * This,
  9448. /* [in] */ REFIID riid,
  9449. /* [iid_is][out] */ void **ppvObject);
  9450. ULONG ( STDMETHODCALLTYPE *AddRef )(
  9451. ADOParameters * This);
  9452. ULONG ( STDMETHODCALLTYPE *Release )(
  9453. ADOParameters * This);
  9454. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  9455. ADOParameters * This,
  9456. /* [out] */ UINT *pctinfo);
  9457. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  9458. ADOParameters * This,
  9459. /* [in] */ UINT iTInfo,
  9460. /* [in] */ LCID lcid,
  9461. /* [out] */ ITypeInfo **ppTInfo);
  9462. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  9463. ADOParameters * This,
  9464. /* [in] */ REFIID riid,
  9465. /* [size_is][in] */ LPOLESTR *rgszNames,
  9466. /* [in] */ UINT cNames,
  9467. /* [in] */ LCID lcid,
  9468. /* [size_is][out] */ DISPID *rgDispId);
  9469. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  9470. ADOParameters * This,
  9471. /* [in] */ DISPID dispIdMember,
  9472. /* [in] */ REFIID riid,
  9473. /* [in] */ LCID lcid,
  9474. /* [in] */ WORD wFlags,
  9475. /* [out][in] */ DISPPARAMS *pDispParams,
  9476. /* [out] */ VARIANT *pVarResult,
  9477. /* [out] */ EXCEPINFO *pExcepInfo,
  9478. /* [out] */ UINT *puArgErr);
  9479. /* [id][helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  9480. ADOParameters * This,
  9481. /* [retval][out] */ long *c);
  9482. /* [id][restricted] */ HRESULT ( STDMETHODCALLTYPE *_NewEnum )(
  9483. ADOParameters * This,
  9484. /* [retval][out] */ IUnknown **ppvObject);
  9485. /* [id][helpcontext] */ HRESULT ( STDMETHODCALLTYPE *Refresh )(
  9486. ADOParameters * This);
  9487. /* [helpcontext] */ HRESULT ( STDMETHODCALLTYPE *Append )(
  9488. ADOParameters * This,
  9489. /* [in] */ IDispatch *Object);
  9490. /* [helpcontext] */ HRESULT ( STDMETHODCALLTYPE *Delete )(
  9491. ADOParameters * This,
  9492. /* [in] */ VARIANT Index);
  9493. /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Item )(
  9494. ADOParameters * This,
  9495. /* [in] */ VARIANT Index,
  9496. /* [retval][out] */ _ADOParameter **ppvObject);
  9497. END_INTERFACE
  9498. } ParametersVtbl;
  9499. interface Parameters
  9500. {
  9501. CONST_VTBL struct ParametersVtbl *lpVtbl;
  9502. };
  9503. #ifdef COBJMACROS
  9504. #define Parameters_QueryInterface(This,riid,ppvObject) \
  9505. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  9506. #define Parameters_AddRef(This) \
  9507. (This)->lpVtbl -> AddRef(This)
  9508. #define Parameters_Release(This) \
  9509. (This)->lpVtbl -> Release(This)
  9510. #define Parameters_GetTypeInfoCount(This,pctinfo) \
  9511. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  9512. #define Parameters_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  9513. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  9514. #define Parameters_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  9515. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  9516. #define Parameters_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  9517. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  9518. #define Parameters_get_Count(This,c) \
  9519. (This)->lpVtbl -> get_Count(This,c)
  9520. #define Parameters__NewEnum(This,ppvObject) \
  9521. (This)->lpVtbl -> _NewEnum(This,ppvObject)
  9522. #define Parameters_Refresh(This) \
  9523. (This)->lpVtbl -> Refresh(This)
  9524. #define Parameters_Append(This,Object) \
  9525. (This)->lpVtbl -> Append(This,Object)
  9526. #define Parameters_Delete(This,Index) \
  9527. (This)->lpVtbl -> Delete(This,Index)
  9528. #define Parameters_get_Item(This,Index,ppvObject) \
  9529. (This)->lpVtbl -> get_Item(This,Index,ppvObject)
  9530. #endif /* COBJMACROS */
  9531. #endif /* C style interface */
  9532. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Parameters_get_Item_Proxy(
  9533. ADOParameters * This,
  9534. /* [in] */ VARIANT Index,
  9535. /* [retval][out] */ _ADOParameter **ppvObject);
  9536. void __RPC_STUB Parameters_get_Item_Stub(
  9537. IRpcStubBuffer *This,
  9538. IRpcChannelBuffer *_pRpcChannelBuffer,
  9539. PRPC_MESSAGE _pRpcMessage,
  9540. DWORD *_pdwStubPhase);
  9541. #endif /* __Parameters_INTERFACE_DEFINED__ */
  9542. #ifndef __Property_INTERFACE_DEFINED__
  9543. #define __Property_INTERFACE_DEFINED__
  9544. /* interface ADOProperty */
  9545. /* [object][helpcontext][uuid][nonextensible][dual] */
  9546. EXTERN_C const IID IID_Property;
  9547. #if defined(__cplusplus) && !defined(CINTERFACE)
  9548. MIDL_INTERFACE("00000503-0000-0010-8000-00AA006D2EA4")
  9549. ADOProperty : public IDispatch
  9550. {
  9551. public:
  9552. virtual /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE get_Value(
  9553. /* [retval][out] */ VARIANT *pval) = 0;
  9554. virtual /* [helpcontext][id][propput] */ HRESULT STDMETHODCALLTYPE put_Value(
  9555. /* [in] */ VARIANT val) = 0;
  9556. virtual /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_Name(
  9557. /* [retval][out] */ BSTR *pbstr) = 0;
  9558. virtual /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_Type(
  9559. /* [retval][out] */ DataTypeEnum *ptype) = 0;
  9560. virtual /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_Attributes(
  9561. /* [retval][out] */ long *plAttributes) = 0;
  9562. virtual /* [helpcontext][propput] */ HRESULT STDMETHODCALLTYPE put_Attributes(
  9563. /* [in] */ long lAttributes) = 0;
  9564. };
  9565. #else /* C style interface */
  9566. typedef struct PropertyVtbl
  9567. {
  9568. BEGIN_INTERFACE
  9569. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  9570. ADOProperty * This,
  9571. /* [in] */ REFIID riid,
  9572. /* [iid_is][out] */ void **ppvObject);
  9573. ULONG ( STDMETHODCALLTYPE *AddRef )(
  9574. ADOProperty * This);
  9575. ULONG ( STDMETHODCALLTYPE *Release )(
  9576. ADOProperty * This);
  9577. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  9578. ADOProperty * This,
  9579. /* [out] */ UINT *pctinfo);
  9580. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  9581. ADOProperty * This,
  9582. /* [in] */ UINT iTInfo,
  9583. /* [in] */ LCID lcid,
  9584. /* [out] */ ITypeInfo **ppTInfo);
  9585. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  9586. ADOProperty * This,
  9587. /* [in] */ REFIID riid,
  9588. /* [size_is][in] */ LPOLESTR *rgszNames,
  9589. /* [in] */ UINT cNames,
  9590. /* [in] */ LCID lcid,
  9591. /* [size_is][out] */ DISPID *rgDispId);
  9592. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  9593. ADOProperty * This,
  9594. /* [in] */ DISPID dispIdMember,
  9595. /* [in] */ REFIID riid,
  9596. /* [in] */ LCID lcid,
  9597. /* [in] */ WORD wFlags,
  9598. /* [out][in] */ DISPPARAMS *pDispParams,
  9599. /* [out] */ VARIANT *pVarResult,
  9600. /* [out] */ EXCEPINFO *pExcepInfo,
  9601. /* [out] */ UINT *puArgErr);
  9602. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Value )(
  9603. ADOProperty * This,
  9604. /* [retval][out] */ VARIANT *pval);
  9605. /* [helpcontext][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Value )(
  9606. ADOProperty * This,
  9607. /* [in] */ VARIANT val);
  9608. /* [helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  9609. ADOProperty * This,
  9610. /* [retval][out] */ BSTR *pbstr);
  9611. /* [helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Type )(
  9612. ADOProperty * This,
  9613. /* [retval][out] */ DataTypeEnum *ptype);
  9614. /* [helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Attributes )(
  9615. ADOProperty * This,
  9616. /* [retval][out] */ long *plAttributes);
  9617. /* [helpcontext][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Attributes )(
  9618. ADOProperty * This,
  9619. /* [in] */ long lAttributes);
  9620. END_INTERFACE
  9621. } PropertyVtbl;
  9622. interface Property
  9623. {
  9624. CONST_VTBL struct PropertyVtbl *lpVtbl;
  9625. };
  9626. #ifdef COBJMACROS
  9627. #define Property_QueryInterface(This,riid,ppvObject) \
  9628. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  9629. #define Property_AddRef(This) \
  9630. (This)->lpVtbl -> AddRef(This)
  9631. #define Property_Release(This) \
  9632. (This)->lpVtbl -> Release(This)
  9633. #define Property_GetTypeInfoCount(This,pctinfo) \
  9634. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  9635. #define Property_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  9636. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  9637. #define Property_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  9638. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  9639. #define Property_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  9640. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  9641. #define Property_get_Value(This,pval) \
  9642. (This)->lpVtbl -> get_Value(This,pval)
  9643. #define Property_put_Value(This,val) \
  9644. (This)->lpVtbl -> put_Value(This,val)
  9645. #define Property_get_Name(This,pbstr) \
  9646. (This)->lpVtbl -> get_Name(This,pbstr)
  9647. #define Property_get_Type(This,ptype) \
  9648. (This)->lpVtbl -> get_Type(This,ptype)
  9649. #define Property_get_Attributes(This,plAttributes) \
  9650. (This)->lpVtbl -> get_Attributes(This,plAttributes)
  9651. #define Property_put_Attributes(This,lAttributes) \
  9652. (This)->lpVtbl -> put_Attributes(This,lAttributes)
  9653. #endif /* COBJMACROS */
  9654. #endif /* C style interface */
  9655. /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE Property_get_Value_Proxy(
  9656. ADOProperty * This,
  9657. /* [retval][out] */ VARIANT *pval);
  9658. void __RPC_STUB Property_get_Value_Stub(
  9659. IRpcStubBuffer *This,
  9660. IRpcChannelBuffer *_pRpcChannelBuffer,
  9661. PRPC_MESSAGE _pRpcMessage,
  9662. DWORD *_pdwStubPhase);
  9663. /* [helpcontext][id][propput] */ HRESULT STDMETHODCALLTYPE Property_put_Value_Proxy(
  9664. ADOProperty * This,
  9665. /* [in] */ VARIANT val);
  9666. void __RPC_STUB Property_put_Value_Stub(
  9667. IRpcStubBuffer *This,
  9668. IRpcChannelBuffer *_pRpcChannelBuffer,
  9669. PRPC_MESSAGE _pRpcMessage,
  9670. DWORD *_pdwStubPhase);
  9671. /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE Property_get_Name_Proxy(
  9672. ADOProperty * This,
  9673. /* [retval][out] */ BSTR *pbstr);
  9674. void __RPC_STUB Property_get_Name_Stub(
  9675. IRpcStubBuffer *This,
  9676. IRpcChannelBuffer *_pRpcChannelBuffer,
  9677. PRPC_MESSAGE _pRpcMessage,
  9678. DWORD *_pdwStubPhase);
  9679. /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE Property_get_Type_Proxy(
  9680. ADOProperty * This,
  9681. /* [retval][out] */ DataTypeEnum *ptype);
  9682. void __RPC_STUB Property_get_Type_Stub(
  9683. IRpcStubBuffer *This,
  9684. IRpcChannelBuffer *_pRpcChannelBuffer,
  9685. PRPC_MESSAGE _pRpcMessage,
  9686. DWORD *_pdwStubPhase);
  9687. /* [helpcontext][propget] */ HRESULT STDMETHODCALLTYPE Property_get_Attributes_Proxy(
  9688. ADOProperty * This,
  9689. /* [retval][out] */ long *plAttributes);
  9690. void __RPC_STUB Property_get_Attributes_Stub(
  9691. IRpcStubBuffer *This,
  9692. IRpcChannelBuffer *_pRpcChannelBuffer,
  9693. PRPC_MESSAGE _pRpcMessage,
  9694. DWORD *_pdwStubPhase);
  9695. /* [helpcontext][propput] */ HRESULT STDMETHODCALLTYPE Property_put_Attributes_Proxy(
  9696. ADOProperty * This,
  9697. /* [in] */ long lAttributes);
  9698. void __RPC_STUB Property_put_Attributes_Stub(
  9699. IRpcStubBuffer *This,
  9700. IRpcChannelBuffer *_pRpcChannelBuffer,
  9701. PRPC_MESSAGE _pRpcMessage,
  9702. DWORD *_pdwStubPhase);
  9703. #endif /* __Property_INTERFACE_DEFINED__ */
  9704. #ifndef __Properties_INTERFACE_DEFINED__
  9705. #define __Properties_INTERFACE_DEFINED__
  9706. /* interface ADOProperties */
  9707. /* [object][helpcontext][uuid][nonextensible][dual] */
  9708. EXTERN_C const IID IID_Properties;
  9709. #if defined(__cplusplus) && !defined(CINTERFACE)
  9710. MIDL_INTERFACE("00000504-0000-0010-8000-00AA006D2EA4")
  9711. ADOProperties : public _ADOCollection
  9712. {
  9713. public:
  9714. virtual /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE get_Item(
  9715. /* [in] */ VARIANT Index,
  9716. /* [retval][out] */ ADOProperty **ppvObject) = 0;
  9717. };
  9718. #else /* C style interface */
  9719. typedef struct PropertiesVtbl
  9720. {
  9721. BEGIN_INTERFACE
  9722. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  9723. ADOProperties * This,
  9724. /* [in] */ REFIID riid,
  9725. /* [iid_is][out] */ void **ppvObject);
  9726. ULONG ( STDMETHODCALLTYPE *AddRef )(
  9727. ADOProperties * This);
  9728. ULONG ( STDMETHODCALLTYPE *Release )(
  9729. ADOProperties * This);
  9730. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  9731. ADOProperties * This,
  9732. /* [out] */ UINT *pctinfo);
  9733. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  9734. ADOProperties * This,
  9735. /* [in] */ UINT iTInfo,
  9736. /* [in] */ LCID lcid,
  9737. /* [out] */ ITypeInfo **ppTInfo);
  9738. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  9739. ADOProperties * This,
  9740. /* [in] */ REFIID riid,
  9741. /* [size_is][in] */ LPOLESTR *rgszNames,
  9742. /* [in] */ UINT cNames,
  9743. /* [in] */ LCID lcid,
  9744. /* [size_is][out] */ DISPID *rgDispId);
  9745. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  9746. ADOProperties * This,
  9747. /* [in] */ DISPID dispIdMember,
  9748. /* [in] */ REFIID riid,
  9749. /* [in] */ LCID lcid,
  9750. /* [in] */ WORD wFlags,
  9751. /* [out][in] */ DISPPARAMS *pDispParams,
  9752. /* [out] */ VARIANT *pVarResult,
  9753. /* [out] */ EXCEPINFO *pExcepInfo,
  9754. /* [out] */ UINT *puArgErr);
  9755. /* [id][helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  9756. ADOProperties * This,
  9757. /* [retval][out] */ long *c);
  9758. /* [id][restricted] */ HRESULT ( STDMETHODCALLTYPE *_NewEnum )(
  9759. ADOProperties * This,
  9760. /* [retval][out] */ IUnknown **ppvObject);
  9761. /* [id][helpcontext] */ HRESULT ( STDMETHODCALLTYPE *Refresh )(
  9762. ADOProperties * This);
  9763. /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )(
  9764. ADOProperties * This,
  9765. /* [in] */ VARIANT Index,
  9766. /* [retval][out] */ ADOProperty **ppvObject);
  9767. END_INTERFACE
  9768. } PropertiesVtbl;
  9769. interface Properties
  9770. {
  9771. CONST_VTBL struct PropertiesVtbl *lpVtbl;
  9772. };
  9773. #ifdef COBJMACROS
  9774. #define Properties_QueryInterface(This,riid,ppvObject) \
  9775. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  9776. #define Properties_AddRef(This) \
  9777. (This)->lpVtbl -> AddRef(This)
  9778. #define Properties_Release(This) \
  9779. (This)->lpVtbl -> Release(This)
  9780. #define Properties_GetTypeInfoCount(This,pctinfo) \
  9781. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  9782. #define Properties_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  9783. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  9784. #define Properties_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  9785. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  9786. #define Properties_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  9787. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  9788. #define Properties_get_Count(This,c) \
  9789. (This)->lpVtbl -> get_Count(This,c)
  9790. #define Properties__NewEnum(This,ppvObject) \
  9791. (This)->lpVtbl -> _NewEnum(This,ppvObject)
  9792. #define Properties_Refresh(This) \
  9793. (This)->lpVtbl -> Refresh(This)
  9794. #define Properties_get_Item(This,Index,ppvObject) \
  9795. (This)->lpVtbl -> get_Item(This,Index,ppvObject)
  9796. #endif /* COBJMACROS */
  9797. #endif /* C style interface */
  9798. /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE Properties_get_Item_Proxy(
  9799. ADOProperties * This,
  9800. /* [in] */ VARIANT Index,
  9801. /* [retval][out] */ ADOProperty **ppvObject);
  9802. void __RPC_STUB Properties_get_Item_Stub(
  9803. IRpcStubBuffer *This,
  9804. IRpcChannelBuffer *_pRpcChannelBuffer,
  9805. PRPC_MESSAGE _pRpcMessage,
  9806. DWORD *_pdwStubPhase);
  9807. #endif /* __Properties_INTERFACE_DEFINED__ */
  9808. #endif /* __ADODB_LIBRARY_DEFINED__ */
  9809. /* interface __MIDL_itf_m_bobj_0145 */
  9810. /* [local] */
  9811. extern RPC_IF_HANDLE __MIDL_itf_m_bobj_0145_v0_0_c_ifspec;
  9812. extern RPC_IF_HANDLE __MIDL_itf_m_bobj_0145_v0_0_s_ifspec;
  9813. /* Additional Prototypes for ALL interfaces */
  9814. /* end of Additional Prototypes */
  9815. #ifdef __cplusplus
  9816. }
  9817. #endif
  9818. #endif
  9819. #define ADOCommand _ADOCommand
  9820. #define ADORecordset _ADORecordset
  9821. #define ADOTransaction _ADOTransaction
  9822. #define ADOParameter _ADOParameter
  9823. #define ADOConnection _ADOConnection
  9824. #define ADOCollection _ADOCollection
  9825. #define ADODynaCollection _ADODynaCollection
  9826. #define ADORecord _ADORecord
  9827. #define ADORecField _ADORecField
  9828. #define ADOStream _ADOStream
  9829. #endif // _ADOINT_H_