AdoInt.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:471k
源码类别:

模拟服务器

开发平台:

C/C++

  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 Tue May 29 12:52:21 2001
  26.  */
  27. /* Compiler settings for obji386m_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.     
  863.     MIDL_INTERFACE("00000512-0000-0010-8000-00AA006D2EA4")
  864.     _ADOCollection : public IDispatch
  865.     {
  866.     public:
  867.         virtual /* [id][helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_Count( 
  868.             /* [retval][out] */ long *c) = 0;
  869.         
  870.         virtual /* [id][restricted] */ HRESULT STDMETHODCALLTYPE _NewEnum( 
  871.             /* [retval][out] */ IUnknown **ppvObject) = 0;
  872.         
  873.         virtual /* [id][helpcontext] */ HRESULT STDMETHODCALLTYPE Refresh( void) = 0;
  874.         
  875.     };
  876.     
  877. #else  /* C style interface */
  878.     typedef struct _ADOCollectionVtbl
  879.     {
  880.         BEGIN_INTERFACE
  881.         
  882.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  883.             _ADOCollection * This,
  884.             /* [in] */ REFIID riid,
  885.             /* [iid_is][out] */ void **ppvObject);
  886.         
  887.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  888.             _ADOCollection * This);
  889.         
  890.         ULONG ( STDMETHODCALLTYPE *Release )( 
  891.             _ADOCollection * This);
  892.         
  893.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  894.             _ADOCollection * This,
  895.             /* [out] */ UINT *pctinfo);
  896.         
  897.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  898.             _ADOCollection * This,
  899.             /* [in] */ UINT iTInfo,
  900.             /* [in] */ LCID lcid,
  901.             /* [out] */ ITypeInfo **ppTInfo);
  902.         
  903.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  904.             _ADOCollection * This,
  905.             /* [in] */ REFIID riid,
  906.             /* [size_is][in] */ LPOLESTR *rgszNames,
  907.             /* [in] */ UINT cNames,
  908.             /* [in] */ LCID lcid,
  909.             /* [size_is][out] */ DISPID *rgDispId);
  910.         
  911.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  912.             _ADOCollection * This,
  913.             /* [in] */ DISPID dispIdMember,
  914.             /* [in] */ REFIID riid,
  915.             /* [in] */ LCID lcid,
  916.             /* [in] */ WORD wFlags,
  917.             /* [out][in] */ DISPPARAMS *pDispParams,
  918.             /* [out] */ VARIANT *pVarResult,
  919.             /* [out] */ EXCEPINFO *pExcepInfo,
  920.             /* [out] */ UINT *puArgErr);
  921.         
  922.         /* [id][helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )( 
  923.             _ADOCollection * This,
  924.             /* [retval][out] */ long *c);
  925.         
  926.         /* [id][restricted] */ HRESULT ( STDMETHODCALLTYPE *_NewEnum )( 
  927.             _ADOCollection * This,
  928.             /* [retval][out] */ IUnknown **ppvObject);
  929.         
  930.         /* [id][helpcontext] */ HRESULT ( STDMETHODCALLTYPE *Refresh )( 
  931.             _ADOCollection * This);
  932.         
  933.         END_INTERFACE
  934.     } _ADOCollectionVtbl;
  935.     interface _ADOCollection
  936.     {
  937.         CONST_VTBL struct _ADOCollectionVtbl *lpVtbl;
  938.     };
  939.     
  940. #ifdef COBJMACROS
  941. #define _ADOCollection_QueryInterface(This,riid,ppvObject)
  942.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  943. #define _ADOCollection_AddRef(This)
  944.     (This)->lpVtbl -> AddRef(This)
  945. #define _ADOCollection_Release(This)
  946.     (This)->lpVtbl -> Release(This)
  947. #define _ADOCollection_GetTypeInfoCount(This,pctinfo)
  948.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  949. #define _ADOCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  950.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  951. #define _ADOCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  952.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  953. #define _ADOCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  954.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  955. #define _Collection_get_Count(This,c)
  956.     (This)->lpVtbl -> get_Count(This,c)
  957. #define _ADOCollection__NewEnum(This,ppvObject)
  958.     (This)->lpVtbl -> _NewEnum(This,ppvObject)
  959. #define _ADOCollection_Refresh(This)
  960.     (This)->lpVtbl -> Refresh(This)
  961. #endif /* COBJMACROS */
  962. #endif  /* C style interface */
  963. /* [id][helpcontext][propget] */ HRESULT STDMETHODCALLTYPE _Collection_get_Count_Proxy( 
  964.     _ADOCollection * This,
  965.     /* [retval][out] */ long *c);
  966. void __RPC_STUB _Collection_get_Count_Stub(
  967.     IRpcStubBuffer *This,
  968.     IRpcChannelBuffer *_pRpcChannelBuffer,
  969.     PRPC_MESSAGE _pRpcMessage,
  970.     DWORD *_pdwStubPhase);
  971. /* [id][restricted] */ HRESULT STDMETHODCALLTYPE _ADOCollection__NewEnum_Proxy( 
  972.     _ADOCollection * This,
  973.     /* [retval][out] */ IUnknown **ppvObject);
  974. void __RPC_STUB _ADOCollection__NewEnum_Stub(
  975.     IRpcStubBuffer *This,
  976.     IRpcChannelBuffer *_pRpcChannelBuffer,
  977.     PRPC_MESSAGE _pRpcMessage,
  978.     DWORD *_pdwStubPhase);
  979. /* [id][helpcontext] */ HRESULT STDMETHODCALLTYPE _ADOCollection_Refresh_Proxy( 
  980.     _ADOCollection * This);
  981. void __RPC_STUB _ADOCollection_Refresh_Stub(
  982.     IRpcStubBuffer *This,
  983.     IRpcChannelBuffer *_pRpcChannelBuffer,
  984.     PRPC_MESSAGE _pRpcMessage,
  985.     DWORD *_pdwStubPhase);
  986. #endif  /* ___ADOCollection_INTERFACE_DEFINED__ */
  987. #ifndef ___ADODynaCollection_INTERFACE_DEFINED__
  988. #define ___ADODynaCollection_INTERFACE_DEFINED__
  989. /* interface _ADODynaCollection */
  990. /* [object][uuid][nonextensible][dual] */ 
  991. EXTERN_C const IID IID__ADODynaCollection;
  992. #if defined(__cplusplus) && !defined(CINTERFACE)
  993.     
  994.     MIDL_INTERFACE("00000513-0000-0010-8000-00AA006D2EA4")
  995. _ADODynaCollection : public _ADOCollection
  996.     {
  997.     public:
  998.         virtual /* [helpcontext] */ HRESULT STDMETHODCALLTYPE Append( 
  999.             /* [in] */ IDispatch *Object) = 0;
  1000.         
  1001.         virtual /* [helpcontext] */ HRESULT STDMETHODCALLTYPE Delete( 
  1002.             /* [in] */ VARIANT Index) = 0;
  1003.         
  1004.     };
  1005.     
  1006. #else  /* C style interface */
  1007.     typedef struct _ADODynaCollectionVtbl
  1008.     {
  1009.         BEGIN_INTERFACE
  1010.         
  1011.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1012.             _ADODynaCollection * This,
  1013.             /* [in] */ REFIID riid,
  1014.             /* [iid_is][out] */ void **ppvObject);
  1015.         
  1016.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1017.             _ADODynaCollection * This);
  1018.         
  1019.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1020.             _ADODynaCollection * This);
  1021.         
  1022.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1023.             _ADODynaCollection * This,
  1024.             /* [out] */ UINT *pctinfo);
  1025.         
  1026.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1027.             _ADODynaCollection * This,
  1028.             /* [in] */ UINT iTInfo,
  1029.             /* [in] */ LCID lcid,
  1030.             /* [out] */ ITypeInfo **ppTInfo);
  1031.         
  1032.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1033.             _ADODynaCollection * This,
  1034.             /* [in] */ REFIID riid,
  1035.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1036.             /* [in] */ UINT cNames,
  1037.             /* [in] */ LCID lcid,
  1038.             /* [size_is][out] */ DISPID *rgDispId);
  1039.         
  1040.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1041.             _ADODynaCollection * This,
  1042.             /* [in] */ DISPID dispIdMember,
  1043.             /* [in] */ REFIID riid,
  1044.             /* [in] */ LCID lcid,
  1045.             /* [in] */ WORD wFlags,
  1046.             /* [out][in] */ DISPPARAMS *pDispParams,
  1047.             /* [out] */ VARIANT *pVarResult,
  1048.             /* [out] */ EXCEPINFO *pExcepInfo,
  1049.             /* [out] */ UINT *puArgErr);
  1050.         
  1051.         /* [id][helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )( 
  1052.             _ADODynaCollection * This,
  1053.             /* [retval][out] */ long *c);
  1054.         
  1055.         /* [id][restricted] */ HRESULT ( STDMETHODCALLTYPE *_NewEnum )( 
  1056.             _ADODynaCollection * This,
  1057.             /* [retval][out] */ IUnknown **ppvObject);
  1058.         
  1059.         /* [id][helpcontext] */ HRESULT ( STDMETHODCALLTYPE *Refresh )( 
  1060.             _ADODynaCollection * This);
  1061.         
  1062.         /* [helpcontext] */ HRESULT ( STDMETHODCALLTYPE *Append )( 
  1063.             _ADODynaCollection * This,
  1064.             /* [in] */ IDispatch *Object);
  1065.         
  1066.         /* [helpcontext] */ HRESULT ( STDMETHODCALLTYPE *Delete )( 
  1067.             _ADODynaCollection * This,
  1068.             /* [in] */ VARIANT Index);
  1069.         
  1070.         END_INTERFACE
  1071.     } _ADODynaCollectionVtbl;
  1072.     interface _ADODynaCollection
  1073.     {
  1074.         CONST_VTBL struct _ADODynaCollectionVtbl *lpVtbl;
  1075.     };
  1076.     
  1077. #ifdef COBJMACROS
  1078. #define _ADODynaCollection_QueryInterface(This,riid,ppvObject)
  1079.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1080. #define _ADODynaCollection_AddRef(This)
  1081.     (This)->lpVtbl -> AddRef(This)
  1082. #define _ADODynaCollection_Release(This)
  1083.     (This)->lpVtbl -> Release(This)
  1084. #define _ADODynaCollection_GetTypeInfoCount(This,pctinfo)
  1085.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1086. #define _ADODynaCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1087.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1088. #define _ADODynaCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1089.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1090. #define _ADODynaCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1091.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1092. #define _DynaCollection_get_Count(This,c)
  1093.     (This)->lpVtbl -> get_Count(This,c)
  1094. #define _ADODynaCollection__NewEnum(This,ppvObject)
  1095.     (This)->lpVtbl -> _NewEnum(This,ppvObject)
  1096. #define _ADODynaCollection_Refresh(This)
  1097.     (This)->lpVtbl -> Refresh(This)
  1098. #define _ADODynaCollection_Append(This,Object)
  1099.     (This)->lpVtbl -> Append(This,Object)
  1100. #define _ADODynaCollection_Delete(This,Index)
  1101.     (This)->lpVtbl -> Delete(This,Index)
  1102. #endif /* COBJMACROS */
  1103. #endif  /* C style interface */
  1104. /* [helpcontext] */ HRESULT STDMETHODCALLTYPE _ADODynaCollection_Append_Proxy( 
  1105.     _ADODynaCollection * This,
  1106.     /* [in] */ IDispatch *Object);
  1107. void __RPC_STUB _ADODynaCollection_Append_Stub(
  1108.     IRpcStubBuffer *This,
  1109.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1110.     PRPC_MESSAGE _pRpcMessage,
  1111.     DWORD *_pdwStubPhase);
  1112. /* [helpcontext] */ HRESULT STDMETHODCALLTYPE _ADODynaCollection_Delete_Proxy( 
  1113.     _ADODynaCollection * This,
  1114.     /* [in] */ VARIANT Index);
  1115. void __RPC_STUB _ADODynaCollection_Delete_Stub(
  1116.     IRpcStubBuffer *This,
  1117.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1118.     PRPC_MESSAGE _pRpcMessage,
  1119.     DWORD *_pdwStubPhase);
  1120. #endif  /* ___ADODynaCollection_INTERFACE_DEFINED__ */
  1121. #ifndef ___ADO_INTERFACE_DEFINED__
  1122. #define ___ADO_INTERFACE_DEFINED__
  1123. /* interface _ADO */
  1124. /* [object][uuid][nonextensible][dual] */ 
  1125. EXTERN_C const IID IID__ADO;
  1126. #if defined(__cplusplus) && !defined(CINTERFACE)
  1127.     
  1128.     MIDL_INTERFACE("00000534-0000-0010-8000-00AA006D2EA4")
  1129.     _ADO : public IDispatch
  1130.     {
  1131.     public:
  1132.         virtual /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE get_Properties( 
  1133.             /* [retval][out] */ ADOProperties **ppvObject) = 0;
  1134.         
  1135.     };
  1136.     
  1137. #else  /* C style interface */
  1138.     typedef struct _ADOVtbl
  1139.     {
  1140.         BEGIN_INTERFACE
  1141.         
  1142.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1143.             _ADO * This,
  1144.             /* [in] */ REFIID riid,
  1145.             /* [iid_is][out] */ void **ppvObject);
  1146.         
  1147.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1148.             _ADO * This);
  1149.         
  1150.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1151.             _ADO * This);
  1152.         
  1153.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1154.             _ADO * This,
  1155.             /* [out] */ UINT *pctinfo);
  1156.         
  1157.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1158.             _ADO * This,
  1159.             /* [in] */ UINT iTInfo,
  1160.             /* [in] */ LCID lcid,
  1161.             /* [out] */ ITypeInfo **ppTInfo);
  1162.         
  1163.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1164.             _ADO * This,
  1165.             /* [in] */ REFIID riid,
  1166.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1167.             /* [in] */ UINT cNames,
  1168.             /* [in] */ LCID lcid,
  1169.             /* [size_is][out] */ DISPID *rgDispId);
  1170.         
  1171.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1172.             _ADO * This,
  1173.             /* [in] */ DISPID dispIdMember,
  1174.             /* [in] */ REFIID riid,
  1175.             /* [in] */ LCID lcid,
  1176.             /* [in] */ WORD wFlags,
  1177.             /* [out][in] */ DISPPARAMS *pDispParams,
  1178.             /* [out] */ VARIANT *pVarResult,
  1179.             /* [out] */ EXCEPINFO *pExcepInfo,
  1180.             /* [out] */ UINT *puArgErr);
  1181.         
  1182.         /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Properties )( 
  1183.             _ADO * This,
  1184.             /* [retval][out] */ ADOProperties **ppvObject);
  1185.         
  1186.         END_INTERFACE
  1187.     } _ADOVtbl;
  1188.     interface _ADO
  1189.     {
  1190.         CONST_VTBL struct _ADOVtbl *lpVtbl;
  1191.     };
  1192.     
  1193. #ifdef COBJMACROS
  1194. #define _ADO_QueryInterface(This,riid,ppvObject)
  1195.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1196. #define _ADO_AddRef(This)
  1197.     (This)->lpVtbl -> AddRef(This)
  1198. #define _ADO_Release(This)
  1199.     (This)->lpVtbl -> Release(This)
  1200. #define _ADO_GetTypeInfoCount(This,pctinfo)
  1201.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1202. #define _ADO_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1203.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1204. #define _ADO_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1205.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1206. #define _ADO_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1207.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1208. #define _ADO_get_Properties(This,ppvObject)
  1209.     (This)->lpVtbl -> get_Properties(This,ppvObject)
  1210. #endif /* COBJMACROS */
  1211. #endif  /* C style interface */
  1212. /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE _ADO_get_Properties_Proxy( 
  1213.     _ADO * This,
  1214.     /* [retval][out] */ ADOProperties **ppvObject);
  1215. void __RPC_STUB _ADO_get_Properties_Stub(
  1216.     IRpcStubBuffer *This,
  1217.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1218.     PRPC_MESSAGE _pRpcMessage,
  1219.     DWORD *_pdwStubPhase);
  1220. #endif  /* ___ADO_INTERFACE_DEFINED__ */
  1221. #ifndef __Error_INTERFACE_DEFINED__
  1222. #define __Error_INTERFACE_DEFINED__
  1223. /* interface ADOError */
  1224. /* [object][helpcontext][uuid][nonextensible][dual] */ 
  1225. EXTERN_C const IID IID_Error;
  1226. #if defined(__cplusplus) && !defined(CINTERFACE)
  1227.     
  1228.     MIDL_INTERFACE("00000500-0000-0010-8000-00AA006D2EA4")
  1229.     ADOError : public IDispatch
  1230.     {
  1231.     public:
  1232.         virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Number( 
  1233.             /* [retval][out] */ long *pl) = 0;
  1234.         
  1235.         virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Source( 
  1236.             /* [retval][out] */ BSTR *pbstr) = 0;
  1237.         
  1238.         virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Description( 
  1239.             /* [retval][out] */ BSTR *pbstr) = 0;
  1240.         
  1241.         virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_HelpFile( 
  1242.             /* [retval][out] */ BSTR *pbstr) = 0;
  1243.         
  1244.         virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_HelpContext( 
  1245.             /* [retval][out] */ long *pl) = 0;
  1246.         
  1247.         virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_SQLState( 
  1248.             /* [retval][out] */ BSTR *pbstr) = 0;
  1249.         
  1250.         virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_NativeError( 
  1251.             /* [retval][out] */ long *pl) = 0;
  1252.         
  1253.     };
  1254.     
  1255. #else  /* C style interface */
  1256.     typedef struct ErrorVtbl
  1257.     {
  1258.         BEGIN_INTERFACE
  1259.         
  1260.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1261.             ADOError * This,
  1262.             /* [in] */ REFIID riid,
  1263.             /* [iid_is][out] */ void **ppvObject);
  1264.         
  1265.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1266.             ADOError * This);
  1267.         
  1268.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1269.             ADOError * This);
  1270.         
  1271.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1272.             ADOError * This,
  1273.             /* [out] */ UINT *pctinfo);
  1274.         
  1275.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1276.             ADOError * This,
  1277.             /* [in] */ UINT iTInfo,
  1278.             /* [in] */ LCID lcid,
  1279.             /* [out] */ ITypeInfo **ppTInfo);
  1280.         
  1281.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1282.             ADOError * This,
  1283.             /* [in] */ REFIID riid,
  1284.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1285.             /* [in] */ UINT cNames,
  1286.             /* [in] */ LCID lcid,
  1287.             /* [size_is][out] */ DISPID *rgDispId);
  1288.         
  1289.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1290.             ADOError * This,
  1291.             /* [in] */ DISPID dispIdMember,
  1292.             /* [in] */ REFIID riid,
  1293.             /* [in] */ LCID lcid,
  1294.             /* [in] */ WORD wFlags,
  1295.             /* [out][in] */ DISPPARAMS *pDispParams,
  1296.             /* [out] */ VARIANT *pVarResult,
  1297.             /* [out] */ EXCEPINFO *pExcepInfo,
  1298.             /* [out] */ UINT *puArgErr);
  1299.         
  1300.         /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Number )( 
  1301.             ADOError * This,
  1302.             /* [retval][out] */ long *pl);
  1303.         
  1304.         /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Source )( 
  1305.             ADOError * This,
  1306.             /* [retval][out] */ BSTR *pbstr);
  1307.         
  1308.         /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Description )( 
  1309.             ADOError * This,
  1310.             /* [retval][out] */ BSTR *pbstr);
  1311.         
  1312.         /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_HelpFile )( 
  1313.             ADOError * This,
  1314.             /* [retval][out] */ BSTR *pbstr);
  1315.         
  1316.         /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_HelpContext )( 
  1317.             ADOError * This,
  1318.             /* [retval][out] */ long *pl);
  1319.         
  1320.         /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_SQLState )( 
  1321.             ADOError * This,
  1322.             /* [retval][out] */ BSTR *pbstr);
  1323.         
  1324.         /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_NativeError )( 
  1325.             ADOError * This,
  1326.             /* [retval][out] */ long *pl);
  1327.         
  1328.         END_INTERFACE
  1329.     } ErrorVtbl;
  1330.     interface Error
  1331.     {
  1332.         CONST_VTBL struct ErrorVtbl *lpVtbl;
  1333.     };
  1334.     
  1335. #ifdef COBJMACROS
  1336. #define Error_QueryInterface(This,riid,ppvObject)
  1337.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1338. #define Error_AddRef(This)
  1339.     (This)->lpVtbl -> AddRef(This)
  1340. #define Error_Release(This)
  1341.     (This)->lpVtbl -> Release(This)
  1342. #define Error_GetTypeInfoCount(This,pctinfo)
  1343.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1344. #define Error_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1345.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1346. #define Error_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1347.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1348. #define Error_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1349.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1350. #define Error_get_Number(This,pl)
  1351.     (This)->lpVtbl -> get_Number(This,pl)
  1352. #define Error_get_Source(This,pbstr)
  1353.     (This)->lpVtbl -> get_Source(This,pbstr)
  1354. #define Error_get_Description(This,pbstr)
  1355.     (This)->lpVtbl -> get_Description(This,pbstr)
  1356. #define Error_get_HelpFile(This,pbstr)
  1357.     (This)->lpVtbl -> get_HelpFile(This,pbstr)
  1358. #define Error_get_HelpContext(This,pl)
  1359.     (This)->lpVtbl -> get_HelpContext(This,pl)
  1360. #define Error_get_SQLState(This,pbstr)
  1361.     (This)->lpVtbl -> get_SQLState(This,pbstr)
  1362. #define Error_get_NativeError(This,pl)
  1363.     (This)->lpVtbl -> get_NativeError(This,pl)
  1364. #endif /* COBJMACROS */
  1365. #endif  /* C style interface */
  1366. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Error_get_Number_Proxy( 
  1367.     ADOError * This,
  1368.     /* [retval][out] */ long *pl);
  1369. void __RPC_STUB Error_get_Number_Stub(
  1370.     IRpcStubBuffer *This,
  1371.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1372.     PRPC_MESSAGE _pRpcMessage,
  1373.     DWORD *_pdwStubPhase);
  1374. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Error_get_Source_Proxy( 
  1375.     ADOError * This,
  1376.     /* [retval][out] */ BSTR *pbstr);
  1377. void __RPC_STUB Error_get_Source_Stub(
  1378.     IRpcStubBuffer *This,
  1379.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1380.     PRPC_MESSAGE _pRpcMessage,
  1381.     DWORD *_pdwStubPhase);
  1382. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Error_get_Description_Proxy( 
  1383.     ADOError * This,
  1384.     /* [retval][out] */ BSTR *pbstr);
  1385. void __RPC_STUB Error_get_Description_Stub(
  1386.     IRpcStubBuffer *This,
  1387.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1388.     PRPC_MESSAGE _pRpcMessage,
  1389.     DWORD *_pdwStubPhase);
  1390. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Error_get_HelpFile_Proxy( 
  1391.     ADOError * This,
  1392.     /* [retval][out] */ BSTR *pbstr);
  1393. void __RPC_STUB Error_get_HelpFile_Stub(
  1394.     IRpcStubBuffer *This,
  1395.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1396.     PRPC_MESSAGE _pRpcMessage,
  1397.     DWORD *_pdwStubPhase);
  1398. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Error_get_HelpContext_Proxy( 
  1399.     ADOError * This,
  1400.     /* [retval][out] */ long *pl);
  1401. void __RPC_STUB Error_get_HelpContext_Stub(
  1402.     IRpcStubBuffer *This,
  1403.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1404.     PRPC_MESSAGE _pRpcMessage,
  1405.     DWORD *_pdwStubPhase);
  1406. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Error_get_SQLState_Proxy( 
  1407.     ADOError * This,
  1408.     /* [retval][out] */ BSTR *pbstr);
  1409. void __RPC_STUB Error_get_SQLState_Stub(
  1410.     IRpcStubBuffer *This,
  1411.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1412.     PRPC_MESSAGE _pRpcMessage,
  1413.     DWORD *_pdwStubPhase);
  1414. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Error_get_NativeError_Proxy( 
  1415.     ADOError * This,
  1416.     /* [retval][out] */ long *pl);
  1417. void __RPC_STUB Error_get_NativeError_Stub(
  1418.     IRpcStubBuffer *This,
  1419.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1420.     PRPC_MESSAGE _pRpcMessage,
  1421.     DWORD *_pdwStubPhase);
  1422. #endif  /* __Error_INTERFACE_DEFINED__ */
  1423. #ifndef __Errors_INTERFACE_DEFINED__
  1424. #define __Errors_INTERFACE_DEFINED__
  1425. /* interface ADOErrors */
  1426. /* [object][helpcontext][uuid][nonextensible][dual] */ 
  1427. EXTERN_C const IID IID_Errors;
  1428. #if defined(__cplusplus) && !defined(CINTERFACE)
  1429.     
  1430.     MIDL_INTERFACE("00000501-0000-0010-8000-00AA006D2EA4")
  1431.     ADOErrors : public _ADOCollection
  1432.     {
  1433.     public:
  1434.         virtual /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE get_Item( 
  1435.             /* [in] */ VARIANT Index,
  1436.             /* [retval][out] */ ADOError **ppvObject) = 0;
  1437.         
  1438.         virtual /* [helpcontext] */ HRESULT STDMETHODCALLTYPE Clear( void) = 0;
  1439.         
  1440.     };
  1441.     
  1442. #else  /* C style interface */
  1443.     typedef struct ErrorsVtbl
  1444.     {
  1445.         BEGIN_INTERFACE
  1446.         
  1447.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1448.             ADOErrors * This,
  1449.             /* [in] */ REFIID riid,
  1450.             /* [iid_is][out] */ void **ppvObject);
  1451.         
  1452.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1453.             ADOErrors * This);
  1454.         
  1455.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1456.             ADOErrors * This);
  1457.         
  1458.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1459.             ADOErrors * This,
  1460.             /* [out] */ UINT *pctinfo);
  1461.         
  1462.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1463.             ADOErrors * This,
  1464.             /* [in] */ UINT iTInfo,
  1465.             /* [in] */ LCID lcid,
  1466.             /* [out] */ ITypeInfo **ppTInfo);
  1467.         
  1468.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1469.             ADOErrors * This,
  1470.             /* [in] */ REFIID riid,
  1471.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1472.             /* [in] */ UINT cNames,
  1473.             /* [in] */ LCID lcid,
  1474.             /* [size_is][out] */ DISPID *rgDispId);
  1475.         
  1476.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1477.             ADOErrors * This,
  1478.             /* [in] */ DISPID dispIdMember,
  1479.             /* [in] */ REFIID riid,
  1480.             /* [in] */ LCID lcid,
  1481.             /* [in] */ WORD wFlags,
  1482.             /* [out][in] */ DISPPARAMS *pDispParams,
  1483.             /* [out] */ VARIANT *pVarResult,
  1484.             /* [out] */ EXCEPINFO *pExcepInfo,
  1485.             /* [out] */ UINT *puArgErr);
  1486.         
  1487.         /* [id][helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )( 
  1488.             ADOErrors * This,
  1489.             /* [retval][out] */ long *c);
  1490.         
  1491.         /* [id][restricted] */ HRESULT ( STDMETHODCALLTYPE *_NewEnum )( 
  1492.             ADOErrors * This,
  1493.             /* [retval][out] */ IUnknown **ppvObject);
  1494.         
  1495.         /* [id][helpcontext] */ HRESULT ( STDMETHODCALLTYPE *Refresh )( 
  1496.             ADOErrors * This);
  1497.         
  1498.         /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )( 
  1499.             ADOErrors * This,
  1500.             /* [in] */ VARIANT Index,
  1501.             /* [retval][out] */ ADOError **ppvObject);
  1502.         
  1503.         /* [helpcontext] */ HRESULT ( STDMETHODCALLTYPE *Clear )( 
  1504.             ADOErrors * This);
  1505.         
  1506.         END_INTERFACE
  1507.     } ErrorsVtbl;
  1508.     interface Errors
  1509.     {
  1510.         CONST_VTBL struct ErrorsVtbl *lpVtbl;
  1511.     };
  1512.     
  1513. #ifdef COBJMACROS
  1514. #define Errors_QueryInterface(This,riid,ppvObject)
  1515.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1516. #define Errors_AddRef(This)
  1517.     (This)->lpVtbl -> AddRef(This)
  1518. #define Errors_Release(This)
  1519.     (This)->lpVtbl -> Release(This)
  1520. #define Errors_GetTypeInfoCount(This,pctinfo)
  1521.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1522. #define Errors_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1523.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1524. #define Errors_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1525.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1526. #define Errors_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1527.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1528. #define Errors_get_Count(This,c)
  1529.     (This)->lpVtbl -> get_Count(This,c)
  1530. #define Errors__NewEnum(This,ppvObject)
  1531.     (This)->lpVtbl -> _NewEnum(This,ppvObject)
  1532. #define Errors_Refresh(This)
  1533.     (This)->lpVtbl -> Refresh(This)
  1534. #define Errors_get_Item(This,Index,ppvObject)
  1535.     (This)->lpVtbl -> get_Item(This,Index,ppvObject)
  1536. #define Errors_Clear(This)
  1537.     (This)->lpVtbl -> Clear(This)
  1538. #endif /* COBJMACROS */
  1539. #endif  /* C style interface */
  1540. /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE Errors_get_Item_Proxy( 
  1541.     ADOErrors * This,
  1542.     /* [in] */ VARIANT Index,
  1543.     /* [retval][out] */ ADOError **ppvObject);
  1544. void __RPC_STUB Errors_get_Item_Stub(
  1545.     IRpcStubBuffer *This,
  1546.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1547.     PRPC_MESSAGE _pRpcMessage,
  1548.     DWORD *_pdwStubPhase);
  1549. /* [helpcontext] */ HRESULT STDMETHODCALLTYPE Errors_Clear_Proxy( 
  1550.     ADOErrors * This);
  1551. void __RPC_STUB Errors_Clear_Stub(
  1552.     IRpcStubBuffer *This,
  1553.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1554.     PRPC_MESSAGE _pRpcMessage,
  1555.     DWORD *_pdwStubPhase);
  1556. #endif  /* __Errors_INTERFACE_DEFINED__ */
  1557. #ifndef __Command15_INTERFACE_DEFINED__
  1558. #define __Command15_INTERFACE_DEFINED__
  1559. /* interface Command15 */
  1560. /* [object][helpcontext][uuid][hidden][nonextensible][dual] */ 
  1561. EXTERN_C const IID IID_Command15;
  1562. #if defined(__cplusplus) && !defined(CINTERFACE)
  1563.     
  1564.     MIDL_INTERFACE("00000508-0000-0010-8000-00AA006D2EA4")
  1565.     Command15 : public _ADO
  1566.     {
  1567.     public:
  1568.         virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_ActiveConnection( 
  1569.             /* [retval][out] */ _ADOConnection **ppvObject) = 0;
  1570.         
  1571.         virtual /* [helpcontext][propputref][id] */ HRESULT STDMETHODCALLTYPE putref_ActiveConnection( 
  1572.             /* [in] */ _ADOConnection *pCon) = 0;
  1573.         
  1574.         virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_ActiveConnection( 
  1575.             /* [in] */ VARIANT vConn) = 0;
  1576.         
  1577.         virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_CommandText( 
  1578.             /* [retval][out] */ BSTR *pbstr) = 0;
  1579.         
  1580.         virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_CommandText( 
  1581.             /* [in] */ BSTR bstr) = 0;
  1582.         
  1583.         virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_CommandTimeout( 
  1584.             /* [retval][out] */ LONG *pl) = 0;
  1585.         
  1586.         virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_CommandTimeout( 
  1587.             /* [in] */ LONG Timeout) = 0;
  1588.         
  1589.         virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Prepared( 
  1590.             /* [retval][out] */ VARIANT_BOOL *pfPrepared) = 0;
  1591.         
  1592.         virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_Prepared( 
  1593.             /* [in] */ VARIANT_BOOL fPrepared) = 0;
  1594.         
  1595.         virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Execute( 
  1596.             /* [optional][out] */ VARIANT *RecordsAffected,
  1597.             /* [optional][in] */ VARIANT *Parameters,
  1598.             /* [defaultvalue][in] */ long Options,
  1599.             /* [retval][out] */ _ADORecordset **ppirs) = 0;
  1600.         
  1601.         virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE CreateParameter( 
  1602.             /* [defaultvalue][in] */ BSTR Name,
  1603.             /* [defaultvalue][in] */ DataTypeEnum Type,
  1604.             /* [defaultvalue][in] */ ParameterDirectionEnum Direction,
  1605.             /* [defaultvalue][in] */ ADO_LONGPTR Size,
  1606.             /* [optional][in] */ VARIANT Value,
  1607.             /* [retval][out] */ _ADOParameter **ppiprm) = 0;
  1608.         
  1609.         virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Parameters( 
  1610.             /* [retval][out] */ ADOParameters **ppvObject) = 0;
  1611.         
  1612.         virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_CommandType( 
  1613.             /* [in] */ CommandTypeEnum lCmdType) = 0;
  1614.         
  1615.         virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_CommandType( 
  1616.             /* [retval][out] */ CommandTypeEnum *plCmdType) = 0;
  1617.         
  1618.         virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Name( 
  1619.             /* [retval][out] */ BSTR *pbstrName) = 0;
  1620.         
  1621.         virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_Name( 
  1622.             /* [in] */ BSTR bstrName) = 0;
  1623.         
  1624.     };
  1625.     
  1626. #else  /* C style interface */
  1627.     typedef struct Command15Vtbl
  1628.     {
  1629.         BEGIN_INTERFACE
  1630.         
  1631.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1632.             Command15 * This,
  1633.             /* [in] */ REFIID riid,
  1634.             /* [iid_is][out] */ void **ppvObject);
  1635.         
  1636.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1637.             Command15 * This);
  1638.         
  1639.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1640.             Command15 * This);
  1641.         
  1642.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1643.             Command15 * This,
  1644.             /* [out] */ UINT *pctinfo);
  1645.         
  1646.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1647.             Command15 * This,
  1648.             /* [in] */ UINT iTInfo,
  1649.             /* [in] */ LCID lcid,
  1650.             /* [out] */ ITypeInfo **ppTInfo);
  1651.         
  1652.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1653.             Command15 * This,
  1654.             /* [in] */ REFIID riid,
  1655.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1656.             /* [in] */ UINT cNames,
  1657.             /* [in] */ LCID lcid,
  1658.             /* [size_is][out] */ DISPID *rgDispId);
  1659.         
  1660.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1661.             Command15 * This,
  1662.             /* [in] */ DISPID dispIdMember,
  1663.             /* [in] */ REFIID riid,
  1664.             /* [in] */ LCID lcid,
  1665.             /* [in] */ WORD wFlags,
  1666.             /* [out][in] */ DISPPARAMS *pDispParams,
  1667.             /* [out] */ VARIANT *pVarResult,
  1668.             /* [out] */ EXCEPINFO *pExcepInfo,
  1669.             /* [out] */ UINT *puArgErr);
  1670.         
  1671.         /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Properties )( 
  1672.             Command15 * This,
  1673.             /* [retval][out] */ ADOProperties **ppvObject);
  1674.         
  1675.         /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ActiveConnection )( 
  1676.             Command15 * This,
  1677.             /* [retval][out] */ _ADOConnection **ppvObject);
  1678.         
  1679.         /* [helpcontext][propputref][id] */ HRESULT ( STDMETHODCALLTYPE *putref_ActiveADOConnection )( 
  1680.             Command15 * This,
  1681.             /* [in] */ _ADOConnection *pCon);
  1682.         
  1683.         /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_ActiveConnection )( 
  1684.             Command15 * This,
  1685.             /* [in] */ VARIANT vConn);
  1686.         
  1687.         /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CommandText )( 
  1688.             Command15 * This,
  1689.             /* [retval][out] */ BSTR *pbstr);
  1690.         
  1691.         /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CommandText )( 
  1692.             Command15 * This,
  1693.             /* [in] */ BSTR bstr);
  1694.         
  1695.         /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CommandTimeout )( 
  1696.             Command15 * This,
  1697.             /* [retval][out] */ LONG *pl);
  1698.         
  1699.         /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CommandTimeout )( 
  1700.             Command15 * This,
  1701.             /* [in] */ LONG Timeout);
  1702.         
  1703.         /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Prepared )( 
  1704.             Command15 * This,
  1705.             /* [retval][out] */ VARIANT_BOOL *pfPrepared);
  1706.         
  1707.         /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Prepared )( 
  1708.             Command15 * This,
  1709.             /* [in] */ VARIANT_BOOL fPrepared);
  1710.         
  1711.         /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Execute )( 
  1712.             Command15 * This,
  1713.             /* [optional][out] */ VARIANT *RecordsAffected,
  1714.             /* [optional][in] */ VARIANT *Parameters,
  1715.             /* [defaultvalue][in] */ long Options,
  1716.             /* [retval][out] */ _ADORecordset **ppirs);
  1717.         
  1718.         /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *CreateParameter )( 
  1719.             Command15 * This,
  1720.             /* [defaultvalue][in] */ BSTR Name,
  1721.             /* [defaultvalue][in] */ DataTypeEnum Type,
  1722.             /* [defaultvalue][in] */ ParameterDirectionEnum Direction,
  1723.             /* [defaultvalue][in] */ ADO_LONGPTR Size,
  1724.             /* [optional][in] */ VARIANT Value,
  1725.             /* [retval][out] */ _ADOParameter **ppiprm);
  1726.         
  1727.         /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Parameters )( 
  1728.             Command15 * This,
  1729.             /* [retval][out] */ ADOParameters **ppvObject);
  1730.         
  1731.         /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CommandType )( 
  1732.             Command15 * This,
  1733.             /* [in] */ CommandTypeEnum lCmdType);
  1734.         
  1735.         /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CommandType )( 
  1736.             Command15 * This,
  1737.             /* [retval][out] */ CommandTypeEnum *plCmdType);
  1738.         
  1739.         /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( 
  1740.             Command15 * This,
  1741.             /* [retval][out] */ BSTR *pbstrName);
  1742.         
  1743.         /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Name )( 
  1744.             Command15 * This,
  1745.             /* [in] */ BSTR bstrName);
  1746.         
  1747.         END_INTERFACE
  1748.     } Command15Vtbl;
  1749.     interface Command15
  1750.     {
  1751.         CONST_VTBL struct Command15Vtbl *lpVtbl;
  1752.     };
  1753.     
  1754. #ifdef COBJMACROS
  1755. #define Command15_QueryInterface(This,riid,ppvObject)
  1756.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1757. #define Command15_AddRef(This)
  1758.     (This)->lpVtbl -> AddRef(This)
  1759. #define Command15_Release(This)
  1760.     (This)->lpVtbl -> Release(This)
  1761. #define Command15_GetTypeInfoCount(This,pctinfo)
  1762.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1763. #define Command15_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1764.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1765. #define Command15_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1766.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1767. #define Command15_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1768.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1769. #define Command15_get_Properties(This,ppvObject)
  1770.     (This)->lpVtbl -> get_Properties(This,ppvObject)
  1771. #define Command15_get_ActiveConnection(This,ppvObject)
  1772.     (This)->lpVtbl -> get_ActiveConnection(This,ppvObject)
  1773. #define Command15_putref_ActiveConnection(This,pCon)
  1774.     (This)->lpVtbl -> putref_ActiveConnection(This,pCon)
  1775. #define Command15_put_ActiveConnection(This,vConn)
  1776.     (This)->lpVtbl -> put_ActiveConnection(This,vConn)
  1777. #define Command15_get_CommandText(This,pbstr)
  1778.     (This)->lpVtbl -> get_CommandText(This,pbstr)
  1779. #define Command15_put_CommandText(This,bstr)
  1780.     (This)->lpVtbl -> put_CommandText(This,bstr)
  1781. #define Command15_get_CommandTimeout(This,pl)
  1782.     (This)->lpVtbl -> get_CommandTimeout(This,pl)
  1783. #define Command15_put_CommandTimeout(This,Timeout)
  1784.     (This)->lpVtbl -> put_CommandTimeout(This,Timeout)
  1785. #define Command15_get_Prepared(This,pfPrepared)
  1786.     (This)->lpVtbl -> get_Prepared(This,pfPrepared)
  1787. #define Command15_put_Prepared(This,fPrepared)
  1788.     (This)->lpVtbl -> put_Prepared(This,fPrepared)
  1789. #define Command15_Execute(This,RecordsAffected,Parameters,Options,ppirs)
  1790.     (This)->lpVtbl -> Execute(This,RecordsAffected,Parameters,Options,ppirs)
  1791. #define Command15_CreateParameter(This,Name,Type,Direction,Size,Value,ppiprm)
  1792.     (This)->lpVtbl -> CreateParameter(This,Name,Type,Direction,Size,Value,ppiprm)
  1793. #define Command15_get_Parameters(This,ppvObject)
  1794.     (This)->lpVtbl -> get_Parameters(This,ppvObject)
  1795. #define Command15_put_CommandType(This,lCmdType)
  1796.     (This)->lpVtbl -> put_CommandType(This,lCmdType)
  1797. #define Command15_get_CommandType(This,plCmdType)
  1798.     (This)->lpVtbl -> get_CommandType(This,plCmdType)
  1799. #define Command15_get_Name(This,pbstrName)
  1800.     (This)->lpVtbl -> get_Name(This,pbstrName)
  1801. #define Command15_put_Name(This,bstrName)
  1802.     (This)->lpVtbl -> put_Name(This,bstrName)
  1803. #endif /* COBJMACROS */
  1804. #endif  /* C style interface */
  1805. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Command15_get_ActiveConnection_Proxy( 
  1806.     Command15 * This,
  1807.     /* [retval][out] */ _ADOConnection **ppvObject);
  1808. void __RPC_STUB Command15_get_ActiveConnection_Stub(
  1809.     IRpcStubBuffer *This,
  1810.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1811.     PRPC_MESSAGE _pRpcMessage,
  1812.     DWORD *_pdwStubPhase);
  1813. /* [helpcontext][propputref][id] */ HRESULT STDMETHODCALLTYPE Command15_putref_ActiveConnection_Proxy( 
  1814.     Command15 * This,
  1815.     /* [in] */ _ADOConnection *pCon);
  1816. void __RPC_STUB Command15_putref_ActiveConnection_Stub(
  1817.     IRpcStubBuffer *This,
  1818.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1819.     PRPC_MESSAGE _pRpcMessage,
  1820.     DWORD *_pdwStubPhase);
  1821. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Command15_put_ActiveConnection_Proxy( 
  1822.     Command15 * This,
  1823.     /* [in] */ VARIANT vConn);
  1824. void __RPC_STUB Command15_put_ActiveConnection_Stub(
  1825.     IRpcStubBuffer *This,
  1826.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1827.     PRPC_MESSAGE _pRpcMessage,
  1828.     DWORD *_pdwStubPhase);
  1829. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Command15_get_CommandText_Proxy( 
  1830.     Command15 * This,
  1831.     /* [retval][out] */ BSTR *pbstr);
  1832. void __RPC_STUB Command15_get_CommandText_Stub(
  1833.     IRpcStubBuffer *This,
  1834.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1835.     PRPC_MESSAGE _pRpcMessage,
  1836.     DWORD *_pdwStubPhase);
  1837. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Command15_put_CommandText_Proxy( 
  1838.     Command15 * This,
  1839.     /* [in] */ BSTR bstr);
  1840. void __RPC_STUB Command15_put_CommandText_Stub(
  1841.     IRpcStubBuffer *This,
  1842.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1843.     PRPC_MESSAGE _pRpcMessage,
  1844.     DWORD *_pdwStubPhase);
  1845. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Command15_get_CommandTimeout_Proxy( 
  1846.     Command15 * This,
  1847.     /* [retval][out] */ LONG *pl);
  1848. void __RPC_STUB Command15_get_CommandTimeout_Stub(
  1849.     IRpcStubBuffer *This,
  1850.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1851.     PRPC_MESSAGE _pRpcMessage,
  1852.     DWORD *_pdwStubPhase);
  1853. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Command15_put_CommandTimeout_Proxy( 
  1854.     Command15 * This,
  1855.     /* [in] */ LONG Timeout);
  1856. void __RPC_STUB Command15_put_CommandTimeout_Stub(
  1857.     IRpcStubBuffer *This,
  1858.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1859.     PRPC_MESSAGE _pRpcMessage,
  1860.     DWORD *_pdwStubPhase);
  1861. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Command15_get_Prepared_Proxy( 
  1862.     Command15 * This,
  1863.     /* [retval][out] */ VARIANT_BOOL *pfPrepared);
  1864. void __RPC_STUB Command15_get_Prepared_Stub(
  1865.     IRpcStubBuffer *This,
  1866.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1867.     PRPC_MESSAGE _pRpcMessage,
  1868.     DWORD *_pdwStubPhase);
  1869. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Command15_put_Prepared_Proxy( 
  1870.     Command15 * This,
  1871.     /* [in] */ VARIANT_BOOL fPrepared);
  1872. void __RPC_STUB Command15_put_Prepared_Stub(
  1873.     IRpcStubBuffer *This,
  1874.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1875.     PRPC_MESSAGE _pRpcMessage,
  1876.     DWORD *_pdwStubPhase);
  1877. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Command15_Execute_Proxy( 
  1878.     Command15 * This,
  1879.     /* [optional][out] */ VARIANT *RecordsAffected,
  1880.     /* [optional][in] */ VARIANT *Parameters,
  1881.     /* [defaultvalue][in] */ long Options,
  1882.     /* [retval][out] */ _ADORecordset **ppirs);
  1883. void __RPC_STUB Command15_Execute_Stub(
  1884.     IRpcStubBuffer *This,
  1885.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1886.     PRPC_MESSAGE _pRpcMessage,
  1887.     DWORD *_pdwStubPhase);
  1888. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Command15_CreateParameter_Proxy( 
  1889.     Command15 * This,
  1890.     /* [defaultvalue][in] */ BSTR Name,
  1891.     /* [defaultvalue][in] */ DataTypeEnum Type,
  1892.     /* [defaultvalue][in] */ ParameterDirectionEnum Direction,
  1893.     /* [defaultvalue][in] */ ADO_LONGPTR Size,
  1894.     /* [optional][in] */ VARIANT Value,
  1895.     /* [retval][out] */ _ADOParameter **ppiprm);
  1896. void __RPC_STUB Command15_CreateParameter_Stub(
  1897.     IRpcStubBuffer *This,
  1898.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1899.     PRPC_MESSAGE _pRpcMessage,
  1900.     DWORD *_pdwStubPhase);
  1901. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Command15_get_Parameters_Proxy( 
  1902.     Command15 * This,
  1903.     /* [retval][out] */ ADOParameters **ppvObject);
  1904. void __RPC_STUB Command15_get_Parameters_Stub(
  1905.     IRpcStubBuffer *This,
  1906.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1907.     PRPC_MESSAGE _pRpcMessage,
  1908.     DWORD *_pdwStubPhase);
  1909. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Command15_put_CommandType_Proxy( 
  1910.     Command15 * This,
  1911.     /* [in] */ CommandTypeEnum lCmdType);
  1912. void __RPC_STUB Command15_put_CommandType_Stub(
  1913.     IRpcStubBuffer *This,
  1914.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1915.     PRPC_MESSAGE _pRpcMessage,
  1916.     DWORD *_pdwStubPhase);
  1917. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Command15_get_CommandType_Proxy( 
  1918.     Command15 * This,
  1919.     /* [retval][out] */ CommandTypeEnum *plCmdType);
  1920. void __RPC_STUB Command15_get_CommandType_Stub(
  1921.     IRpcStubBuffer *This,
  1922.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1923.     PRPC_MESSAGE _pRpcMessage,
  1924.     DWORD *_pdwStubPhase);
  1925. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Command15_get_Name_Proxy( 
  1926.     Command15 * This,
  1927.     /* [retval][out] */ BSTR *pbstrName);
  1928. void __RPC_STUB Command15_get_Name_Stub(
  1929.     IRpcStubBuffer *This,
  1930.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1931.     PRPC_MESSAGE _pRpcMessage,
  1932.     DWORD *_pdwStubPhase);
  1933. /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Command15_put_Name_Proxy( 
  1934.     Command15 * This,
  1935.     /* [in] */ BSTR bstrName);
  1936. void __RPC_STUB Command15_put_Name_Stub(
  1937.     IRpcStubBuffer *This,
  1938.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1939.     PRPC_MESSAGE _pRpcMessage,
  1940.     DWORD *_pdwStubPhase);
  1941. #endif  /* __Command15_INTERFACE_DEFINED__ */
  1942. #ifndef __Command25_INTERFACE_DEFINED__
  1943. #define __Command25_INTERFACE_DEFINED__
  1944. /* interface Command25 */
  1945. /* [object][helpcontext][uuid][hidden][nonextensible][dual] */ 
  1946. EXTERN_C const IID IID_Command25;
  1947. #if defined(__cplusplus) && !defined(CINTERFACE)
  1948.     
  1949.     MIDL_INTERFACE("0000054E-0000-0010-8000-00AA006D2EA4")
  1950.     Command25 : public Command15
  1951.     {
  1952.     public:
  1953.         virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_State( 
  1954.             /* [retval][out] */ LONG *plObjState) = 0;
  1955.         
  1956.         virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Cancel( void) = 0;
  1957.         
  1958.     };
  1959.     
  1960. #else  /* C style interface */
  1961.     typedef struct Command25Vtbl
  1962.     {
  1963.         BEGIN_INTERFACE
  1964.         
  1965.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1966.             Command25 * This,
  1967.             /* [in] */ REFIID riid,
  1968.             /* [iid_is][out] */ void **ppvObject);
  1969.         
  1970.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1971.             Command25 * This);
  1972.         
  1973.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1974.             Command25 * This);
  1975.         
  1976.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1977.             Command25 * This,
  1978.             /* [out] */ UINT *pctinfo);
  1979.         
  1980.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1981.             Command25 * This,
  1982.             /* [in] */ UINT iTInfo,
  1983.             /* [in] */ LCID lcid,
  1984.             /* [out] */ ITypeInfo **ppTInfo);
  1985.         
  1986.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1987.             Command25 * This,
  1988.             /* [in] */ REFIID riid,
  1989.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1990.             /* [in] */ UINT cNames,
  1991.             /* [in] */ LCID lcid,
  1992.             /* [size_is][out] */ DISPID *rgDispId);
  1993.         
  1994.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1995.             Command25 * This,
  1996.             /* [in] */ DISPID dispIdMember,
  1997.             /* [in] */ REFIID riid,
  1998.             /* [in] */ LCID lcid,
  1999.             /* [in] */ WORD wFlags,
  2000.             /* [out][in] */ DISPPARAMS *pDispParams,
  2001.             /* [out] */ VARIANT *pVarResult,
  2002.             /* [out] */ EXCEPINFO *pExcepInfo,
  2003.             /* [out] */ UINT *puArgErr);
  2004.         
  2005.         /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Properties )( 
  2006.             Command25 * This,
  2007.             /* [retval][out] */ ADOProperties **ppvObject);
  2008.         
  2009.         /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ActiveConnection )( 
  2010.             Command25 * This,
  2011.             /* [retval][out] */ _ADOConnection **ppvObject);
  2012.         
  2013.         /* [helpcontext][propputref][id] */ HRESULT ( STDMETHODCALLTYPE *putref_ActiveADOConnection )( 
  2014.             Command25 * This,
  2015.             /* [in] */ _ADOConnection *pCon);
  2016.         
  2017.         /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_ActiveConnection )( 
  2018.             Command25 * This,
  2019.             /* [in] */ VARIANT vConn);
  2020.         
  2021.         /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CommandText )( 
  2022.             Command25 * This,
  2023.             /* [retval][out] */ BSTR *pbstr);
  2024.         
  2025.         /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CommandText )( 
  2026.             Command25 * This,
  2027.             /* [in] */ BSTR bstr);
  2028.         
  2029.         /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CommandTimeout )( 
  2030.             Command25 * This,
  2031.             /* [retval][out] */ LONG *pl);
  2032.         
  2033.         /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CommandTimeout )( 
  2034.             Command25 * This,
  2035.             /* [in] */ LONG Timeout);
  2036.         
  2037.         /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Prepared )( 
  2038.             Command25 * This,
  2039.             /* [retval][out] */ VARIANT_BOOL *pfPrepared);
  2040.         
  2041.         /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Prepared )( 
  2042.             Command25 * This,
  2043.             /* [in] */ VARIANT_BOOL fPrepared);
  2044.         
  2045.         /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Execute )( 
  2046.             Command25 * This,
  2047.             /* [optional][out] */ VARIANT *RecordsAffected,
  2048.             /* [optional][in] */ VARIANT *Parameters,
  2049.             /* [defaultvalue][in] */ long Options,
  2050.             /* [retval][out] */ _ADORecordset **ppirs);
  2051.         
  2052.         /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *CreateParameter )( 
  2053.             Command25 * This,
  2054.             /* [defaultvalue][in] */ BSTR Name,
  2055.             /* [defaultvalue][in] */ DataTypeEnum Type,
  2056.             /* [defaultvalue][in] */ ParameterDirectionEnum Direction,
  2057.             /* [defaultvalue][in] */ ADO_LONGPTR Size,
  2058.             /* [optional][in] */ VARIANT Value,
  2059.             /* [retval][out] */ _ADOParameter **ppiprm);
  2060.         
  2061.         /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Parameters )( 
  2062.             Command25 * This,
  2063.             /* [retval][out] */ ADOParameters **ppvObject);
  2064.         
  2065.         /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CommandType )( 
  2066.             Command25 * This,
  2067.             /* [in] */ CommandTypeEnum lCmdType);
  2068.         
  2069.         /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CommandType )( 
  2070.             Command25 * This,
  2071.             /* [retval][out] */ CommandTypeEnum *plCmdType);
  2072.         
  2073.         /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( 
  2074.             Command25 * This,
  2075.             /* [retval][out] */ BSTR *pbstrName);
  2076.         
  2077.         /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Name )( 
  2078.             Command25 * This,
  2079.             /* [in] */ BSTR bstrName);
  2080.         
  2081.         /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_State )( 
  2082.             Command25 * This,
  2083.             /* [retval][out] */ LONG *plObjState);
  2084.         
  2085.         /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Cancel )( 
  2086.             Command25 * This);
  2087.         
  2088.         END_INTERFACE
  2089.     } Command25Vtbl;
  2090.     interface Command25
  2091.     {
  2092.         CONST_VTBL struct Command25Vtbl *lpVtbl;
  2093.     };
  2094.     
  2095. #ifdef COBJMACROS
  2096. #define Command25_QueryInterface(This,riid,ppvObject)
  2097.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2098. #define Command25_AddRef(This)
  2099.     (This)->lpVtbl -> AddRef(This)
  2100. #define Command25_Release(This)
  2101.     (This)->lpVtbl -> Release(This)
  2102. #define Command25_GetTypeInfoCount(This,pctinfo)
  2103.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2104. #define Command25_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2105.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2106. #define Command25_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2107.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2108. #define Command25_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2109.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2110. #define Command25_get_Properties(This,ppvObject)
  2111.     (This)->lpVtbl -> get_Properties(This,ppvObject)
  2112. #define Command25_get_ActiveConnection(This,ppvObject)
  2113.     (This)->lpVtbl -> get_ActiveConnection(This,ppvObject)
  2114. #define Command25_putref_ActiveConnection(This,pCon)
  2115.     (This)->lpVtbl -> putref_ActiveConnection(This,pCon)
  2116. #define Command25_put_ActiveConnection(This,vConn)
  2117.     (This)->lpVtbl -> put_ActiveConnection(This,vConn)
  2118. #define Command25_get_CommandText(This,pbstr)
  2119.     (This)->lpVtbl -> get_CommandText(This,pbstr)
  2120. #define Command25_put_CommandText(This,bstr)
  2121.     (This)->lpVtbl -> put_CommandText(This,bstr)
  2122. #define Command25_get_CommandTimeout(This,pl)
  2123.     (This)->lpVtbl -> get_CommandTimeout(This,pl)
  2124. #define Command25_put_CommandTimeout(This,Timeout)
  2125.     (This)->lpVtbl -> put_CommandTimeout(This,Timeout)
  2126. #define Command25_get_Prepared(This,pfPrepared)
  2127.     (This)->lpVtbl -> get_Prepared(This,pfPrepared)
  2128. #define Command25_put_Prepared(This,fPrepared)
  2129.     (This)->lpVtbl -> put_Prepared(This,fPrepared)
  2130. #define Command25_Execute(This,RecordsAffected,Parameters,Options,ppirs)
  2131.     (This)->lpVtbl -> Execute(This,RecordsAffected,Parameters,Options,ppirs)
  2132. #define Command25_CreateParameter(This,Name,Type,Direction,Size,Value,ppiprm)
  2133.     (This)->lpVtbl -> CreateParameter(This,Name,Type,Direction,Size,Value,ppiprm)
  2134. #define Command25_get_Parameters(This,ppvObject)
  2135.     (This)->lpVtbl -> get_Parameters(This,ppvObject)
  2136. #define Command25_put_CommandType(This,lCmdType)
  2137.     (This)->lpVtbl -> put_CommandType(This,lCmdType)
  2138. #define Command25_get_CommandType(This,plCmdType)
  2139.     (This)->lpVtbl -> get_CommandType(This,plCmdType)
  2140. #define Command25_get_Name(This,pbstrName)
  2141.     (This)->lpVtbl -> get_Name(This,pbstrName)
  2142. #define Command25_put_Name(This,bstrName)
  2143.     (This)->lpVtbl -> put_Name(This,bstrName)
  2144. #define Command25_get_State(This,plObjState)
  2145.     (This)->lpVtbl -> get_State(This,plObjState)
  2146. #define Command25_Cancel(This)
  2147.     (This)->lpVtbl -> Cancel(This)
  2148. #endif /* COBJMACROS */
  2149. #endif  /* C style interface */
  2150. /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Command25_get_State_Proxy( 
  2151.     Command25 * This,
  2152.     /* [retval][out] */ LONG *plObjState);
  2153. void __RPC_STUB Command25_get_State_Stub(
  2154.     IRpcStubBuffer *This,
  2155.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2156.     PRPC_MESSAGE _pRpcMessage,
  2157.     DWORD *_pdwStubPhase);
  2158. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Command25_Cancel_Proxy( 
  2159.     Command25 * This);
  2160. void __RPC_STUB Command25_Cancel_Stub(
  2161.     IRpcStubBuffer *This,
  2162.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2163.     PRPC_MESSAGE _pRpcMessage,
  2164.     DWORD *_pdwStubPhase);
  2165. #endif  /* __Command25_INTERFACE_DEFINED__ */
  2166. #ifndef ___Command_INTERFACE_DEFINED__
  2167. #define ___Command_INTERFACE_DEFINED__
  2168. /* interface _ADOCommand */
  2169. /* [object][helpcontext][uuid][nonextensible][dual] */ 
  2170. EXTERN_C const IID IID__Command;
  2171. #if defined(__cplusplus) && !defined(CINTERFACE)
  2172.     
  2173.     MIDL_INTERFACE("B08400BD-F9D1-4D02-B856-71D5DBA123E9")
  2174.     _ADOCommand : public Command25
  2175.     {
  2176.     public:
  2177.         virtual /* [helpcontext][propputref][id] */ HRESULT __stdcall putref_CommandStream( 
  2178.             /* [in] */ IUnknown *pStream) = 0;
  2179.         
  2180.         virtual /* [helpcontext][propget][id] */ HRESULT __stdcall get_CommandStream( 
  2181.             /* [retval][out] */ VARIANT *pvStream) = 0;
  2182.         
  2183.         virtual /* [helpcontext][propput][id] */ HRESULT __stdcall put_Dialect( 
  2184.             /* [in] */ BSTR bstrDialect) = 0;
  2185.         
  2186.         virtual /* [helpcontext][propget][id] */ HRESULT __stdcall get_Dialect( 
  2187.             /* [retval][out] */ BSTR *pbstrDialect) = 0;
  2188.         
  2189.         virtual /* [helpcontext][propput][id] */ HRESULT __stdcall put_NamedParameters( 
  2190.             /* [in] */ VARIANT_BOOL fNamedParameters) = 0;
  2191.         
  2192.         virtual /* [helpcontext][propget][id] */ HRESULT __stdcall get_NamedParameters( 
  2193.             /* [retval][out] */ VARIANT_BOOL *pfNamedParameters) = 0;
  2194.         
  2195.     };
  2196.     
  2197. #else  /* C style interface */
  2198.     typedef struct _CommandVtbl
  2199.     {
  2200.         BEGIN_INTERFACE
  2201.         
  2202.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2203.             _ADOCommand * This,
  2204.             /* [in] */ REFIID riid,
  2205.             /* [iid_is][out] */ void **ppvObject);
  2206.         
  2207.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2208.             _ADOCommand * This);
  2209.         
  2210.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2211.             _ADOCommand * This);
  2212.         
  2213.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  2214.             _ADOCommand * This,
  2215.             /* [out] */ UINT *pctinfo);
  2216.         
  2217.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  2218.             _ADOCommand * This,
  2219.             /* [in] */ UINT iTInfo,
  2220.             /* [in] */ LCID lcid,
  2221.             /* [out] */ ITypeInfo **ppTInfo);
  2222.         
  2223.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  2224.             _ADOCommand * This,
  2225.             /* [in] */ REFIID riid,
  2226.             /* [size_is][in] */ LPOLESTR *rgszNames,
  2227.             /* [in] */ UINT cNames,
  2228.             /* [in] */ LCID lcid,
  2229.             /* [size_is][out] */ DISPID *rgDispId);
  2230.         
  2231.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  2232.             _ADOCommand * This,
  2233.             /* [in] */ DISPID dispIdMember,
  2234.             /* [in] */ REFIID riid,
  2235.             /* [in] */ LCID lcid,
  2236.             /* [in] */ WORD wFlags,
  2237.             /* [out][in] */ DISPPARAMS *pDispParams,
  2238.             /* [out] */ VARIANT *pVarResult,
  2239.             /* [out] */ EXCEPINFO *pExcepInfo,
  2240.             /* [out] */ UINT *puArgErr);
  2241.         
  2242.         /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Properties )( 
  2243.             _ADOCommand * This,
  2244.             /* [retval][out] */ ADOProperties **ppvObject);
  2245.         
  2246.         /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ActiveConnection )( 
  2247.             _ADOCommand * This,
  2248.             /* [retval][out] */ _ADOConnection **ppvObject);
  2249.         
  2250.         /* [helpcontext][propputref][id] */ HRESULT ( STDMETHODCALLTYPE *putref_ActiveADOConnection )( 
  2251.             _ADOCommand * This,
  2252.             /* [in] */ _ADOConnection *pCon);
  2253.         
  2254.         /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_ActiveConnection )( 
  2255.             _ADOCommand * This,
  2256.             /* [in] */ VARIANT vConn);
  2257.         
  2258.         /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CommandText )( 
  2259.             _ADOCommand * This,
  2260.             /* [retval][out] */ BSTR *pbstr);
  2261.         
  2262.         /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CommandText )( 
  2263.             _ADOCommand * This,
  2264.             /* [in] */ BSTR bstr);
  2265.         
  2266.         /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CommandTimeout )( 
  2267.             _ADOCommand * This,
  2268.             /* [retval][out] */ LONG *pl);
  2269.         
  2270.         /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CommandTimeout )( 
  2271.             _ADOCommand * This,
  2272.             /* [in] */ LONG Timeout);
  2273.         
  2274.         /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Prepared )( 
  2275.             _ADOCommand * This,
  2276.             /* [retval][out] */ VARIANT_BOOL *pfPrepared);
  2277.         
  2278.         /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Prepared )( 
  2279.             _ADOCommand * This,
  2280.             /* [in] */ VARIANT_BOOL fPrepared);
  2281.         
  2282.         /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Execute )( 
  2283.             _ADOCommand * This,
  2284.             /* [optional][out] */ VARIANT *RecordsAffected,
  2285.             /* [optional][in] */ VARIANT *Parameters,
  2286.             /* [defaultvalue][in] */ long Options,
  2287.             /* [retval][out] */ _ADORecordset **ppirs);
  2288.         
  2289.         /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *CreateParameter )( 
  2290.             _ADOCommand * This,
  2291.             /* [defaultvalue][in] */ BSTR Name,
  2292.             /* [defaultvalue][in] */ DataTypeEnum Type,
  2293.             /* [defaultvalue][in] */ ParameterDirectionEnum Direction,
  2294.             /* [defaultvalue][in] */ ADO_LONGPTR Size,
  2295.             /* [optional][in] */ VARIANT Value,
  2296.             /* [retval][out] */ _ADOParameter **ppiprm);
  2297.         
  2298.         /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Parameters )( 
  2299.             _ADOCommand * This,
  2300.             /* [retval][out] */ ADOParameters **ppvObject);
  2301.         
  2302.         /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CommandType )( 
  2303.             _ADOCommand * This,
  2304.             /* [in] */ CommandTypeEnum lCmdType);
  2305.         
  2306.         /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CommandType )( 
  2307.             _ADOCommand * This,
  2308.             /* [retval][out] */ CommandTypeEnum *plCmdType);
  2309.         
  2310.         /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( 
  2311.             _ADOCommand * This,
  2312.             /* [retval][out] */ BSTR *pbstrName);
  2313.         
  2314.         /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Name )( 
  2315.             _ADOCommand * This,
  2316.             /* [in] */ BSTR bstrName);
  2317.         
  2318.         /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_State )( 
  2319.             _ADOCommand * This,
  2320.             /* [retval][out] */ LONG *plObjState);
  2321.         
  2322.         /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Cancel )( 
  2323.             _ADOCommand * This);
  2324.         
  2325.         /* [helpcontext][propputref][id] */ HRESULT ( __stdcall *putref_CommandADOStream )( 
  2326.             _ADOCommand * This,
  2327.             /* [in] */ IUnknown *pStream);
  2328.         
  2329.         /* [helpcontext][propget][id] */ HRESULT ( __stdcall *get_CommandStream )( 
  2330.             _ADOCommand * This,
  2331.             /* [retval][out] */ VARIANT *pvStream);
  2332.         
  2333.         /* [helpcontext][propput][id] */ HRESULT ( __stdcall *put_Dialect )( 
  2334.             _ADOCommand * This,
  2335.             /* [in] */ BSTR bstrDialect);
  2336.         
  2337.         /* [helpcontext][propget][id] */ HRESULT ( __stdcall *get_Dialect )( 
  2338.             _ADOCommand * This,
  2339.             /* [retval][out] */ BSTR *pbstrDialect);
  2340.         
  2341.         /* [helpcontext][propput][id] */ HRESULT ( __stdcall *put_NamedParameters )( 
  2342.             _ADOCommand * This,
  2343.             /* [in] */ VARIANT_BOOL fNamedParameters);
  2344.         
  2345.         /* [helpcontext][propget][id] */ HRESULT ( __stdcall *get_NamedParameters )( 
  2346.             _ADOCommand * This,
  2347.             /* [retval][out] */ VARIANT_BOOL *pfNamedParameters);
  2348.         
  2349.         END_INTERFACE
  2350.     } _CommandVtbl;
  2351.     interface _Command
  2352.     {
  2353.         CONST_VTBL struct _CommandVtbl *lpVtbl;
  2354.     };
  2355.     
  2356. #ifdef COBJMACROS
  2357. #define _Command_QueryInterface(This,riid,ppvObject)
  2358.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2359. #define _Command_AddRef(This)
  2360.     (This)->lpVtbl -> AddRef(This)
  2361. #define _Command_Release(This)
  2362.     (This)->lpVtbl -> Release(This)
  2363. #define _Command_GetTypeInfoCount(This,pctinfo)
  2364.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2365. #define _Command_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2366.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2367. #define _Command_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2368.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2369. #define _Command_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2370.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2371. #define _Command_get_Properties(This,ppvObject)
  2372.     (This)->lpVtbl -> get_Properties(This,ppvObject)
  2373. #define _Command_get_ActiveConnection(This,ppvObject)
  2374.     (This)->lpVtbl -> get_ActiveConnection(This,ppvObject)
  2375. #define _Command_putref_ActiveConnection(This,pCon)
  2376.     (This)->lpVtbl -> putref_ActiveConnection(This,pCon)
  2377. #define _Command_put_ActiveConnection(This,vConn)
  2378.     (This)->lpVtbl -> put_ActiveConnection(This,vConn)
  2379. #define _Command_get_CommandText(This,pbstr)
  2380.     (This)->lpVtbl -> get_CommandText(This,pbstr)
  2381. #define _Command_put_CommandText(This,bstr)
  2382.     (This)->lpVtbl -> put_CommandText(This,bstr)
  2383. #define _Command_get_CommandTimeout(This,pl)
  2384.     (This)->lpVtbl -> get_CommandTimeout(This,pl)
  2385. #define _Command_put_CommandTimeout(This,Timeout)
  2386.     (This)->lpVtbl -> put_CommandTimeout(This,Timeout)
  2387. #define _Command_get_Prepared(This,pfPrepared)
  2388.     (This)->lpVtbl -> get_Prepared(This,pfPrepared)
  2389. #define _Command_put_Prepared(This,fPrepared)
  2390.     (This)->lpVtbl -> put_Prepared(This,fPrepared)
  2391. #define _Command_Execute(This,RecordsAffected,Parameters,Options,ppirs)
  2392.     (This)->lpVtbl -> Execute(This,RecordsAffected,Parameters,Options,ppirs)
  2393. #define _Command_CreateParameter(This,Name,Type,Direction,Size,Value,ppiprm)
  2394.     (This)->lpVtbl -> CreateParameter(This,Name,Type,Direction,Size,Value,ppiprm)
  2395. #define _Command_get_Parameters(This,ppvObject)
  2396.     (This)->lpVtbl -> get_Parameters(This,ppvObject)
  2397. #define _Command_put_CommandType(This,lCmdType)
  2398.     (This)->lpVtbl -> put_CommandType(This,lCmdType)
  2399. #define _Command_get_CommandType(This,plCmdType)
  2400.     (This)->lpVtbl -> get_CommandType(This,plCmdType)
  2401. #define _Command_get_Name(This,pbstrName)
  2402.     (This)->lpVtbl -> get_Name(This,pbstrName)
  2403. #define _Command_put_Name(This,bstrName)
  2404.     (This)->lpVtbl -> put_Name(This,bstrName)
  2405. #define _Command_get_State(This,plObjState)
  2406.     (This)->lpVtbl -> get_State(This,plObjState)
  2407. #define _Command_Cancel(This)
  2408.     (This)->lpVtbl -> Cancel(This)
  2409. #define _Command_putref_CommandStream(This,pStream)
  2410.     (This)->lpVtbl -> putref_CommandStream(This,pStream)
  2411. #define _Command_get_CommandStream(This,pvStream)
  2412.     (This)->lpVtbl -> get_CommandStream(This,pvStream)
  2413. #define _Command_put_Dialect(This,bstrDialect)
  2414.     (This)->lpVtbl -> put_Dialect(This,bstrDialect)
  2415. #define _Command_get_Dialect(This,pbstrDialect)
  2416.     (This)->lpVtbl -> get_Dialect(This,pbstrDialect)
  2417. #define _Command_put_NamedParameters(This,fNamedParameters)
  2418.     (This)->lpVtbl -> put_NamedParameters(This,fNamedParameters)
  2419. #define _Command_get_NamedParameters(This,pfNamedParameters)
  2420.     (This)->lpVtbl -> get_NamedParameters(This,pfNamedParameters)
  2421. #endif /* COBJMACROS */
  2422. #endif  /* C style interface */
  2423. /* [helpcontext][propputref][id] */ HRESULT __stdcall _Command_putref_CommandStream_Proxy( 
  2424.     _ADOCommand * This,
  2425.     /* [in] */ IUnknown *pStream);
  2426. void __RPC_STUB _Command_putref_CommandStream_Stub(
  2427.     IRpcStubBuffer *This,
  2428.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2429.     PRPC_MESSAGE _pRpcMessage,
  2430.     DWORD *_pdwStubPhase);
  2431. /* [helpcontext][propget][id] */ HRESULT __stdcall _Command_get_CommandStream_Proxy( 
  2432.     _ADOCommand * This,
  2433.     /* [retval][out] */ VARIANT *pvStream);
  2434. void __RPC_STUB _Command_get_CommandStream_Stub(
  2435.     IRpcStubBuffer *This,
  2436.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2437.     PRPC_MESSAGE _pRpcMessage,
  2438.     DWORD *_pdwStubPhase);
  2439. /* [helpcontext][propput][id] */ HRESULT __stdcall _Command_put_Dialect_Proxy( 
  2440.     _ADOCommand * This,
  2441.     /* [in] */ BSTR bstrDialect);
  2442. void __RPC_STUB _Command_put_Dialect_Stub(
  2443.     IRpcStubBuffer *This,
  2444.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2445.     PRPC_MESSAGE _pRpcMessage,
  2446.     DWORD *_pdwStubPhase);
  2447. /* [helpcontext][propget][id] */ HRESULT __stdcall _Command_get_Dialect_Proxy( 
  2448.     _ADOCommand * This,
  2449.     /* [retval][out] */ BSTR *pbstrDialect);
  2450. void __RPC_STUB _Command_get_Dialect_Stub(
  2451.     IRpcStubBuffer *This,
  2452.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2453.     PRPC_MESSAGE _pRpcMessage,
  2454.     DWORD *_pdwStubPhase);
  2455. /* [helpcontext][propput][id] */ HRESULT __stdcall _Command_put_NamedParameters_Proxy( 
  2456.     _ADOCommand * This,
  2457.     /* [in] */ VARIANT_BOOL fNamedParameters);
  2458. void __RPC_STUB _Command_put_NamedParameters_Stub(
  2459.     IRpcStubBuffer *This,
  2460.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2461.     PRPC_MESSAGE _pRpcMessage,
  2462.     DWORD *_pdwStubPhase);
  2463. /* [helpcontext][propget][id] */ HRESULT __stdcall _Command_get_NamedParameters_Proxy( 
  2464.     _ADOCommand * This,
  2465.     /* [retval][out] */ VARIANT_BOOL *pfNamedParameters);
  2466. void __RPC_STUB _Command_get_NamedParameters_Stub(
  2467.     IRpcStubBuffer *This,
  2468.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2469.     PRPC_MESSAGE _pRpcMessage,
  2470.     DWORD *_pdwStubPhase);
  2471. #endif  /* ___Command_INTERFACE_DEFINED__ */
  2472. #ifndef __ConnectionEventsVt_INTERFACE_DEFINED__
  2473. #define __ConnectionEventsVt_INTERFACE_DEFINED__
  2474. /* interface ConnectionEventsVt */
  2475. /* [object][uuid][hidden] */ 
  2476. EXTERN_C const IID IID_ConnectionEventsVt;
  2477. #if defined(__cplusplus) && !defined(CINTERFACE)
  2478.     
  2479.     MIDL_INTERFACE("00000402-0000-0010-8000-00AA006D2EA4")
  2480.     ConnectionEventsVt : public IUnknown
  2481.     {
  2482.     public:
  2483.         virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE InfoMessage( 
  2484.             /* [in] */ ADOError *pError,
  2485.             /* [out][in] */ EventStatusEnum *adStatus,
  2486.             /* [in] */ _ADOConnection *pConnection) = 0;
  2487.         
  2488.         virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE BeginTransComplete( 
  2489.             /* [in] */ LONG TransactionLevel,
  2490.             /* [in] */ ADOError *pError,
  2491.             /* [out][in] */ EventStatusEnum *adStatus,
  2492.             /* [in] */ _ADOConnection *pConnection) = 0;
  2493.         
  2494.         virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE CommitTransComplete( 
  2495.             /* [in] */ ADOError *pError,
  2496.             /* [out][in] */ EventStatusEnum *adStatus,
  2497.             /* [in] */ _ADOConnection *pConnection) = 0;
  2498.         
  2499.         virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE RollbackTransComplete( 
  2500.             /* [in] */ ADOError *pError,
  2501.             /* [out][in] */ EventStatusEnum *adStatus,
  2502.             /* [in] */ _ADOConnection *pConnection) = 0;
  2503.         
  2504.         virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE WillExecute( 
  2505.             /* [out][in] */ BSTR *Source,
  2506.             /* [out][in] */ CursorTypeEnum *CursorType,
  2507.             /* [out][in] */ LockTypeEnum *LockType,
  2508.             /* [out][in] */ long *Options,
  2509.             /* [out][in] */ EventStatusEnum *adStatus,
  2510.             /* [in] */ _ADOCommand *pCommand,
  2511.             /* [in] */ _ADORecordset *pRecordset,
  2512.             /* [in] */ _ADOConnection *pConnection) = 0;
  2513.         
  2514.         virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE ExecuteComplete( 
  2515.             /* [in] */ LONG RecordsAffected,
  2516.             /* [in] */ ADOError *pError,
  2517.             /* [out][in] */ EventStatusEnum *adStatus,
  2518.             /* [in] */ _ADOCommand *pCommand,
  2519.             /* [in] */ _ADORecordset *pRecordset,
  2520.             /* [in] */ _ADOConnection *pConnection) = 0;
  2521.         
  2522.         virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE WillConnect( 
  2523.             /* [out][in] */ BSTR *ConnectionString,
  2524.             /* [out][in] */ BSTR *UserID,
  2525.             /* [out][in] */ BSTR *Password,
  2526.             /* [out][in] */ long *Options,
  2527.             /* [out][in] */ EventStatusEnum *adStatus,
  2528.             /* [in] */ _ADOConnection *pConnection) = 0;
  2529.         
  2530.         virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE ConnectComplete( 
  2531.             /* [in] */ ADOError *pError,
  2532.             /* [out][in] */ EventStatusEnum *adStatus,
  2533.             /* [in] */ _ADOConnection *pConnection) = 0;
  2534.         
  2535.         virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Disconnect( 
  2536.             /* [out][in] */ EventStatusEnum *adStatus,
  2537.             /* [in] */ _ADOConnection *pConnection) = 0;
  2538.         
  2539.     };
  2540.     
  2541. #else  /* C style interface */
  2542.     typedef struct ConnectionEventsVtVtbl
  2543.     {
  2544.         BEGIN_INTERFACE
  2545.         
  2546.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2547.             ConnectionEventsVt * This,
  2548.             /* [in] */ REFIID riid,
  2549.             /* [iid_is][out] */ void **ppvObject);
  2550.         
  2551.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2552.             ConnectionEventsVt * This);
  2553.         
  2554.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2555.             ConnectionEventsVt * This);
  2556.         
  2557.         /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *InfoMessage )( 
  2558.             ConnectionEventsVt * This,
  2559.             /* [in] */ ADOError *pError,
  2560.             /* [out][in] */ EventStatusEnum *adStatus,
  2561.             /* [in] */ _ADOConnection *pConnection);
  2562.         
  2563.         /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *BeginTransComplete )( 
  2564.             ConnectionEventsVt * This,
  2565.             /* [in] */ LONG TransactionLevel,
  2566.             /* [in] */ ADOError *pError,
  2567.             /* [out][in] */ EventStatusEnum *adStatus,
  2568.             /* [in] */ _ADOConnection *pConnection);
  2569.         
  2570.         /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *CommitTransComplete )( 
  2571.             ConnectionEventsVt * This,
  2572.             /* [in] */ ADOError *pError,
  2573.             /* [out][in] */ EventStatusEnum *adStatus,
  2574.             /* [in] */ _ADOConnection *pConnection);
  2575.         
  2576.         /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *RollbackTransComplete )( 
  2577.             ConnectionEventsVt * This,
  2578.             /* [in] */ ADOError *pError,
  2579.             /* [out][in] */ EventStatusEnum *adStatus,
  2580.             /* [in] */ _ADOConnection *pConnection);
  2581.         
  2582.         /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *WillExecute )( 
  2583.             ConnectionEventsVt * This,
  2584.             /* [out][in] */ BSTR *Source,
  2585.             /* [out][in] */ CursorTypeEnum *CursorType,
  2586.             /* [out][in] */ LockTypeEnum *LockType,
  2587.             /* [out][in] */ long *Options,
  2588.             /* [out][in] */ EventStatusEnum *adStatus,
  2589.             /* [in] */ _ADOCommand *pCommand,
  2590.             /* [in] */ _ADORecordset *pRecordset,
  2591.             /* [in] */ _ADOConnection *pConnection);
  2592.         
  2593.         /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *ExecuteComplete )( 
  2594.             ConnectionEventsVt * This,
  2595.             /* [in] */ LONG RecordsAffected,
  2596.             /* [in] */ ADOError *pError,
  2597.             /* [out][in] */ EventStatusEnum *adStatus,
  2598.             /* [in] */ _ADOCommand *pCommand,
  2599.             /* [in] */ _ADORecordset *pRecordset,
  2600.             /* [in] */ _ADOConnection *pConnection);
  2601.         
  2602.         /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *WillConnect )( 
  2603.             ConnectionEventsVt * This,
  2604.             /* [out][in] */ BSTR *ConnectionString,
  2605.             /* [out][in] */ BSTR *UserID,
  2606.             /* [out][in] */ BSTR *Password,
  2607.             /* [out][in] */ long *Options,
  2608.             /* [out][in] */ EventStatusEnum *adStatus,
  2609.             /* [in] */ _ADOConnection *pConnection);
  2610.         
  2611.         /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *ConnectComplete )( 
  2612.             ConnectionEventsVt * This,
  2613.             /* [in] */ ADOError *pError,
  2614.             /* [out][in] */ EventStatusEnum *adStatus,
  2615.             /* [in] */ _ADOConnection *pConnection);
  2616.         
  2617.         /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Disconnect )( 
  2618.             ConnectionEventsVt * This,
  2619.             /* [out][in] */ EventStatusEnum *adStatus,
  2620.             /* [in] */ _ADOConnection *pConnection);
  2621.         
  2622.         END_INTERFACE
  2623.     } ConnectionEventsVtVtbl;
  2624.     interface ConnectionEventsVt
  2625.     {
  2626.         CONST_VTBL struct ConnectionEventsVtVtbl *lpVtbl;
  2627.     };
  2628.     
  2629. #ifdef COBJMACROS
  2630. #define ConnectionEventsVt_QueryInterface(This,riid,ppvObject)
  2631.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2632. #define ConnectionEventsVt_AddRef(This)
  2633.     (This)->lpVtbl -> AddRef(This)
  2634. #define ConnectionEventsVt_Release(This)
  2635.     (This)->lpVtbl -> Release(This)
  2636. #define ConnectionEventsVt_InfoMessage(This,pError,adStatus,pConnection)
  2637.     (This)->lpVtbl -> InfoMessage(This,pError,adStatus,pConnection)
  2638. #define ConnectionEventsVt_BeginTransComplete(This,TransactionLevel,pError,adStatus,pConnection)
  2639.     (This)->lpVtbl -> BeginTransComplete(This,TransactionLevel,pError,adStatus,pConnection)
  2640. #define ConnectionEventsVt_CommitTransComplete(This,pError,adStatus,pConnection)
  2641.     (This)->lpVtbl -> CommitTransComplete(This,pError,adStatus,pConnection)
  2642. #define ConnectionEventsVt_RollbackTransComplete(This,pError,adStatus,pConnection)
  2643.     (This)->lpVtbl -> RollbackTransComplete(This,pError,adStatus,pConnection)
  2644. #define ConnectionEventsVt_WillExecute(This,Source,CursorType,LockType,Options,adStatus,pCommand,pRecordset,pConnection)
  2645.     (This)->lpVtbl -> WillExecute(This,Source,CursorType,LockType,Options,adStatus,pCommand,pRecordset,pConnection)
  2646. #define ConnectionEventsVt_ExecuteComplete(This,RecordsAffected,pError,adStatus,pCommand,pRecordset,pConnection)
  2647.     (This)->lpVtbl -> ExecuteComplete(This,RecordsAffected,pError,adStatus,pCommand,pRecordset,pConnection)
  2648. #define ConnectionEventsVt_WillConnect(This,ConnectionString,UserID,Password,Options,adStatus,pConnection)
  2649.     (This)->lpVtbl -> WillConnect(This,ConnectionString,UserID,Password,Options,adStatus,pConnection)
  2650. #define ConnectionEventsVt_ConnectComplete(This,pError,adStatus,pConnection)
  2651.     (This)->lpVtbl -> ConnectComplete(This,pError,adStatus,pConnection)
  2652. #define ConnectionEventsVt_Disconnect(This,adStatus,pConnection)
  2653.     (This)->lpVtbl -> Disconnect(This,adStatus,pConnection)
  2654. #endif /* COBJMACROS */
  2655. #endif  /* C style interface */
  2656. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE ConnectionEventsVt_InfoMessage_Proxy( 
  2657.     ConnectionEventsVt * This,
  2658.     /* [in] */ ADOError *pError,
  2659.     /* [out][in] */ EventStatusEnum *adStatus,
  2660.     /* [in] */ _ADOConnection *pConnection);
  2661. void __RPC_STUB ConnectionEventsVt_InfoMessage_Stub(
  2662.     IRpcStubBuffer *This,
  2663.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2664.     PRPC_MESSAGE _pRpcMessage,
  2665.     DWORD *_pdwStubPhase);
  2666. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE ConnectionEventsVt_BeginTransComplete_Proxy( 
  2667.     ConnectionEventsVt * This,
  2668.     /* [in] */ LONG TransactionLevel,
  2669.     /* [in] */ ADOError *pError,
  2670.     /* [out][in] */ EventStatusEnum *adStatus,
  2671.     /* [in] */ _ADOConnection *pConnection);
  2672. void __RPC_STUB ConnectionEventsVt_BeginTransComplete_Stub(
  2673.     IRpcStubBuffer *This,
  2674.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2675.     PRPC_MESSAGE _pRpcMessage,
  2676.     DWORD *_pdwStubPhase);
  2677. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE ConnectionEventsVt_CommitTransComplete_Proxy( 
  2678.     ConnectionEventsVt * This,
  2679.     /* [in] */ ADOError *pError,
  2680.     /* [out][in] */ EventStatusEnum *adStatus,
  2681.     /* [in] */ _ADOConnection *pConnection);
  2682. void __RPC_STUB ConnectionEventsVt_CommitTransComplete_Stub(
  2683.     IRpcStubBuffer *This,
  2684.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2685.     PRPC_MESSAGE _pRpcMessage,
  2686.     DWORD *_pdwStubPhase);
  2687. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE ConnectionEventsVt_RollbackTransComplete_Proxy( 
  2688.     ConnectionEventsVt * This,
  2689.     /* [in] */ ADOError *pError,
  2690.     /* [out][in] */ EventStatusEnum *adStatus,
  2691.     /* [in] */ _ADOConnection *pConnection);
  2692. void __RPC_STUB ConnectionEventsVt_RollbackTransComplete_Stub(
  2693.     IRpcStubBuffer *This,
  2694.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2695.     PRPC_MESSAGE _pRpcMessage,
  2696.     DWORD *_pdwStubPhase);
  2697. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE ConnectionEventsVt_WillExecute_Proxy( 
  2698.     ConnectionEventsVt * This,
  2699.     /* [out][in] */ BSTR *Source,
  2700.     /* [out][in] */ CursorTypeEnum *CursorType,
  2701.     /* [out][in] */ LockTypeEnum *LockType,
  2702.     /* [out][in] */ long *Options,
  2703.     /* [out][in] */ EventStatusEnum *adStatus,
  2704.     /* [in] */ _ADOCommand *pCommand,
  2705.     /* [in] */ _ADORecordset *pRecordset,
  2706.     /* [in] */ _ADOConnection *pConnection);
  2707. void __RPC_STUB ConnectionEventsVt_WillExecute_Stub(
  2708.     IRpcStubBuffer *This,
  2709.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2710.     PRPC_MESSAGE _pRpcMessage,
  2711.     DWORD *_pdwStubPhase);
  2712. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE ConnectionEventsVt_ExecuteComplete_Proxy( 
  2713.     ConnectionEventsVt * This,
  2714.     /* [in] */ LONG RecordsAffected,
  2715.     /* [in] */ ADOError *pError,
  2716.     /* [out][in] */ EventStatusEnum *adStatus,
  2717.     /* [in] */ _ADOCommand *pCommand,
  2718.     /* [in] */ _ADORecordset *pRecordset,
  2719.     /* [in] */ _ADOConnection *pConnection);
  2720. void __RPC_STUB ConnectionEventsVt_ExecuteComplete_Stub(
  2721.     IRpcStubBuffer *This,
  2722.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2723.     PRPC_MESSAGE _pRpcMessage,
  2724.     DWORD *_pdwStubPhase);
  2725. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE ConnectionEventsVt_WillConnect_Proxy( 
  2726.     ConnectionEventsVt * This,
  2727.     /* [out][in] */ BSTR *ConnectionString,
  2728.     /* [out][in] */ BSTR *UserID,
  2729.     /* [out][in] */ BSTR *Password,
  2730.     /* [out][in] */ long *Options,
  2731.     /* [out][in] */ EventStatusEnum *adStatus,
  2732.     /* [in] */ _ADOConnection *pConnection);
  2733. void __RPC_STUB ConnectionEventsVt_WillConnect_Stub(
  2734.     IRpcStubBuffer *This,
  2735.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2736.     PRPC_MESSAGE _pRpcMessage,
  2737.     DWORD *_pdwStubPhase);
  2738. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE ConnectionEventsVt_ConnectComplete_Proxy( 
  2739.     ConnectionEventsVt * This,
  2740.     /* [in] */ ADOError *pError,
  2741.     /* [out][in] */ EventStatusEnum *adStatus,
  2742.     /* [in] */ _ADOConnection *pConnection);
  2743. void __RPC_STUB ConnectionEventsVt_ConnectComplete_Stub(
  2744.     IRpcStubBuffer *This,
  2745.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2746.     PRPC_MESSAGE _pRpcMessage,
  2747.     DWORD *_pdwStubPhase);
  2748. /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE ConnectionEventsVt_Disconnect_Proxy( 
  2749.     ConnectionEventsVt * This,
  2750.     /* [out][in] */ EventStatusEnum *adStatus,
  2751.     /* [in] */ _ADOConnection *pConnection);
  2752. void __RPC_STUB ConnectionEventsVt_Disconnect_Stub(
  2753.     IRpcStubBuffer *This,
  2754.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2755.     PRPC_MESSAGE _pRpcMessage,
  2756.     DWORD *_pdwStubPhase);
  2757. #endif  /* __ConnectionEventsVt_INTERFACE_DEFINED__ */
  2758. #ifndef __RecordsetEventsVt_INTERFACE_DEFINED__
  2759. #define __RecordsetEventsVt_INTERFACE_DEFINED__
  2760. /* interface RecordsetEventsVt */
  2761. /* [object][uuid][hidden] */ 
  2762. EXTERN_C const IID IID_RecordsetEventsVt;
  2763. #if defined(__cplusplus) && !defined(CINTERFACE)
  2764.     
  2765.     MIDL_INTERFACE("00000403-0000-0010-8000-00AA006D2EA4")
  2766.     RecordsetEventsVt : public IUnknown
  2767.     {
  2768.     public:
  2769.         virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE WillChangeField( 
  2770.             /* [in] */ LONG cFields,
  2771.             /* [in] */ VARIANT Fields,
  2772.             /* [out][in] */ EventStatusEnum *adStatus,
  2773.             /* [in] */ _ADORecordset *pRecordset) = 0;
  2774.         
  2775.         virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE FieldChangeComplete( 
  2776.             /* [in] */ LONG cFields,
  2777.             /* [in] */ VARIANT Fields,
  2778.             /* [in] */ ADOError *pError,
  2779.             /* [out][in] */ EventStatusEnum *adStatus,