Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

4857 lines
204 KiB

  1. //--------------------------------------------------------------------
  2. // Microsoft ADO
  3. //
  4. // (c) 1996 Microsoft Corporation. All Rights Reserved.
  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. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  23. /* File created by MIDL compiler version 3.01.75 */
  24. /* at Thu Dec 04 08:00:50 1997
  25. */
  26. /* Compiler settings for m_bobj.odl:
  27. Os (OptLev=s), W4, Zp8, env=Win32, ms_ext, c_ext
  28. error checks: none
  29. */
  30. //@@MIDL_FILE_HEADING( )
  31. #include "rpc.h"
  32. #include "rpcndr.h"
  33. #ifndef __m_bobj_h__
  34. #define __m_bobj_h__
  35. #ifdef __cplusplus
  36. extern "C"{
  37. #endif
  38. /* Forward Declarations */
  39. #ifndef ___ADOCollection_FWD_DEFINED__
  40. #define ___ADOCollection_FWD_DEFINED__
  41. typedef interface _ADOCollection _ADOCollection;
  42. #endif /* ___ADOCollection_FWD_DEFINED__ */
  43. #ifndef ___ADODynaCollection_FWD_DEFINED__
  44. #define ___ADODynaCollection_FWD_DEFINED__
  45. typedef interface _ADODynaCollection _ADODynaCollection;
  46. #endif /* ___ADODynaCollection_FWD_DEFINED__ */
  47. #ifndef ___ADO_FWD_DEFINED__
  48. #define ___ADO_FWD_DEFINED__
  49. typedef interface _ADO _ADO;
  50. #endif /* ___ADO_FWD_DEFINED__ */
  51. #ifndef __Error_FWD_DEFINED__
  52. #define __Error_FWD_DEFINED__
  53. typedef interface ADOError Error;
  54. #endif /* __Error_FWD_DEFINED__ */
  55. #ifndef __Errors_FWD_DEFINED__
  56. #define __Errors_FWD_DEFINED__
  57. typedef interface ADOErrors Errors;
  58. #endif /* __Errors_FWD_DEFINED__ */
  59. #ifndef ___Command_FWD_DEFINED__
  60. #define ___Command_FWD_DEFINED__
  61. typedef interface _ADOCommand _Command;
  62. #endif /* ___Command_FWD_DEFINED__ */
  63. #ifndef ___Connection_FWD_DEFINED__
  64. #define ___Connection_FWD_DEFINED__
  65. typedef interface _ADOConnection _Connection;
  66. #endif /* ___Connection_FWD_DEFINED__ */
  67. #ifndef __ADOConnectionConstruction_FWD_DEFINED__
  68. #define __ADOConnectionConstruction_FWD_DEFINED__
  69. typedef interface ADOConnectionConstruction ADOConnectionConstruction;
  70. #endif /* __ADOConnectionConstruction_FWD_DEFINED__ */
  71. #ifndef __Connection_FWD_DEFINED__
  72. #define __Connection_FWD_DEFINED__
  73. #ifdef __cplusplus
  74. typedef class ADOConnection Connection;
  75. #else
  76. typedef struct ADOConnection Connection;
  77. #endif /* __cplusplus */
  78. #endif /* __Connection_FWD_DEFINED__ */
  79. #ifndef __Command_FWD_DEFINED__
  80. #define __Command_FWD_DEFINED__
  81. #ifdef __cplusplus
  82. typedef class ADOCommand Command;
  83. #else
  84. typedef struct ADOCommand Command;
  85. #endif /* __cplusplus */
  86. #endif /* __Command_FWD_DEFINED__ */
  87. #ifndef ___Recordset_FWD_DEFINED__
  88. #define ___Recordset_FWD_DEFINED__
  89. typedef interface _ADORecordset _Recordset;
  90. #endif /* ___Recordset_FWD_DEFINED__ */
  91. #ifndef __Recordset_FWD_DEFINED__
  92. #define __Recordset_FWD_DEFINED__
  93. #ifdef __cplusplus
  94. typedef class ADORecordset Recordset;
  95. #else
  96. typedef struct ADORecordset Recordset;
  97. #endif /* __cplusplus */
  98. #endif /* __Recordset_FWD_DEFINED__ */
  99. #ifndef __ADORecordsetConstruction_FWD_DEFINED__
  100. #define __ADORecordsetConstruction_FWD_DEFINED__
  101. typedef interface ADORecordsetConstruction ADORecordsetConstruction;
  102. #endif /* __ADORecordsetConstruction_FWD_DEFINED__ */
  103. #ifndef __Field_FWD_DEFINED__
  104. #define __Field_FWD_DEFINED__
  105. typedef interface ADOField Field;
  106. #endif /* __Field_FWD_DEFINED__ */
  107. #ifndef __Fields_FWD_DEFINED__
  108. #define __Fields_FWD_DEFINED__
  109. typedef interface ADOFields Fields;
  110. #endif /* __Fields_FWD_DEFINED__ */
  111. #ifndef ___Parameter_FWD_DEFINED__
  112. #define ___Parameter_FWD_DEFINED__
  113. typedef interface _ADOParameter _Parameter;
  114. #endif /* ___Parameter_FWD_DEFINED__ */
  115. #ifndef __Parameter_FWD_DEFINED__
  116. #define __Parameter_FWD_DEFINED__
  117. #ifdef __cplusplus
  118. typedef class ADOParameter Parameter;
  119. #else
  120. typedef struct ADOParameter Parameter;
  121. #endif /* __cplusplus */
  122. #endif /* __Parameter_FWD_DEFINED__ */
  123. #ifndef __Parameters_FWD_DEFINED__
  124. #define __Parameters_FWD_DEFINED__
  125. typedef interface ADOParameters Parameters;
  126. #endif /* __Parameters_FWD_DEFINED__ */
  127. #ifndef __Property_FWD_DEFINED__
  128. #define __Property_FWD_DEFINED__
  129. typedef interface ADOProperty Property;
  130. #endif /* __Property_FWD_DEFINED__ */
  131. #ifndef __Properties_FWD_DEFINED__
  132. #define __Properties_FWD_DEFINED__
  133. typedef interface ADOProperties Properties;
  134. #endif /* __Properties_FWD_DEFINED__ */
  135. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  136. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  137. /****************************************
  138. * Generated header for interface: __MIDL_itf_m_bobj_0000
  139. * at Thu Dec 04 08:00:50 1997
  140. * using MIDL 3.01.75
  141. ****************************************/
  142. /* [local] */
  143. extern RPC_IF_HANDLE __MIDL_itf_m_bobj_0000_v0_0_c_ifspec;
  144. extern RPC_IF_HANDLE __MIDL_itf_m_bobj_0000_v0_0_s_ifspec;
  145. #ifndef __ADODB_LIBRARY_DEFINED__
  146. #define __ADODB_LIBRARY_DEFINED__
  147. /****************************************
  148. * Generated header for library: ADODB
  149. * at Thu Dec 04 08:00:50 1997
  150. * using MIDL 3.01.75
  151. ****************************************/
  152. /* [helpstring][helpcontext][version][helpfile][uuid] */
  153. typedef /* [uuid][public] */
  154. enum CursorTypeEnum
  155. { adOpenUnspecified = -1,
  156. adOpenForwardOnly = 0,
  157. adOpenKeyset = 1,
  158. adOpenDynamic = 2,
  159. adOpenStatic = 3
  160. } CursorTypeEnum;
  161. typedef /* [uuid] */
  162. enum CursorOptionEnum
  163. { adHoldRecords = 0x100,
  164. adMovePrevious = 0x200,
  165. adAddNew = 0x1000400,
  166. adDelete = 0x1000800,
  167. adUpdate = 0x1008000,
  168. adBookmark = 0x2000,
  169. adApproxPosition = 0x4000,
  170. adUpdateBatch = 0x10000,
  171. adResync = 0x20000
  172. } CursorOptionEnum;
  173. typedef /* [uuid] */
  174. enum LockTypeEnum
  175. { adLockUnspecified = -1,
  176. adLockReadOnly = 1,
  177. adLockPessimistic = 2,
  178. adLockOptimistic = 3,
  179. adLockBatchOptimistic = 4
  180. } LockTypeEnum;
  181. typedef /* [hidden][uuid] */
  182. enum ExecuteOptionEnum
  183. { adOptionUnspecified = -1
  184. } ExecuteOptionEnum;
  185. typedef /* [uuid] */
  186. enum ObjectStateEnum
  187. { adStateClosed = 0,
  188. adStateOpen = 0x1
  189. } ObjectStateEnum;
  190. typedef /* [uuid] */
  191. enum CursorLocationEnum
  192. { adUseNone = 1,
  193. adUseServer = 2,
  194. adUseClient = 3,
  195. adUseClientBatch = 3
  196. } CursorLocationEnum;
  197. typedef /* [uuid] */
  198. enum DataTypeEnum
  199. { adEmpty = 0,
  200. adTinyInt = 16,
  201. adSmallInt = 2,
  202. adInteger = 3,
  203. adBigInt = 20,
  204. adUnsignedTinyInt = 17,
  205. adUnsignedSmallInt = 18,
  206. adUnsignedInt = 19,
  207. adUnsignedBigInt = 21,
  208. adSingle = 4,
  209. adDouble = 5,
  210. adCurrency = 6,
  211. adDecimal = 14,
  212. adNumeric = 131,
  213. adBoolean = 11,
  214. adError = 10,
  215. adUserDefined = 132,
  216. adVariant = 12,
  217. adIDispatch = 9,
  218. adIUnknown = 13,
  219. adGUID = 72,
  220. adDate = 7,
  221. adDBDate = 133,
  222. adDBTime = 134,
  223. adDBTimeStamp = 135,
  224. adBSTR = 8,
  225. adChar = 129,
  226. adVarChar = 200,
  227. adLongVarChar = 201,
  228. adWChar = 130,
  229. adVarWChar = 202,
  230. adLongVarWChar = 203,
  231. adBinary = 128,
  232. adVarBinary = 204,
  233. adLongVarBinary = 205
  234. } DataTypeEnum;
  235. typedef /* [uuid] */
  236. enum FieldAttributeEnum
  237. { adFldMayDefer = 0x2,
  238. adFldUpdatable = 0x4,
  239. adFldUnknownUpdatable = 0x8,
  240. adFldFixed = 0x10,
  241. adFldIsNullable = 0x20,
  242. adFldMayBeNull = 0x40,
  243. adFldLong = 0x80,
  244. adFldRowID = 0x100,
  245. adFldRowVersion = 0x200,
  246. adFldCacheDeferred = 0x1000
  247. } FieldAttributeEnum;
  248. typedef /* [uuid] */
  249. enum EditModeEnum
  250. { adEditNone = 0,
  251. adEditInProgress = 0x1,
  252. adEditAdd = 0x2,
  253. adEditDelete = 0x4
  254. } EditModeEnum;
  255. typedef /* [uuid] */
  256. enum RecordStatusEnum
  257. { adRecOK = 0,
  258. adRecNew = 0x1,
  259. adRecModified = 0x2,
  260. adRecDeleted = 0x4,
  261. adRecUnmodified = 0x8,
  262. adRecInvalid = 0x10,
  263. adRecMultipleChanges = 0x40,
  264. adRecPendingChanges = 0x80,
  265. adRecCanceled = 0x100,
  266. adRecCantRelease = 0x400,
  267. adRecConcurrencyViolation = 0x800,
  268. adRecIntegrityViolation = 0x1000,
  269. adRecMaxChangesExceeded = 0x2000,
  270. adRecObjectOpen = 0x4000,
  271. adRecOutOfMemory = 0x8000,
  272. adRecPermissionDenied = 0x10000,
  273. adRecSchemaViolation = 0x20000,
  274. adRecDBDeleted = 0x40000
  275. } RecordStatusEnum;
  276. typedef
  277. enum GetRowsOptionEnum
  278. { adGetRowsRest = -1
  279. } GetRowsOptionEnum;
  280. typedef /* [uuid] */
  281. enum PositionEnum
  282. { adPosUnknown = -1,
  283. adPosBOF = -2,
  284. adPosEOF = -3
  285. } PositionEnum;
  286. typedef
  287. enum BookmarkEnum
  288. { adBookmarkCurrent = 0,
  289. adBookmarkFirst = 1,
  290. adBookmarkLast = 2
  291. } BookmarkEnum;
  292. typedef /* [uuid] */
  293. enum MarshalOptionsEnum
  294. { adMarshalAll = 0,
  295. adMarshalModifiedOnly = 1
  296. } MarshalOptionsEnum;
  297. typedef
  298. enum AffectEnum
  299. { adAffectCurrent = 1,
  300. adAffectGroup = 2,
  301. adAffectAll = 3
  302. } AffectEnum;
  303. typedef
  304. enum FilterGroupEnum
  305. { adFilterNone = 0,
  306. adFilterPendingRecords = 1,
  307. adFilterAffectedRecords = 2,
  308. adFilterFetchedRecords = 3,
  309. adFilterPredicate = 4
  310. } FilterGroupEnum;
  311. typedef /* [hidden] */
  312. enum SearchDirection
  313. { adSearchForward = 1,
  314. adSearchBackward = -1
  315. } SearchDirectionEnum;
  316. typedef /* [uuid] */
  317. enum ConnectPromptEnum
  318. { adPromptAlways = 1,
  319. adPromptComplete = 2,
  320. adPromptCompleteRequired = 3,
  321. adPromptNever = 4
  322. } ConnectPromptEnum;
  323. typedef /* [uuid] */
  324. enum ConnectModeEnum
  325. { adModeUnknown = 0,
  326. adModeRead = 1,
  327. adModeWrite = 2,
  328. adModeReadWrite = 3,
  329. adModeShareDenyRead = 4,
  330. adModeShareDenyWrite = 8,
  331. adModeShareExclusive = 0xc,
  332. adModeShareDenyNone = 0x10
  333. } ConnectModeEnum;
  334. typedef /* [uuid] */
  335. enum IsolationLevelEnum
  336. { adXactUnspecified = 0xffffffff,
  337. adXactChaos = 0x10,
  338. adXactReadUncommitted = 0x100,
  339. adXactBrowse = 0x100,
  340. adXactCursorStability = 0x1000,
  341. adXactReadCommitted = 0x1000,
  342. adXactRepeatableRead = 0x10000,
  343. adXactSerializable = 0x100000,
  344. adXactIsolated = 0x100000
  345. } IsolationLevelEnum;
  346. typedef /* [uuid] */
  347. enum XactAttributeEnum
  348. { adXactCommitRetaining = 0x20000,
  349. adXactAbortRetaining = 0x40000
  350. } XactAttributeEnum;
  351. typedef /* [uuid] */
  352. enum PropertyAttributesEnum
  353. { adPropNotSupported = 0,
  354. adPropRequired = 0x1,
  355. adPropOptional = 0x2,
  356. adPropRead = 0x200,
  357. adPropWrite = 0x400
  358. } PropertyAttributesEnum;
  359. typedef /* [uuid] */
  360. enum ErrorValueEnum
  361. { adErrInvalidArgument = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xbb9),
  362. adErrNoCurrentRecord = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xbcd),
  363. adErrIllegalOperation = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xc93),
  364. adErrInTransaction = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xcae),
  365. adErrFeatureNotAvailable = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xcb3),
  366. adErrItemNotFound = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xcc1),
  367. adErrObjectInADOCollection = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xd27),
  368. adErrObjectNotSet = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xd5c),
  369. adErrDataConversion = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xd5d),
  370. adErrObjectClosed = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe78),
  371. adErrObjectOpen = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe79),
  372. adErrProviderNotFound = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe7a),
  373. adErrBoundToCommand = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe7b),
  374. adErrInvalidParamInfo = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe7c),
  375. adErrInvalidConnection = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe7d),
  376. } ErrorValueEnum;
  377. typedef /* [uuid] */
  378. enum ParameterAttributesEnum
  379. { adParamSigned = 0x10,
  380. adParamNullable = 0x40,
  381. adParamLong = 0x80
  382. } ParameterAttributesEnum;
  383. typedef /* [uuid] */
  384. enum ParameterDirectionEnum
  385. { adParamUnknown = 0,
  386. adParamInput = 0x1,
  387. adParamOutput = 0x2,
  388. adParamInputOutput = 0x3,
  389. adParamReturnValue = 0x4
  390. } ParameterDirectionEnum;
  391. typedef /* [uuid] */
  392. enum CommandTypeEnum
  393. { adCmdUnspecified = -1,
  394. adCmdUnknown = 0x8,
  395. adCmdText = 0x1,
  396. adCmdTable = 0x2,
  397. adCmdStoredProc = 0x4
  398. } CommandTypeEnum;
  399. typedef /* [uuid] */
  400. enum SchemaEnum
  401. { adSchemaProviderSpecific = -1,
  402. adSchemaAsserts = 0,
  403. adSchemaCatalogs = 1,
  404. adSchemaCharacterSets = 2,
  405. adSchemaCollations = 3,
  406. adSchemaColumns = 4,
  407. adSchemaCheckConstraints = 5,
  408. adSchemaConstraintColumnUsage = 6,
  409. adSchemaConstraintTableUsage = 7,
  410. adSchemaKeyColumnUsage = 8,
  411. adSchemaReferentialContraints = 9,
  412. adSchemaTableConstraints = 10,
  413. adSchemaColumnsDomainUsage = 11,
  414. adSchemaIndexes = 12,
  415. adSchemaColumnPrivileges = 13,
  416. adSchemaTablePrivileges = 14,
  417. adSchemaUsagePrivileges = 15,
  418. adSchemaProcedures = 16,
  419. adSchemaSchemata = 17,
  420. adSchemaSQLLanguages = 18,
  421. adSchemaStatistics = 19,
  422. adSchemaTables = 20,
  423. adSchemaTranslations = 21,
  424. adSchemaProviderTypes = 22,
  425. adSchemaViews = 23,
  426. adSchemaViewColumnUsage = 24,
  427. adSchemaViewTableUsage = 25,
  428. adSchemaProcedureParameters = 26,
  429. adSchemaForeignKeys = 27,
  430. adSchemaPrimaryKeys = 28,
  431. adSchemaProcedureColumns = 29
  432. } SchemaEnum;
  433. EXTERN_C const IID LIBID_ADODB;
  434. #ifndef ___ADOCollection_INTERFACE_DEFINED__
  435. #define ___ADOCollection_INTERFACE_DEFINED__
  436. /****************************************
  437. * Generated header for interface: _ADOCollection
  438. * at Thu Dec 04 08:00:50 1997
  439. * using MIDL 3.01.75
  440. ****************************************/
  441. /* [object][uuid][nonextensible][dual] */
  442. EXTERN_C const IID IID__ADOCollection;
  443. #if defined(__cplusplus) && !defined(CINTERFACE)
  444. interface DECLSPEC_UUID("00000512-0000-0010-8000-00AA006D2EA4")
  445. _ADOCollection : public IDispatch
  446. {
  447. public:
  448. virtual /* [helpstring][helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
  449. /* [retval][out] */ long __RPC_FAR *c) = 0;
  450. virtual /* [id][restricted] */ HRESULT STDMETHODCALLTYPE _NewEnum(
  451. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppvObject) = 0;
  452. virtual /* [helpstring][helpcontext] */ HRESULT STDMETHODCALLTYPE Refresh( void) = 0;
  453. };
  454. #else /* C style interface */
  455. typedef struct _ADOCollectionVtbl
  456. {
  457. BEGIN_INTERFACE
  458. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  459. _ADOCollection __RPC_FAR * This,
  460. /* [in] */ REFIID riid,
  461. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  462. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  463. _ADOCollection __RPC_FAR * This);
  464. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  465. _ADOCollection __RPC_FAR * This);
  466. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  467. _ADOCollection __RPC_FAR * This,
  468. /* [out] */ UINT __RPC_FAR *pctinfo);
  469. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  470. _ADOCollection __RPC_FAR * This,
  471. /* [in] */ UINT iTInfo,
  472. /* [in] */ LCID lcid,
  473. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  474. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  475. _ADOCollection __RPC_FAR * This,
  476. /* [in] */ REFIID riid,
  477. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  478. /* [in] */ UINT cNames,
  479. /* [in] */ LCID lcid,
  480. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  481. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  482. _ADOCollection __RPC_FAR * This,
  483. /* [in] */ DISPID dispIdMember,
  484. /* [in] */ REFIID riid,
  485. /* [in] */ LCID lcid,
  486. /* [in] */ WORD wFlags,
  487. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  488. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  489. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  490. /* [out] */ UINT __RPC_FAR *puArgErr);
  491. /* [helpstring][helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Count )(
  492. _ADOCollection __RPC_FAR * This,
  493. /* [retval][out] */ long __RPC_FAR *c);
  494. /* [id][restricted] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *_NewEnum )(
  495. _ADOCollection __RPC_FAR * This,
  496. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppvObject);
  497. /* [helpstring][helpcontext] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Refresh )(
  498. _ADOCollection __RPC_FAR * This);
  499. END_INTERFACE
  500. } _ADOCollectionVtbl;
  501. interface _ADOCollection
  502. {
  503. CONST_VTBL struct _ADOCollectionVtbl __RPC_FAR *lpVtbl;
  504. };
  505. #ifdef COBJMACROS
  506. #define _ADOCollection_QueryInterface(This,riid,ppvObject) \
  507. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  508. #define _ADOCollection_AddRef(This) \
  509. (This)->lpVtbl -> AddRef(This)
  510. #define _ADOCollection_Release(This) \
  511. (This)->lpVtbl -> Release(This)
  512. #define _ADOCollection_GetTypeInfoCount(This,pctinfo) \
  513. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  514. #define _ADOCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  515. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  516. #define _ADOCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  517. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  518. #define _ADOCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  519. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  520. #define _Collection_get_Count(This,c) \
  521. (This)->lpVtbl -> get_Count(This,c)
  522. #define _ADOCollection__NewEnum(This,ppvObject) \
  523. (This)->lpVtbl -> _NewEnum(This,ppvObject)
  524. #define _ADOCollection_Refresh(This) \
  525. (This)->lpVtbl -> Refresh(This)
  526. #endif /* COBJMACROS */
  527. #endif /* C style interface */
  528. /* [helpstring][helpcontext][propget] */ HRESULT STDMETHODCALLTYPE _Collection_get_Count_Proxy(
  529. _ADOCollection __RPC_FAR * This,
  530. /* [retval][out] */ long __RPC_FAR *c);
  531. void __RPC_STUB _Collection_get_Count_Stub(
  532. IRpcStubBuffer *This,
  533. IRpcChannelBuffer *_pRpcChannelBuffer,
  534. PRPC_MESSAGE _pRpcMessage,
  535. DWORD *_pdwStubPhase);
  536. /* [id][restricted] */ HRESULT STDMETHODCALLTYPE _ADOCollection__NewEnum_Proxy(
  537. _ADOCollection __RPC_FAR * This,
  538. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppvObject);
  539. void __RPC_STUB _ADOCollection__NewEnum_Stub(
  540. IRpcStubBuffer *This,
  541. IRpcChannelBuffer *_pRpcChannelBuffer,
  542. PRPC_MESSAGE _pRpcMessage,
  543. DWORD *_pdwStubPhase);
  544. /* [helpstring][helpcontext] */ HRESULT STDMETHODCALLTYPE _ADOCollection_Refresh_Proxy(
  545. _ADOCollection __RPC_FAR * This);
  546. void __RPC_STUB _ADOCollection_Refresh_Stub(
  547. IRpcStubBuffer *This,
  548. IRpcChannelBuffer *_pRpcChannelBuffer,
  549. PRPC_MESSAGE _pRpcMessage,
  550. DWORD *_pdwStubPhase);
  551. #endif /* ___ADOCollection_INTERFACE_DEFINED__ */
  552. #ifndef ___ADODynaCollection_INTERFACE_DEFINED__
  553. #define ___ADODynaCollection_INTERFACE_DEFINED__
  554. /****************************************
  555. * Generated header for interface: _ADODynaCollection
  556. * at Thu Dec 04 08:00:50 1997
  557. * using MIDL 3.01.75
  558. ****************************************/
  559. /* [object][uuid][nonextensible][dual] */
  560. EXTERN_C const IID IID__ADODynaCollection;
  561. #if defined(__cplusplus) && !defined(CINTERFACE)
  562. interface DECLSPEC_UUID("00000513-0000-0010-8000-00AA006D2EA4")
  563. _ADODynaCollection : public _ADOCollection
  564. {
  565. public:
  566. virtual /* [helpstring][helpcontext] */ HRESULT STDMETHODCALLTYPE Append(
  567. /* [in] */ IDispatch __RPC_FAR *Object) = 0;
  568. virtual /* [helpstring][helpcontext] */ HRESULT STDMETHODCALLTYPE Delete(
  569. /* [in] */ VARIANT Index) = 0;
  570. };
  571. #else /* C style interface */
  572. typedef struct _ADODynaCollectionVtbl
  573. {
  574. BEGIN_INTERFACE
  575. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  576. _ADODynaCollection __RPC_FAR * This,
  577. /* [in] */ REFIID riid,
  578. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  579. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  580. _ADODynaCollection __RPC_FAR * This);
  581. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  582. _ADODynaCollection __RPC_FAR * This);
  583. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  584. _ADODynaCollection __RPC_FAR * This,
  585. /* [out] */ UINT __RPC_FAR *pctinfo);
  586. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  587. _ADODynaCollection __RPC_FAR * This,
  588. /* [in] */ UINT iTInfo,
  589. /* [in] */ LCID lcid,
  590. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  591. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  592. _ADODynaCollection __RPC_FAR * This,
  593. /* [in] */ REFIID riid,
  594. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  595. /* [in] */ UINT cNames,
  596. /* [in] */ LCID lcid,
  597. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  598. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  599. _ADODynaCollection __RPC_FAR * This,
  600. /* [in] */ DISPID dispIdMember,
  601. /* [in] */ REFIID riid,
  602. /* [in] */ LCID lcid,
  603. /* [in] */ WORD wFlags,
  604. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  605. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  606. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  607. /* [out] */ UINT __RPC_FAR *puArgErr);
  608. /* [helpstring][helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Count )(
  609. _ADODynaCollection __RPC_FAR * This,
  610. /* [retval][out] */ long __RPC_FAR *c);
  611. /* [id][restricted] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *_NewEnum )(
  612. _ADODynaCollection __RPC_FAR * This,
  613. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppvObject);
  614. /* [helpstring][helpcontext] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Refresh )(
  615. _ADODynaCollection __RPC_FAR * This);
  616. /* [helpstring][helpcontext] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Append )(
  617. _ADODynaCollection __RPC_FAR * This,
  618. /* [in] */ IDispatch __RPC_FAR *Object);
  619. /* [helpstring][helpcontext] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Delete )(
  620. _ADODynaCollection __RPC_FAR * This,
  621. /* [in] */ VARIANT Index);
  622. END_INTERFACE
  623. } _ADODynaCollectionVtbl;
  624. interface _ADODynaCollection
  625. {
  626. CONST_VTBL struct _ADODynaCollectionVtbl __RPC_FAR *lpVtbl;
  627. };
  628. #ifdef COBJMACROS
  629. #define _ADODynaCollection_QueryInterface(This,riid,ppvObject) \
  630. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  631. #define _ADODynaCollection_AddRef(This) \
  632. (This)->lpVtbl -> AddRef(This)
  633. #define _ADODynaCollection_Release(This) \
  634. (This)->lpVtbl -> Release(This)
  635. #define _ADODynaCollection_GetTypeInfoCount(This,pctinfo) \
  636. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  637. #define _ADODynaCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  638. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  639. #define _ADODynaCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  640. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  641. #define _ADODynaCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  642. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  643. #define _DynaCollection_get_Count(This,c) \
  644. (This)->lpVtbl -> get_Count(This,c)
  645. #define _ADODynaCollection__NewEnum(This,ppvObject) \
  646. (This)->lpVtbl -> _NewEnum(This,ppvObject)
  647. #define _ADODynaCollection_Refresh(This) \
  648. (This)->lpVtbl -> Refresh(This)
  649. #define _ADODynaCollection_Append(This,Object) \
  650. (This)->lpVtbl -> Append(This,Object)
  651. #define _ADODynaCollection_Delete(This,Index) \
  652. (This)->lpVtbl -> Delete(This,Index)
  653. #endif /* COBJMACROS */
  654. #endif /* C style interface */
  655. /* [helpstring][helpcontext] */ HRESULT STDMETHODCALLTYPE _ADODynaCollection_Append_Proxy(
  656. _ADODynaCollection __RPC_FAR * This,
  657. /* [in] */ IDispatch __RPC_FAR *Object);
  658. void __RPC_STUB _ADODynaCollection_Append_Stub(
  659. IRpcStubBuffer *This,
  660. IRpcChannelBuffer *_pRpcChannelBuffer,
  661. PRPC_MESSAGE _pRpcMessage,
  662. DWORD *_pdwStubPhase);
  663. /* [helpstring][helpcontext] */ HRESULT STDMETHODCALLTYPE _ADODynaCollection_Delete_Proxy(
  664. _ADODynaCollection __RPC_FAR * This,
  665. /* [in] */ VARIANT Index);
  666. void __RPC_STUB _ADODynaCollection_Delete_Stub(
  667. IRpcStubBuffer *This,
  668. IRpcChannelBuffer *_pRpcChannelBuffer,
  669. PRPC_MESSAGE _pRpcMessage,
  670. DWORD *_pdwStubPhase);
  671. #endif /* ___ADODynaCollection_INTERFACE_DEFINED__ */
  672. #ifndef ___ADO_INTERFACE_DEFINED__
  673. #define ___ADO_INTERFACE_DEFINED__
  674. /****************************************
  675. * Generated header for interface: _ADO
  676. * at Thu Dec 04 08:00:50 1997
  677. * using MIDL 3.01.75
  678. ****************************************/
  679. /* [object][uuid][nonextensible][dual] */
  680. EXTERN_C const IID IID__ADO;
  681. #if defined(__cplusplus) && !defined(CINTERFACE)
  682. interface DECLSPEC_UUID("00000534-0000-0010-8000-00AA006D2EA4")
  683. _ADO : public IDispatch
  684. {
  685. public:
  686. virtual /* [helpstring][helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE get_Properties(
  687. /* [retval][out] */ ADOProperties __RPC_FAR *__RPC_FAR *ppvObject) = 0;
  688. };
  689. #else /* C style interface */
  690. typedef struct _ADOVtbl
  691. {
  692. BEGIN_INTERFACE
  693. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  694. _ADO __RPC_FAR * This,
  695. /* [in] */ REFIID riid,
  696. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  697. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  698. _ADO __RPC_FAR * This);
  699. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  700. _ADO __RPC_FAR * This);
  701. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  702. _ADO __RPC_FAR * This,
  703. /* [out] */ UINT __RPC_FAR *pctinfo);
  704. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  705. _ADO __RPC_FAR * This,
  706. /* [in] */ UINT iTInfo,
  707. /* [in] */ LCID lcid,
  708. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  709. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  710. _ADO __RPC_FAR * This,
  711. /* [in] */ REFIID riid,
  712. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  713. /* [in] */ UINT cNames,
  714. /* [in] */ LCID lcid,
  715. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  716. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  717. _ADO __RPC_FAR * This,
  718. /* [in] */ DISPID dispIdMember,
  719. /* [in] */ REFIID riid,
  720. /* [in] */ LCID lcid,
  721. /* [in] */ WORD wFlags,
  722. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  723. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  724. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  725. /* [out] */ UINT __RPC_FAR *puArgErr);
  726. /* [helpstring][helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Properties )(
  727. _ADO __RPC_FAR * This,
  728. /* [retval][out] */ ADOProperties __RPC_FAR *__RPC_FAR *ppvObject);
  729. END_INTERFACE
  730. } _ADOVtbl;
  731. interface _ADO
  732. {
  733. CONST_VTBL struct _ADOVtbl __RPC_FAR *lpVtbl;
  734. };
  735. #ifdef COBJMACROS
  736. #define _ADO_QueryInterface(This,riid,ppvObject) \
  737. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  738. #define _ADO_AddRef(This) \
  739. (This)->lpVtbl -> AddRef(This)
  740. #define _ADO_Release(This) \
  741. (This)->lpVtbl -> Release(This)
  742. #define _ADO_GetTypeInfoCount(This,pctinfo) \
  743. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  744. #define _ADO_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  745. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  746. #define _ADO_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  747. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  748. #define _ADO_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  749. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  750. #define _ADO_get_Properties(This,ppvObject) \
  751. (This)->lpVtbl -> get_Properties(This,ppvObject)
  752. #endif /* COBJMACROS */
  753. #endif /* C style interface */
  754. /* [helpstring][helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE _ADO_get_Properties_Proxy(
  755. _ADO __RPC_FAR * This,
  756. /* [retval][out] */ ADOProperties __RPC_FAR *__RPC_FAR *ppvObject);
  757. void __RPC_STUB _ADO_get_Properties_Stub(
  758. IRpcStubBuffer *This,
  759. IRpcChannelBuffer *_pRpcChannelBuffer,
  760. PRPC_MESSAGE _pRpcMessage,
  761. DWORD *_pdwStubPhase);
  762. #endif /* ___ADO_INTERFACE_DEFINED__ */
  763. #ifndef __Error_INTERFACE_DEFINED__
  764. #define __Error_INTERFACE_DEFINED__
  765. /****************************************
  766. * Generated header for interface: Error
  767. * at Thu Dec 04 08:00:50 1997
  768. * using MIDL 3.01.75
  769. ****************************************/
  770. /* [object][helpstring][helpcontext][uuid][nonextensible][dual] */
  771. EXTERN_C const IID IID_Error;
  772. #if defined(__cplusplus) && !defined(CINTERFACE)
  773. interface DECLSPEC_UUID("00000500-0000-0010-8000-00AA006D2EA4")
  774. ADOError : public IDispatch
  775. {
  776. public:
  777. virtual /* [helpstring][helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_Number(
  778. /* [retval][out] */ long __RPC_FAR *pl) = 0;
  779. virtual /* [helpstring][helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_Source(
  780. /* [retval][out] */ BSTR __RPC_FAR *pbstr) = 0;
  781. virtual /* [helpstring][helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE get_Description(
  782. /* [retval][out] */ BSTR __RPC_FAR *pbstr) = 0;
  783. virtual /* [helpstring][helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_HelpFile(
  784. /* [retval][out] */ BSTR __RPC_FAR *pbstr) = 0;
  785. virtual /* [helpstring][helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_HelpContext(
  786. /* [retval][out] */ long __RPC_FAR *pl) = 0;
  787. virtual /* [helpstring][helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_SQLState(
  788. /* [retval][out] */ BSTR __RPC_FAR *pbstr) = 0;
  789. virtual /* [helpstring][helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_NativeError(
  790. /* [retval][out] */ long __RPC_FAR *pl) = 0;
  791. };
  792. #else /* C style interface */
  793. typedef struct ErrorVtbl
  794. {
  795. BEGIN_INTERFACE
  796. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  797. ADOError __RPC_FAR * This,
  798. /* [in] */ REFIID riid,
  799. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  800. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  801. ADOError __RPC_FAR * This);
  802. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  803. ADOError __RPC_FAR * This);
  804. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  805. ADOError __RPC_FAR * This,
  806. /* [out] */ UINT __RPC_FAR *pctinfo);
  807. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  808. ADOError __RPC_FAR * This,
  809. /* [in] */ UINT iTInfo,
  810. /* [in] */ LCID lcid,
  811. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  812. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  813. ADOError __RPC_FAR * This,
  814. /* [in] */ REFIID riid,
  815. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  816. /* [in] */ UINT cNames,
  817. /* [in] */ LCID lcid,
  818. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  819. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  820. ADOError __RPC_FAR * This,
  821. /* [in] */ DISPID dispIdMember,
  822. /* [in] */ REFIID riid,
  823. /* [in] */ LCID lcid,
  824. /* [in] */ WORD wFlags,
  825. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  826. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  827. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  828. /* [out] */ UINT __RPC_FAR *puArgErr);
  829. /* [helpstring][helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Number )(
  830. ADOError __RPC_FAR * This,
  831. /* [retval][out] */ long __RPC_FAR *pl);
  832. /* [helpstring][helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Source )(
  833. ADOError __RPC_FAR * This,
  834. /* [retval][out] */ BSTR __RPC_FAR *pbstr);
  835. /* [helpstring][helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Description )(
  836. ADOError __RPC_FAR * This,
  837. /* [retval][out] */ BSTR __RPC_FAR *pbstr);
  838. /* [helpstring][helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_HelpFile )(
  839. ADOError __RPC_FAR * This,
  840. /* [retval][out] */ BSTR __RPC_FAR *pbstr);
  841. /* [helpstring][helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_HelpContext )(
  842. ADOError __RPC_FAR * This,
  843. /* [retval][out] */ long __RPC_FAR *pl);
  844. /* [helpstring][helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_SQLState )(
  845. ADOError __RPC_FAR * This,
  846. /* [retval][out] */ BSTR __RPC_FAR *pbstr);
  847. /* [helpstring][helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_NativeError )(
  848. ADOError __RPC_FAR * This,
  849. /* [retval][out] */ long __RPC_FAR *pl);
  850. END_INTERFACE
  851. } ErrorVtbl;
  852. interface Error
  853. {
  854. CONST_VTBL struct ErrorVtbl __RPC_FAR *lpVtbl;
  855. };
  856. #ifdef COBJMACROS
  857. #define Error_QueryInterface(This,riid,ppvObject) \
  858. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  859. #define Error_AddRef(This) \
  860. (This)->lpVtbl -> AddRef(This)
  861. #define Error_Release(This) \
  862. (This)->lpVtbl -> Release(This)
  863. #define Error_GetTypeInfoCount(This,pctinfo) \
  864. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  865. #define Error_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  866. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  867. #define Error_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  868. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  869. #define Error_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  870. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  871. #define Error_get_Number(This,pl) \
  872. (This)->lpVtbl -> get_Number(This,pl)
  873. #define Error_get_Source(This,pbstr) \
  874. (This)->lpVtbl -> get_Source(This,pbstr)
  875. #define Error_get_Description(This,pbstr) \
  876. (This)->lpVtbl -> get_Description(This,pbstr)
  877. #define Error_get_HelpFile(This,pbstr) \
  878. (This)->lpVtbl -> get_HelpFile(This,pbstr)
  879. #define Error_get_HelpContext(This,pl) \
  880. (This)->lpVtbl -> get_HelpContext(This,pl)
  881. #define Error_get_SQLState(This,pbstr) \
  882. (This)->lpVtbl -> get_SQLState(This,pbstr)
  883. #define Error_get_NativeError(This,pl) \
  884. (This)->lpVtbl -> get_NativeError(This,pl)
  885. #endif /* COBJMACROS */
  886. #endif /* C style interface */
  887. /* [helpstring][helpcontext][propget] */ HRESULT STDMETHODCALLTYPE Error_get_Number_Proxy(
  888. ADOError __RPC_FAR * This,
  889. /* [retval][out] */ long __RPC_FAR *pl);
  890. void __RPC_STUB Error_get_Number_Stub(
  891. IRpcStubBuffer *This,
  892. IRpcChannelBuffer *_pRpcChannelBuffer,
  893. PRPC_MESSAGE _pRpcMessage,
  894. DWORD *_pdwStubPhase);
  895. /* [helpstring][helpcontext][propget] */ HRESULT STDMETHODCALLTYPE Error_get_Source_Proxy(
  896. ADOError __RPC_FAR * This,
  897. /* [retval][out] */ BSTR __RPC_FAR *pbstr);
  898. void __RPC_STUB Error_get_Source_Stub(
  899. IRpcStubBuffer *This,
  900. IRpcChannelBuffer *_pRpcChannelBuffer,
  901. PRPC_MESSAGE _pRpcMessage,
  902. DWORD *_pdwStubPhase);
  903. /* [helpstring][helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE Error_get_Description_Proxy(
  904. ADOError __RPC_FAR * This,
  905. /* [retval][out] */ BSTR __RPC_FAR *pbstr);
  906. void __RPC_STUB Error_get_Description_Stub(
  907. IRpcStubBuffer *This,
  908. IRpcChannelBuffer *_pRpcChannelBuffer,
  909. PRPC_MESSAGE _pRpcMessage,
  910. DWORD *_pdwStubPhase);
  911. /* [helpstring][helpcontext][propget] */ HRESULT STDMETHODCALLTYPE Error_get_HelpFile_Proxy(
  912. ADOError __RPC_FAR * This,
  913. /* [retval][out] */ BSTR __RPC_FAR *pbstr);
  914. void __RPC_STUB Error_get_HelpFile_Stub(
  915. IRpcStubBuffer *This,
  916. IRpcChannelBuffer *_pRpcChannelBuffer,
  917. PRPC_MESSAGE _pRpcMessage,
  918. DWORD *_pdwStubPhase);
  919. /* [helpstring][helpcontext][propget] */ HRESULT STDMETHODCALLTYPE Error_get_HelpContext_Proxy(
  920. ADOError __RPC_FAR * This,
  921. /* [retval][out] */ long __RPC_FAR *pl);
  922. void __RPC_STUB Error_get_HelpContext_Stub(
  923. IRpcStubBuffer *This,
  924. IRpcChannelBuffer *_pRpcChannelBuffer,
  925. PRPC_MESSAGE _pRpcMessage,
  926. DWORD *_pdwStubPhase);
  927. /* [helpstring][helpcontext][propget] */ HRESULT STDMETHODCALLTYPE Error_get_SQLState_Proxy(
  928. ADOError __RPC_FAR * This,
  929. /* [retval][out] */ BSTR __RPC_FAR *pbstr);
  930. void __RPC_STUB Error_get_SQLState_Stub(
  931. IRpcStubBuffer *This,
  932. IRpcChannelBuffer *_pRpcChannelBuffer,
  933. PRPC_MESSAGE _pRpcMessage,
  934. DWORD *_pdwStubPhase);
  935. /* [helpstring][helpcontext][propget] */ HRESULT STDMETHODCALLTYPE Error_get_NativeError_Proxy(
  936. ADOError __RPC_FAR * This,
  937. /* [retval][out] */ long __RPC_FAR *pl);
  938. void __RPC_STUB Error_get_NativeError_Stub(
  939. IRpcStubBuffer *This,
  940. IRpcChannelBuffer *_pRpcChannelBuffer,
  941. PRPC_MESSAGE _pRpcMessage,
  942. DWORD *_pdwStubPhase);
  943. #endif /* __Error_INTERFACE_DEFINED__ */
  944. #ifndef __Errors_INTERFACE_DEFINED__
  945. #define __Errors_INTERFACE_DEFINED__
  946. /****************************************
  947. * Generated header for interface: Errors
  948. * at Thu Dec 04 08:00:50 1997
  949. * using MIDL 3.01.75
  950. ****************************************/
  951. /* [object][uuid][helpstring][helpcontext][nonextensible][dual] */
  952. EXTERN_C const IID IID_Errors;
  953. #if defined(__cplusplus) && !defined(CINTERFACE)
  954. interface DECLSPEC_UUID("00000501-0000-0010-8000-00AA006D2EA4")
  955. ADOErrors : public _ADOCollection
  956. {
  957. public:
  958. virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Item(
  959. /* [in] */ VARIANT Index,
  960. /* [retval][out] */ ADOError __RPC_FAR *__RPC_FAR *ppvObject) = 0;
  961. virtual HRESULT STDMETHODCALLTYPE Clear( void) = 0;
  962. };
  963. #else /* C style interface */
  964. typedef struct ErrorsVtbl
  965. {
  966. BEGIN_INTERFACE
  967. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  968. ADOErrors __RPC_FAR * This,
  969. /* [in] */ REFIID riid,
  970. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  971. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  972. ADOErrors __RPC_FAR * This);
  973. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  974. ADOErrors __RPC_FAR * This);
  975. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  976. ADOErrors __RPC_FAR * This,
  977. /* [out] */ UINT __RPC_FAR *pctinfo);
  978. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  979. ADOErrors __RPC_FAR * This,
  980. /* [in] */ UINT iTInfo,
  981. /* [in] */ LCID lcid,
  982. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  983. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  984. ADOErrors __RPC_FAR * This,
  985. /* [in] */ REFIID riid,
  986. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  987. /* [in] */ UINT cNames,
  988. /* [in] */ LCID lcid,
  989. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  990. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  991. ADOErrors __RPC_FAR * This,
  992. /* [in] */ DISPID dispIdMember,
  993. /* [in] */ REFIID riid,
  994. /* [in] */ LCID lcid,
  995. /* [in] */ WORD wFlags,
  996. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  997. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  998. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  999. /* [out] */ UINT __RPC_FAR *puArgErr);
  1000. /* [helpstring][helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Count )(
  1001. ADOErrors __RPC_FAR * This,
  1002. /* [retval][out] */ long __RPC_FAR *c);
  1003. /* [id][restricted] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *_NewEnum )(
  1004. ADOErrors __RPC_FAR * This,
  1005. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppvObject);
  1006. /* [helpstring][helpcontext] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Refresh )(
  1007. ADOErrors __RPC_FAR * This);
  1008. /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Item )(
  1009. ADOErrors __RPC_FAR * This,
  1010. /* [in] */ VARIANT Index,
  1011. /* [retval][out] */ ADOError __RPC_FAR *__RPC_FAR *ppvObject);
  1012. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Clear )(
  1013. ADOErrors __RPC_FAR * This);
  1014. END_INTERFACE
  1015. } ErrorsVtbl;
  1016. interface Errors
  1017. {
  1018. CONST_VTBL struct ErrorsVtbl __RPC_FAR *lpVtbl;
  1019. };
  1020. #ifdef COBJMACROS
  1021. #define Errors_QueryInterface(This,riid,ppvObject) \
  1022. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1023. #define Errors_AddRef(This) \
  1024. (This)->lpVtbl -> AddRef(This)
  1025. #define Errors_Release(This) \
  1026. (This)->lpVtbl -> Release(This)
  1027. #define Errors_GetTypeInfoCount(This,pctinfo) \
  1028. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1029. #define Errors_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1030. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1031. #define Errors_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1032. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1033. #define Errors_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1034. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1035. #define Errors_get_Count(This,c) \
  1036. (This)->lpVtbl -> get_Count(This,c)
  1037. #define Errors__NewEnum(This,ppvObject) \
  1038. (This)->lpVtbl -> _NewEnum(This,ppvObject)
  1039. #define Errors_Refresh(This) \
  1040. (This)->lpVtbl -> Refresh(This)
  1041. #define Errors_get_Item(This,Index,ppvObject) \
  1042. (This)->lpVtbl -> get_Item(This,Index,ppvObject)
  1043. #define Errors_Clear(This) \
  1044. (This)->lpVtbl -> Clear(This)
  1045. #endif /* COBJMACROS */
  1046. #endif /* C style interface */
  1047. /* [id][propget] */ HRESULT STDMETHODCALLTYPE Errors_get_Item_Proxy(
  1048. ADOErrors __RPC_FAR * This,
  1049. /* [in] */ VARIANT Index,
  1050. /* [retval][out] */ ADOError __RPC_FAR *__RPC_FAR *ppvObject);
  1051. void __RPC_STUB Errors_get_Item_Stub(
  1052. IRpcStubBuffer *This,
  1053. IRpcChannelBuffer *_pRpcChannelBuffer,
  1054. PRPC_MESSAGE _pRpcMessage,
  1055. DWORD *_pdwStubPhase);
  1056. HRESULT STDMETHODCALLTYPE Errors_Clear_Proxy(
  1057. ADOErrors __RPC_FAR * This);
  1058. void __RPC_STUB Errors_Clear_Stub(
  1059. IRpcStubBuffer *This,
  1060. IRpcChannelBuffer *_pRpcChannelBuffer,
  1061. PRPC_MESSAGE _pRpcMessage,
  1062. DWORD *_pdwStubPhase);
  1063. #endif /* __Errors_INTERFACE_DEFINED__ */
  1064. #ifndef ___Command_INTERFACE_DEFINED__
  1065. #define ___Command_INTERFACE_DEFINED__
  1066. /****************************************
  1067. * Generated header for interface: _Command
  1068. * at Thu Dec 04 08:00:50 1997
  1069. * using MIDL 3.01.75
  1070. ****************************************/
  1071. /* [object][uuid][nonextensible][dual] */
  1072. EXTERN_C const IID IID__Command;
  1073. #if defined(__cplusplus) && !defined(CINTERFACE)
  1074. interface DECLSPEC_UUID("00000508-0000-0010-8000-00AA006D2EA4")
  1075. _ADOCommand : public _ADO
  1076. {
  1077. public:
  1078. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_ActiveConnection(
  1079. /* [retval][out] */ _ADOConnection __RPC_FAR *__RPC_FAR *ppvObject) = 0;
  1080. virtual /* [propputref] */ HRESULT STDMETHODCALLTYPE putref_ActiveConnection(
  1081. /* [in] */ _ADOConnection __RPC_FAR *pCon) = 0;
  1082. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_ActiveConnection(
  1083. /* [in] */ VARIANT vConn) = 0;
  1084. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_CommandText(
  1085. /* [retval][out] */ BSTR __RPC_FAR *pbstr) = 0;
  1086. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_CommandText(
  1087. /* [in] */ BSTR bstr) = 0;
  1088. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_CommandTimeout(
  1089. /* [retval][out] */ LONG __RPC_FAR *pl) = 0;
  1090. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_CommandTimeout(
  1091. /* [in] */ LONG Timeout) = 0;
  1092. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Prepared(
  1093. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pfPrepared) = 0;
  1094. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Prepared(
  1095. /* [in] */ VARIANT_BOOL fPrepared) = 0;
  1096. virtual /* [helpstring][helpcontext] */ HRESULT STDMETHODCALLTYPE Execute(
  1097. /* [optional][out] */ VARIANT __RPC_FAR *RecordsAffected,
  1098. /* [optional][in] */ VARIANT __RPC_FAR *Parameters,
  1099. /* [defaultvalue][in] */ long Options,
  1100. /* [retval][out] */ _ADORecordset __RPC_FAR *__RPC_FAR *ppirs) = 0;
  1101. virtual HRESULT STDMETHODCALLTYPE CreateParameter(
  1102. /* [defaultvalue][in] */ BSTR Name,
  1103. /* [defaultvalue][in] */ DataTypeEnum Type,
  1104. /* [defaultvalue][in] */ ParameterDirectionEnum Direction,
  1105. /* [defaultvalue][in] */ long Size,
  1106. /* [optional][in] */ VARIANT Value,
  1107. /* [retval][out] */ _ADOParameter __RPC_FAR *__RPC_FAR *ppiprm) = 0;
  1108. virtual /* [helpstring][helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE get_Parameters(
  1109. /* [retval][out] */ ADOParameters __RPC_FAR *__RPC_FAR *ppvObject) = 0;
  1110. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_CommandType(
  1111. /* [in] */ CommandTypeEnum lCmdType) = 0;
  1112. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_CommandType(
  1113. /* [retval][out] */ CommandTypeEnum __RPC_FAR *plCmdType) = 0;
  1114. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Name(
  1115. /* [retval][out] */ BSTR __RPC_FAR *pbstrName) = 0;
  1116. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Name(
  1117. /* [in] */ BSTR bstrName) = 0;
  1118. };
  1119. #else /* C style interface */
  1120. typedef struct _CommandVtbl
  1121. {
  1122. BEGIN_INTERFACE
  1123. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  1124. _ADOCommand __RPC_FAR * This,
  1125. /* [in] */ REFIID riid,
  1126. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1127. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  1128. _ADOCommand __RPC_FAR * This);
  1129. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  1130. _ADOCommand __RPC_FAR * This);
  1131. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  1132. _ADOCommand __RPC_FAR * This,
  1133. /* [out] */ UINT __RPC_FAR *pctinfo);
  1134. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  1135. _ADOCommand __RPC_FAR * This,
  1136. /* [in] */ UINT iTInfo,
  1137. /* [in] */ LCID lcid,
  1138. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1139. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  1140. _ADOCommand __RPC_FAR * This,
  1141. /* [in] */ REFIID riid,
  1142. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1143. /* [in] */ UINT cNames,
  1144. /* [in] */ LCID lcid,
  1145. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1146. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  1147. _ADOCommand __RPC_FAR * This,
  1148. /* [in] */ DISPID dispIdMember,
  1149. /* [in] */ REFIID riid,
  1150. /* [in] */ LCID lcid,
  1151. /* [in] */ WORD wFlags,
  1152. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1153. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1154. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1155. /* [out] */ UINT __RPC_FAR *puArgErr);
  1156. /* [helpstring][helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Properties )(
  1157. _ADOCommand __RPC_FAR * This,
  1158. /* [retval][out] */ ADOProperties __RPC_FAR *__RPC_FAR *ppvObject);
  1159. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ActiveConnection )(
  1160. _ADOCommand __RPC_FAR * This,
  1161. /* [retval][out] */ _ADOConnection __RPC_FAR *__RPC_FAR *ppvObject);
  1162. /* [propputref] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *putref_ActiveADOConnection )(
  1163. _ADOCommand __RPC_FAR * This,
  1164. /* [in] */ _ADOConnection __RPC_FAR *pCon);
  1165. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_ActiveConnection )(
  1166. _ADOCommand __RPC_FAR * This,
  1167. /* [in] */ VARIANT vConn);
  1168. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_CommandText )(
  1169. _ADOCommand __RPC_FAR * This,
  1170. /* [retval][out] */ BSTR __RPC_FAR *pbstr);
  1171. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_CommandText )(
  1172. _ADOCommand __RPC_FAR * This,
  1173. /* [in] */ BSTR bstr);
  1174. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_CommandTimeout )(
  1175. _ADOCommand __RPC_FAR * This,
  1176. /* [retval][out] */ LONG __RPC_FAR *pl);
  1177. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_CommandTimeout )(
  1178. _ADOCommand __RPC_FAR * This,
  1179. /* [in] */ LONG Timeout);
  1180. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Prepared )(
  1181. _ADOCommand __RPC_FAR * This,
  1182. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pfPrepared);
  1183. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Prepared )(
  1184. _ADOCommand __RPC_FAR * This,
  1185. /* [in] */ VARIANT_BOOL fPrepared);
  1186. /* [helpstring][helpcontext] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Execute )(
  1187. _ADOCommand __RPC_FAR * This,
  1188. /* [optional][out] */ VARIANT __RPC_FAR *RecordsAffected,
  1189. /* [optional][in] */ VARIANT __RPC_FAR *Parameters,
  1190. /* [defaultvalue][in] */ long Options,
  1191. /* [retval][out] */ _ADORecordset __RPC_FAR *__RPC_FAR *ppirs);
  1192. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateParameter )(
  1193. _ADOCommand __RPC_FAR * This,
  1194. /* [defaultvalue][in] */ BSTR Name,
  1195. /* [defaultvalue][in] */ DataTypeEnum Type,
  1196. /* [defaultvalue][in] */ ParameterDirectionEnum Direction,
  1197. /* [defaultvalue][in] */ long Size,
  1198. /* [optional][in] */ VARIANT Value,
  1199. /* [retval][out] */ _ADOParameter __RPC_FAR *__RPC_FAR *ppiprm);
  1200. /* [helpstring][helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Parameters )(
  1201. _ADOCommand __RPC_FAR * This,
  1202. /* [retval][out] */ ADOParameters __RPC_FAR *__RPC_FAR *ppvObject);
  1203. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_CommandType )(
  1204. _ADOCommand __RPC_FAR * This,
  1205. /* [in] */ CommandTypeEnum lCmdType);
  1206. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_CommandType )(
  1207. _ADOCommand __RPC_FAR * This,
  1208. /* [retval][out] */ CommandTypeEnum __RPC_FAR *plCmdType);
  1209. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Name )(
  1210. _ADOCommand __RPC_FAR * This,
  1211. /* [retval][out] */ BSTR __RPC_FAR *pbstrName);
  1212. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Name )(
  1213. _ADOCommand __RPC_FAR * This,
  1214. /* [in] */ BSTR bstrName);
  1215. END_INTERFACE
  1216. } _CommandVtbl;
  1217. interface _Command
  1218. {
  1219. CONST_VTBL struct _CommandVtbl __RPC_FAR *lpVtbl;
  1220. };
  1221. #ifdef COBJMACROS
  1222. #define _Command_QueryInterface(This,riid,ppvObject) \
  1223. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1224. #define _Command_AddRef(This) \
  1225. (This)->lpVtbl -> AddRef(This)
  1226. #define _Command_Release(This) \
  1227. (This)->lpVtbl -> Release(This)
  1228. #define _Command_GetTypeInfoCount(This,pctinfo) \
  1229. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1230. #define _Command_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1231. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1232. #define _Command_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1233. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1234. #define _Command_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1235. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1236. #define _Command_get_Properties(This,ppvObject) \
  1237. (This)->lpVtbl -> get_Properties(This,ppvObject)
  1238. #define _Command_get_ActiveConnection(This,ppvObject) \
  1239. (This)->lpVtbl -> get_ActiveConnection(This,ppvObject)
  1240. #define _Command_putref_ActiveConnection(This,pCon) \
  1241. (This)->lpVtbl -> putref_ActiveConnection(This,pCon)
  1242. #define _Command_put_ActiveConnection(This,vConn) \
  1243. (This)->lpVtbl -> put_ActiveConnection(This,vConn)
  1244. #define _Command_get_CommandText(This,pbstr) \
  1245. (This)->lpVtbl -> get_CommandText(This,pbstr)
  1246. #define _Command_put_CommandText(This,bstr) \
  1247. (This)->lpVtbl -> put_CommandText(This,bstr)
  1248. #define _Command_get_CommandTimeout(This,pl) \
  1249. (This)->lpVtbl -> get_CommandTimeout(This,pl)
  1250. #define _Command_put_CommandTimeout(This,Timeout) \
  1251. (This)->lpVtbl -> put_CommandTimeout(This,Timeout)
  1252. #define _Command_get_Prepared(This,pfPrepared) \
  1253. (This)->lpVtbl -> get_Prepared(This,pfPrepared)
  1254. #define _Command_put_Prepared(This,fPrepared) \
  1255. (This)->lpVtbl -> put_Prepared(This,fPrepared)
  1256. #define _Command_Execute(This,RecordsAffected,Parameters,Options,ppirs) \
  1257. (This)->lpVtbl -> Execute(This,RecordsAffected,Parameters,Options,ppirs)
  1258. #define _Command_CreateParameter(This,Name,Type,Direction,Size,Value,ppiprm) \
  1259. (This)->lpVtbl -> CreateParameter(This,Name,Type,Direction,Size,Value,ppiprm)
  1260. #define _Command_get_Parameters(This,ppvObject) \
  1261. (This)->lpVtbl -> get_Parameters(This,ppvObject)
  1262. #define _Command_put_CommandType(This,lCmdType) \
  1263. (This)->lpVtbl -> put_CommandType(This,lCmdType)
  1264. #define _Command_get_CommandType(This,plCmdType) \
  1265. (This)->lpVtbl -> get_CommandType(This,plCmdType)
  1266. #define _Command_get_Name(This,pbstrName) \
  1267. (This)->lpVtbl -> get_Name(This,pbstrName)
  1268. #define _Command_put_Name(This,bstrName) \
  1269. (This)->lpVtbl -> put_Name(This,bstrName)
  1270. #endif /* COBJMACROS */
  1271. #endif /* C style interface */
  1272. /* [propget] */ HRESULT STDMETHODCALLTYPE _Command_get_ActiveConnection_Proxy(
  1273. _ADOCommand __RPC_FAR * This,
  1274. /* [retval][out] */ _ADOConnection __RPC_FAR *__RPC_FAR *ppvObject);
  1275. void __RPC_STUB _Command_get_ActiveConnection_Stub(
  1276. IRpcStubBuffer *This,
  1277. IRpcChannelBuffer *_pRpcChannelBuffer,
  1278. PRPC_MESSAGE _pRpcMessage,
  1279. DWORD *_pdwStubPhase);
  1280. /* [propputref] */ HRESULT STDMETHODCALLTYPE _Command_putref_ActiveConnection_Proxy(
  1281. _ADOCommand __RPC_FAR * This,
  1282. /* [in] */ _ADOConnection __RPC_FAR *pCon);
  1283. void __RPC_STUB _Command_putref_ActiveConnection_Stub(
  1284. IRpcStubBuffer *This,
  1285. IRpcChannelBuffer *_pRpcChannelBuffer,
  1286. PRPC_MESSAGE _pRpcMessage,
  1287. DWORD *_pdwStubPhase);
  1288. /* [propput] */ HRESULT STDMETHODCALLTYPE _Command_put_ActiveConnection_Proxy(
  1289. _ADOCommand __RPC_FAR * This,
  1290. /* [in] */ VARIANT vConn);
  1291. void __RPC_STUB _Command_put_ActiveConnection_Stub(
  1292. IRpcStubBuffer *This,
  1293. IRpcChannelBuffer *_pRpcChannelBuffer,
  1294. PRPC_MESSAGE _pRpcMessage,
  1295. DWORD *_pdwStubPhase);
  1296. /* [propget] */ HRESULT STDMETHODCALLTYPE _Command_get_CommandText_Proxy(
  1297. _ADOCommand __RPC_FAR * This,
  1298. /* [retval][out] */ BSTR __RPC_FAR *pbstr);
  1299. void __RPC_STUB _Command_get_CommandText_Stub(
  1300. IRpcStubBuffer *This,
  1301. IRpcChannelBuffer *_pRpcChannelBuffer,
  1302. PRPC_MESSAGE _pRpcMessage,
  1303. DWORD *_pdwStubPhase);
  1304. /* [propput] */ HRESULT STDMETHODCALLTYPE _Command_put_CommandText_Proxy(
  1305. _ADOCommand __RPC_FAR * This,
  1306. /* [in] */ BSTR bstr);
  1307. void __RPC_STUB _Command_put_CommandText_Stub(
  1308. IRpcStubBuffer *This,
  1309. IRpcChannelBuffer *_pRpcChannelBuffer,
  1310. PRPC_MESSAGE _pRpcMessage,
  1311. DWORD *_pdwStubPhase);
  1312. /* [propget] */ HRESULT STDMETHODCALLTYPE _Command_get_CommandTimeout_Proxy(
  1313. _ADOCommand __RPC_FAR * This,
  1314. /* [retval][out] */ LONG __RPC_FAR *pl);
  1315. void __RPC_STUB _Command_get_CommandTimeout_Stub(
  1316. IRpcStubBuffer *This,
  1317. IRpcChannelBuffer *_pRpcChannelBuffer,
  1318. PRPC_MESSAGE _pRpcMessage,
  1319. DWORD *_pdwStubPhase);
  1320. /* [propput] */ HRESULT STDMETHODCALLTYPE _Command_put_CommandTimeout_Proxy(
  1321. _ADOCommand __RPC_FAR * This,
  1322. /* [in] */ LONG Timeout);
  1323. void __RPC_STUB _Command_put_CommandTimeout_Stub(
  1324. IRpcStubBuffer *This,
  1325. IRpcChannelBuffer *_pRpcChannelBuffer,
  1326. PRPC_MESSAGE _pRpcMessage,
  1327. DWORD *_pdwStubPhase);
  1328. /* [propget] */ HRESULT STDMETHODCALLTYPE _Command_get_Prepared_Proxy(
  1329. _ADOCommand __RPC_FAR * This,
  1330. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pfPrepared);
  1331. void __RPC_STUB _Command_get_Prepared_Stub(
  1332. IRpcStubBuffer *This,
  1333. IRpcChannelBuffer *_pRpcChannelBuffer,
  1334. PRPC_MESSAGE _pRpcMessage,
  1335. DWORD *_pdwStubPhase);
  1336. /* [propput] */ HRESULT STDMETHODCALLTYPE _Command_put_Prepared_Proxy(
  1337. _ADOCommand __RPC_FAR * This,
  1338. /* [in] */ VARIANT_BOOL fPrepared);
  1339. void __RPC_STUB _Command_put_Prepared_Stub(
  1340. IRpcStubBuffer *This,
  1341. IRpcChannelBuffer *_pRpcChannelBuffer,
  1342. PRPC_MESSAGE _pRpcMessage,
  1343. DWORD *_pdwStubPhase);
  1344. /* [helpstring][helpcontext] */ HRESULT STDMETHODCALLTYPE _Command_Execute_Proxy(
  1345. _ADOCommand __RPC_FAR * This,
  1346. /* [optional][out] */ VARIANT __RPC_FAR *RecordsAffected,
  1347. /* [optional][in] */ VARIANT __RPC_FAR *Parameters,
  1348. /* [defaultvalue][in] */ long Options,
  1349. /* [retval][out] */ _ADORecordset __RPC_FAR *__RPC_FAR *ppirs);
  1350. void __RPC_STUB _Command_Execute_Stub(
  1351. IRpcStubBuffer *This,
  1352. IRpcChannelBuffer *_pRpcChannelBuffer,
  1353. PRPC_MESSAGE _pRpcMessage,
  1354. DWORD *_pdwStubPhase);
  1355. HRESULT STDMETHODCALLTYPE _Command_CreateParameter_Proxy(
  1356. _ADOCommand __RPC_FAR * This,
  1357. /* [defaultvalue][in] */ BSTR Name,
  1358. /* [defaultvalue][in] */ DataTypeEnum Type,
  1359. /* [defaultvalue][in] */ ParameterDirectionEnum Direction,
  1360. /* [defaultvalue][in] */ long Size,
  1361. /* [optional][in] */ VARIANT Value,
  1362. /* [retval][out] */ _ADOParameter __RPC_FAR *__RPC_FAR *ppiprm);
  1363. void __RPC_STUB _Command_CreateParameter_Stub(
  1364. IRpcStubBuffer *This,
  1365. IRpcChannelBuffer *_pRpcChannelBuffer,
  1366. PRPC_MESSAGE _pRpcMessage,
  1367. DWORD *_pdwStubPhase);
  1368. /* [helpstring][helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE _Command_get_Parameters_Proxy(
  1369. _ADOCommand __RPC_FAR * This,
  1370. /* [retval][out] */ ADOParameters __RPC_FAR *__RPC_FAR *ppvObject);
  1371. void __RPC_STUB _Command_get_Parameters_Stub(
  1372. IRpcStubBuffer *This,
  1373. IRpcChannelBuffer *_pRpcChannelBuffer,
  1374. PRPC_MESSAGE _pRpcMessage,
  1375. DWORD *_pdwStubPhase);
  1376. /* [propput] */ HRESULT STDMETHODCALLTYPE _Command_put_CommandType_Proxy(
  1377. _ADOCommand __RPC_FAR * This,
  1378. /* [in] */ CommandTypeEnum lCmdType);
  1379. void __RPC_STUB _Command_put_CommandType_Stub(
  1380. IRpcStubBuffer *This,
  1381. IRpcChannelBuffer *_pRpcChannelBuffer,
  1382. PRPC_MESSAGE _pRpcMessage,
  1383. DWORD *_pdwStubPhase);
  1384. /* [propget] */ HRESULT STDMETHODCALLTYPE _Command_get_CommandType_Proxy(
  1385. _ADOCommand __RPC_FAR * This,
  1386. /* [retval][out] */ CommandTypeEnum __RPC_FAR *plCmdType);
  1387. void __RPC_STUB _Command_get_CommandType_Stub(
  1388. IRpcStubBuffer *This,
  1389. IRpcChannelBuffer *_pRpcChannelBuffer,
  1390. PRPC_MESSAGE _pRpcMessage,
  1391. DWORD *_pdwStubPhase);
  1392. /* [propget] */ HRESULT STDMETHODCALLTYPE _Command_get_Name_Proxy(
  1393. _ADOCommand __RPC_FAR * This,
  1394. /* [retval][out] */ BSTR __RPC_FAR *pbstrName);
  1395. void __RPC_STUB _Command_get_Name_Stub(
  1396. IRpcStubBuffer *This,
  1397. IRpcChannelBuffer *_pRpcChannelBuffer,
  1398. PRPC_MESSAGE _pRpcMessage,
  1399. DWORD *_pdwStubPhase);
  1400. /* [propput] */ HRESULT STDMETHODCALLTYPE _Command_put_Name_Proxy(
  1401. _ADOCommand __RPC_FAR * This,
  1402. /* [in] */ BSTR bstrName);
  1403. void __RPC_STUB _Command_put_Name_Stub(
  1404. IRpcStubBuffer *This,
  1405. IRpcChannelBuffer *_pRpcChannelBuffer,
  1406. PRPC_MESSAGE _pRpcMessage,
  1407. DWORD *_pdwStubPhase);
  1408. #endif /* ___Command_INTERFACE_DEFINED__ */
  1409. #ifndef ___Connection_INTERFACE_DEFINED__
  1410. #define ___Connection_INTERFACE_DEFINED__
  1411. /****************************************
  1412. * Generated header for interface: _Connection
  1413. * at Thu Dec 04 08:00:50 1997
  1414. * using MIDL 3.01.75
  1415. ****************************************/
  1416. /* [object][helpstring][helpcontext][uuid][dual] */
  1417. EXTERN_C const IID IID__Connection;
  1418. #if defined(__cplusplus) && !defined(CINTERFACE)
  1419. interface DECLSPEC_UUID("00000515-0000-0010-8000-00AA006D2EA4")
  1420. _ADOConnection : public _ADO
  1421. {
  1422. public:
  1423. virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_ConnectionString(
  1424. /* [retval][out] */ BSTR __RPC_FAR *pbstr) = 0;
  1425. virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_ConnectionString(
  1426. /* [in] */ BSTR bstr) = 0;
  1427. virtual /* [helpstring][helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE get_CommandTimeout(
  1428. /* [retval][out] */ LONG __RPC_FAR *plTimeout) = 0;
  1429. virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_CommandTimeout(
  1430. /* [in] */ LONG lTimeout) = 0;
  1431. virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_ConnectionTimeout(
  1432. /* [retval][out] */ LONG __RPC_FAR *plTimeout) = 0;
  1433. virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_ConnectionTimeout(
  1434. /* [in] */ LONG lTimeout) = 0;
  1435. virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Version(
  1436. /* [retval][out] */ BSTR __RPC_FAR *pbstr) = 0;
  1437. virtual /* [helpstring][helpcontext][id] */ HRESULT STDMETHODCALLTYPE Close( void) = 0;
  1438. virtual /* [helpstring][helpcontext][id] */ HRESULT STDMETHODCALLTYPE Execute(
  1439. /* [in] */ BSTR CommandText,
  1440. /* [optional][out] */ VARIANT __RPC_FAR *RecordsAffected,
  1441. /* [defaultvalue][in] */ long Options,
  1442. /* [retval][out] */ _ADORecordset __RPC_FAR *__RPC_FAR *ppiRset) = 0;
  1443. virtual /* [helpstring][helpcontext][id] */ HRESULT STDMETHODCALLTYPE BeginTrans(
  1444. /* [retval][out] */ long __RPC_FAR *TransactionLevel) = 0;
  1445. virtual /* [helpstring][helpcontext][id] */ HRESULT STDMETHODCALLTYPE CommitTrans( void) = 0;
  1446. virtual /* [helpstring][helpcontext][id] */ HRESULT STDMETHODCALLTYPE RollbackTrans( void) = 0;
  1447. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Open(
  1448. /* [defaultvalue][in] */ BSTR ConnectionString,
  1449. /* [defaultvalue][in] */ BSTR UserID,
  1450. /* [defaultvalue][in] */ BSTR Password,
  1451. /* [defaultvalue][in] */ long Options) = 0;
  1452. virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Errors(
  1453. /* [retval][out] */ ADOErrors __RPC_FAR *__RPC_FAR *ppvObject) = 0;
  1454. virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_DefaultDatabase(
  1455. /* [retval][out] */ BSTR __RPC_FAR *pbstr) = 0;
  1456. virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_DefaultDatabase(
  1457. /* [in] */ BSTR bstr) = 0;
  1458. virtual /* [helpstring][helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE get_IsolationLevel(
  1459. /* [retval][out] */ IsolationLevelEnum __RPC_FAR *Level) = 0;
  1460. virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_IsolationLevel(
  1461. /* [in] */ IsolationLevelEnum Level) = 0;
  1462. virtual /* [helpstring][helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE get_Attributes(
  1463. /* [retval][out] */ long __RPC_FAR *plAttr) = 0;
  1464. virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_Attributes(
  1465. /* [in] */ long lAttr) = 0;
  1466. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_CursorLocation(
  1467. /* [retval][out] */ CursorLocationEnum __RPC_FAR *plCursorLoc) = 0;
  1468. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_CursorLocation(
  1469. /* [in] */ CursorLocationEnum lCursorLoc) = 0;
  1470. virtual /* [helpstring][helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE get_Mode(
  1471. /* [retval][out] */ ConnectModeEnum __RPC_FAR *plMode) = 0;
  1472. virtual /* [helpstring][helpcontext][id][propput] */ HRESULT STDMETHODCALLTYPE put_Mode(
  1473. /* [in] */ ConnectModeEnum lMode) = 0;
  1474. virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Provider(
  1475. /* [retval][out] */ BSTR __RPC_FAR *pbstr) = 0;
  1476. virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_Provider(
  1477. /* [in] */ BSTR Provider) = 0;
  1478. virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_State(
  1479. /* [retval][out] */ LONG __RPC_FAR *plObjState) = 0;
  1480. virtual /* [id] */ HRESULT STDMETHODCALLTYPE OpenSchema(
  1481. /* [in] */ SchemaEnum Schema,
  1482. /* [optional][in] */ VARIANT Restrictions,
  1483. /* [optional][in] */ VARIANT SchemaID,
  1484. /* [retval][out] */ _ADORecordset __RPC_FAR *__RPC_FAR *pprset) = 0;
  1485. };
  1486. #else /* C style interface */
  1487. typedef struct _ConnectionVtbl
  1488. {
  1489. BEGIN_INTERFACE
  1490. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  1491. _ADOConnection __RPC_FAR * This,
  1492. /* [in] */ REFIID riid,
  1493. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1494. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  1495. _ADOConnection __RPC_FAR * This);
  1496. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  1497. _ADOConnection __RPC_FAR * This);
  1498. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  1499. _ADOConnection __RPC_FAR * This,
  1500. /* [out] */ UINT __RPC_FAR *pctinfo);
  1501. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  1502. _ADOConnection __RPC_FAR * This,
  1503. /* [in] */ UINT iTInfo,
  1504. /* [in] */ LCID lcid,
  1505. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1506. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  1507. _ADOConnection __RPC_FAR * This,
  1508. /* [in] */ REFIID riid,
  1509. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1510. /* [in] */ UINT cNames,
  1511. /* [in] */ LCID lcid,
  1512. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1513. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  1514. _ADOConnection __RPC_FAR * This,
  1515. /* [in] */ DISPID dispIdMember,
  1516. /* [in] */ REFIID riid,
  1517. /* [in] */ LCID lcid,
  1518. /* [in] */ WORD wFlags,
  1519. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1520. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1521. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1522. /* [out] */ UINT __RPC_FAR *puArgErr);
  1523. /* [helpstring][helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Properties )(
  1524. _ADOConnection __RPC_FAR * This,
  1525. /* [retval][out] */ ADOProperties __RPC_FAR *__RPC_FAR *ppvObject);
  1526. /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ConnectionString )(
  1527. _ADOConnection __RPC_FAR * This,
  1528. /* [retval][out] */ BSTR __RPC_FAR *pbstr);
  1529. /* [id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_ConnectionString )(
  1530. _ADOConnection __RPC_FAR * This,
  1531. /* [in] */ BSTR bstr);
  1532. /* [helpstring][helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_CommandTimeout )(
  1533. _ADOConnection __RPC_FAR * This,
  1534. /* [retval][out] */ LONG __RPC_FAR *plTimeout);
  1535. /* [id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_CommandTimeout )(
  1536. _ADOConnection __RPC_FAR * This,
  1537. /* [in] */ LONG lTimeout);
  1538. /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ConnectionTimeout )(
  1539. _ADOConnection __RPC_FAR * This,
  1540. /* [retval][out] */ LONG __RPC_FAR *plTimeout);
  1541. /* [id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_ConnectionTimeout )(
  1542. _ADOConnection __RPC_FAR * This,
  1543. /* [in] */ LONG lTimeout);
  1544. /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Version )(
  1545. _ADOConnection __RPC_FAR * This,
  1546. /* [retval][out] */ BSTR __RPC_FAR *pbstr);
  1547. /* [helpstring][helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Close )(
  1548. _ADOConnection __RPC_FAR * This);
  1549. /* [helpstring][helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Execute )(
  1550. _ADOConnection __RPC_FAR * This,
  1551. /* [in] */ BSTR CommandText,
  1552. /* [optional][out] */ VARIANT __RPC_FAR *RecordsAffected,
  1553. /* [defaultvalue][in] */ long Options,
  1554. /* [retval][out] */ _ADORecordset __RPC_FAR *__RPC_FAR *ppiRset);
  1555. /* [helpstring][helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BeginTrans )(
  1556. _ADOConnection __RPC_FAR * This,
  1557. /* [retval][out] */ long __RPC_FAR *TransactionLevel);
  1558. /* [helpstring][helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CommitTrans )(
  1559. _ADOConnection __RPC_FAR * This);
  1560. /* [helpstring][helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RollbackTrans )(
  1561. _ADOConnection __RPC_FAR * This);
  1562. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Open )(
  1563. _ADOConnection __RPC_FAR * This,
  1564. /* [defaultvalue][in] */ BSTR ConnectionString,
  1565. /* [defaultvalue][in] */ BSTR UserID,
  1566. /* [defaultvalue][in] */ BSTR Password,
  1567. /* [defaultvalue][in] */ long Options);
  1568. /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Errors )(
  1569. _ADOConnection __RPC_FAR * This,
  1570. /* [retval][out] */ ADOErrors __RPC_FAR *__RPC_FAR *ppvObject);
  1571. /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_DefaultDatabase )(
  1572. _ADOConnection __RPC_FAR * This,
  1573. /* [retval][out] */ BSTR __RPC_FAR *pbstr);
  1574. /* [id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_DefaultDatabase )(
  1575. _ADOConnection __RPC_FAR * This,
  1576. /* [in] */ BSTR bstr);
  1577. /* [helpstring][helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_IsolationLevel )(
  1578. _ADOConnection __RPC_FAR * This,
  1579. /* [retval][out] */ IsolationLevelEnum __RPC_FAR *Level);
  1580. /* [id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_IsolationLevel )(
  1581. _ADOConnection __RPC_FAR * This,
  1582. /* [in] */ IsolationLevelEnum Level);
  1583. /* [helpstring][helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Attributes )(
  1584. _ADOConnection __RPC_FAR * This,
  1585. /* [retval][out] */ long __RPC_FAR *plAttr);
  1586. /* [id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Attributes )(
  1587. _ADOConnection __RPC_FAR * This,
  1588. /* [in] */ long lAttr);
  1589. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_CursorLocation )(
  1590. _ADOConnection __RPC_FAR * This,
  1591. /* [retval][out] */ CursorLocationEnum __RPC_FAR *plCursorLoc);
  1592. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_CursorLocation )(
  1593. _ADOConnection __RPC_FAR * This,
  1594. /* [in] */ CursorLocationEnum lCursorLoc);
  1595. /* [helpstring][helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Mode )(
  1596. _ADOConnection __RPC_FAR * This,
  1597. /* [retval][out] */ ConnectModeEnum __RPC_FAR *plMode);
  1598. /* [helpstring][helpcontext][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Mode )(
  1599. _ADOConnection __RPC_FAR * This,
  1600. /* [in] */ ConnectModeEnum lMode);
  1601. /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Provider )(
  1602. _ADOConnection __RPC_FAR * This,
  1603. /* [retval][out] */ BSTR __RPC_FAR *pbstr);
  1604. /* [id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Provider )(
  1605. _ADOConnection __RPC_FAR * This,
  1606. /* [in] */ BSTR Provider);
  1607. /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_State )(
  1608. _ADOConnection __RPC_FAR * This,
  1609. /* [retval][out] */ LONG __RPC_FAR *plObjState);
  1610. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OpenSchema )(
  1611. _ADOConnection __RPC_FAR * This,
  1612. /* [in] */ SchemaEnum Schema,
  1613. /* [optional][in] */ VARIANT Restrictions,
  1614. /* [optional][in] */ VARIANT SchemaID,
  1615. /* [retval][out] */ _ADORecordset __RPC_FAR *__RPC_FAR *pprset);
  1616. END_INTERFACE
  1617. } _ConnectionVtbl;
  1618. interface _Connection
  1619. {
  1620. CONST_VTBL struct _ConnectionVtbl __RPC_FAR *lpVtbl;
  1621. };
  1622. #ifdef COBJMACROS
  1623. #define _Connection_QueryInterface(This,riid,ppvObject) \
  1624. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1625. #define _Connection_AddRef(This) \
  1626. (This)->lpVtbl -> AddRef(This)
  1627. #define _Connection_Release(This) \
  1628. (This)->lpVtbl -> Release(This)
  1629. #define _Connection_GetTypeInfoCount(This,pctinfo) \
  1630. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1631. #define _Connection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1632. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1633. #define _Connection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1634. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1635. #define _Connection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1636. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1637. #define _Connection_get_Properties(This,ppvObject) \
  1638. (This)->lpVtbl -> get_Properties(This,ppvObject)
  1639. #define _Connection_get_ConnectionString(This,pbstr) \
  1640. (This)->lpVtbl -> get_ConnectionString(This,pbstr)
  1641. #define _Connection_put_ConnectionString(This,bstr) \
  1642. (This)->lpVtbl -> put_ConnectionString(This,bstr)
  1643. #define _Connection_get_CommandTimeout(This,plTimeout) \
  1644. (This)->lpVtbl -> get_CommandTimeout(This,plTimeout)
  1645. #define _Connection_put_CommandTimeout(This,lTimeout) \
  1646. (This)->lpVtbl -> put_CommandTimeout(This,lTimeout)
  1647. #define _Connection_get_ConnectionTimeout(This,plTimeout) \
  1648. (This)->lpVtbl -> get_ConnectionTimeout(This,plTimeout)
  1649. #define _Connection_put_ConnectionTimeout(This,lTimeout) \
  1650. (This)->lpVtbl -> put_ConnectionTimeout(This,lTimeout)
  1651. #define _Connection_get_Version(This,pbstr) \
  1652. (This)->lpVtbl -> get_Version(This,pbstr)
  1653. #define _Connection_Close(This) \
  1654. (This)->lpVtbl -> Close(This)
  1655. #define _Connection_Execute(This,CommandText,RecordsAffected,Options,ppiRset) \
  1656. (This)->lpVtbl -> Execute(This,CommandText,RecordsAffected,Options,ppiRset)
  1657. #define _Connection_BeginTrans(This,TransactionLevel) \
  1658. (This)->lpVtbl -> BeginTrans(This,TransactionLevel)
  1659. #define _Connection_CommitTrans(This) \
  1660. (This)->lpVtbl -> CommitTrans(This)
  1661. #define _Connection_RollbackTrans(This) \
  1662. (This)->lpVtbl -> RollbackTrans(This)
  1663. #define _Connection_Open(This,ConnectionString,UserID,Password,Options) \
  1664. (This)->lpVtbl -> Open(This,ConnectionString,UserID,Password,Options)
  1665. #define _Connection_get_Errors(This,ppvObject) \
  1666. (This)->lpVtbl -> get_Errors(This,ppvObject)
  1667. #define _Connection_get_DefaultDatabase(This,pbstr) \
  1668. (This)->lpVtbl -> get_DefaultDatabase(This,pbstr)
  1669. #define _Connection_put_DefaultDatabase(This,bstr) \
  1670. (This)->lpVtbl -> put_DefaultDatabase(This,bstr)
  1671. #define _Connection_get_IsolationLevel(This,Level) \
  1672. (This)->lpVtbl -> get_IsolationLevel(This,Level)
  1673. #define _Connection_put_IsolationLevel(This,Level) \
  1674. (This)->lpVtbl -> put_IsolationLevel(This,Level)
  1675. #define _Connection_get_Attributes(This,plAttr) \
  1676. (This)->lpVtbl -> get_Attributes(This,plAttr)
  1677. #define _Connection_put_Attributes(This,lAttr) \
  1678. (This)->lpVtbl -> put_Attributes(This,lAttr)
  1679. #define _Connection_get_CursorLocation(This,plCursorLoc) \
  1680. (This)->lpVtbl -> get_CursorLocation(This,plCursorLoc)
  1681. #define _Connection_put_CursorLocation(This,lCursorLoc) \
  1682. (This)->lpVtbl -> put_CursorLocation(This,lCursorLoc)
  1683. #define _Connection_get_Mode(This,plMode) \
  1684. (This)->lpVtbl -> get_Mode(This,plMode)
  1685. #define _Connection_put_Mode(This,lMode) \
  1686. (This)->lpVtbl -> put_Mode(This,lMode)
  1687. #define _Connection_get_Provider(This,pbstr) \
  1688. (This)->lpVtbl -> get_Provider(This,pbstr)
  1689. #define _Connection_put_Provider(This,Provider) \
  1690. (This)->lpVtbl -> put_Provider(This,Provider)
  1691. #define _Connection_get_State(This,plObjState) \
  1692. (This)->lpVtbl -> get_State(This,plObjState)
  1693. #define _Connection_OpenSchema(This,Schema,Restrictions,SchemaID,pprset) \
  1694. (This)->lpVtbl -> OpenSchema(This,Schema,Restrictions,SchemaID,pprset)
  1695. #endif /* COBJMACROS */
  1696. #endif /* C style interface */
  1697. /* [id][propget] */ HRESULT STDMETHODCALLTYPE _Connection_get_ConnectionString_Proxy(
  1698. _ADOConnection __RPC_FAR * This,
  1699. /* [retval][out] */ BSTR __RPC_FAR *pbstr);
  1700. void __RPC_STUB _Connection_get_ConnectionString_Stub(
  1701. IRpcStubBuffer *This,
  1702. IRpcChannelBuffer *_pRpcChannelBuffer,
  1703. PRPC_MESSAGE _pRpcMessage,
  1704. DWORD *_pdwStubPhase);
  1705. /* [id][propput] */ HRESULT STDMETHODCALLTYPE _Connection_put_ConnectionString_Proxy(
  1706. _ADOConnection __RPC_FAR * This,
  1707. /* [in] */ BSTR bstr);
  1708. void __RPC_STUB _Connection_put_ConnectionString_Stub(
  1709. IRpcStubBuffer *This,
  1710. IRpcChannelBuffer *_pRpcChannelBuffer,
  1711. PRPC_MESSAGE _pRpcMessage,
  1712. DWORD *_pdwStubPhase);
  1713. /* [helpstring][helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE _Connection_get_CommandTimeout_Proxy(
  1714. _ADOConnection __RPC_FAR * This,
  1715. /* [retval][out] */ LONG __RPC_FAR *plTimeout);
  1716. void __RPC_STUB _Connection_get_CommandTimeout_Stub(
  1717. IRpcStubBuffer *This,
  1718. IRpcChannelBuffer *_pRpcChannelBuffer,
  1719. PRPC_MESSAGE _pRpcMessage,
  1720. DWORD *_pdwStubPhase);
  1721. /* [id][propput] */ HRESULT STDMETHODCALLTYPE _Connection_put_CommandTimeout_Proxy(
  1722. _ADOConnection __RPC_FAR * This,
  1723. /* [in] */ LONG lTimeout);
  1724. void __RPC_STUB _Connection_put_CommandTimeout_Stub(
  1725. IRpcStubBuffer *This,
  1726. IRpcChannelBuffer *_pRpcChannelBuffer,
  1727. PRPC_MESSAGE _pRpcMessage,
  1728. DWORD *_pdwStubPhase);
  1729. /* [id][propget] */ HRESULT STDMETHODCALLTYPE _Connection_get_ConnectionTimeout_Proxy(
  1730. _ADOConnection __RPC_FAR * This,
  1731. /* [retval][out] */ LONG __RPC_FAR *plTimeout);
  1732. void __RPC_STUB _Connection_get_ConnectionTimeout_Stub(
  1733. IRpcStubBuffer *This,
  1734. IRpcChannelBuffer *_pRpcChannelBuffer,
  1735. PRPC_MESSAGE _pRpcMessage,
  1736. DWORD *_pdwStubPhase);
  1737. /* [id][propput] */ HRESULT STDMETHODCALLTYPE _Connection_put_ConnectionTimeout_Proxy(
  1738. _ADOConnection __RPC_FAR * This,
  1739. /* [in] */ LONG lTimeout);
  1740. void __RPC_STUB _Connection_put_ConnectionTimeout_Stub(
  1741. IRpcStubBuffer *This,
  1742. IRpcChannelBuffer *_pRpcChannelBuffer,
  1743. PRPC_MESSAGE _pRpcMessage,
  1744. DWORD *_pdwStubPhase);
  1745. /* [id][propget] */ HRESULT STDMETHODCALLTYPE _Connection_get_Version_Proxy(
  1746. _ADOConnection __RPC_FAR * This,
  1747. /* [retval][out] */ BSTR __RPC_FAR *pbstr);
  1748. void __RPC_STUB _Connection_get_Version_Stub(
  1749. IRpcStubBuffer *This,
  1750. IRpcChannelBuffer *_pRpcChannelBuffer,
  1751. PRPC_MESSAGE _pRpcMessage,
  1752. DWORD *_pdwStubPhase);
  1753. /* [helpstring][helpcontext][id] */ HRESULT STDMETHODCALLTYPE _Connection_Close_Proxy(
  1754. _ADOConnection __RPC_FAR * This);
  1755. void __RPC_STUB _Connection_Close_Stub(
  1756. IRpcStubBuffer *This,
  1757. IRpcChannelBuffer *_pRpcChannelBuffer,
  1758. PRPC_MESSAGE _pRpcMessage,
  1759. DWORD *_pdwStubPhase);
  1760. /* [helpstring][helpcontext][id] */ HRESULT STDMETHODCALLTYPE _Connection_Execute_Proxy(
  1761. _ADOConnection __RPC_FAR * This,
  1762. /* [in] */ BSTR CommandText,
  1763. /* [optional][out] */ VARIANT __RPC_FAR *RecordsAffected,
  1764. /* [defaultvalue][in] */ long Options,
  1765. /* [retval][out] */ _ADORecordset __RPC_FAR *__RPC_FAR *ppiRset);
  1766. void __RPC_STUB _Connection_Execute_Stub(
  1767. IRpcStubBuffer *This,
  1768. IRpcChannelBuffer *_pRpcChannelBuffer,
  1769. PRPC_MESSAGE _pRpcMessage,
  1770. DWORD *_pdwStubPhase);
  1771. /* [helpstring][helpcontext][id] */ HRESULT STDMETHODCALLTYPE _Connection_BeginTrans_Proxy(
  1772. _ADOConnection __RPC_FAR * This,
  1773. /* [retval][out] */ long __RPC_FAR *TransactionLevel);
  1774. void __RPC_STUB _Connection_BeginTrans_Stub(
  1775. IRpcStubBuffer *This,
  1776. IRpcChannelBuffer *_pRpcChannelBuffer,
  1777. PRPC_MESSAGE _pRpcMessage,
  1778. DWORD *_pdwStubPhase);
  1779. /* [helpstring][helpcontext][id] */ HRESULT STDMETHODCALLTYPE _Connection_CommitTrans_Proxy(
  1780. _ADOConnection __RPC_FAR * This);
  1781. void __RPC_STUB _Connection_CommitTrans_Stub(
  1782. IRpcStubBuffer *This,
  1783. IRpcChannelBuffer *_pRpcChannelBuffer,
  1784. PRPC_MESSAGE _pRpcMessage,
  1785. DWORD *_pdwStubPhase);
  1786. /* [helpstring][helpcontext][id] */ HRESULT STDMETHODCALLTYPE _Connection_RollbackTrans_Proxy(
  1787. _ADOConnection __RPC_FAR * This);
  1788. void __RPC_STUB _Connection_RollbackTrans_Stub(
  1789. IRpcStubBuffer *This,
  1790. IRpcChannelBuffer *_pRpcChannelBuffer,
  1791. PRPC_MESSAGE _pRpcMessage,
  1792. DWORD *_pdwStubPhase);
  1793. /* [id] */ HRESULT STDMETHODCALLTYPE _Connection_Open_Proxy(
  1794. _ADOConnection __RPC_FAR * This,
  1795. /* [defaultvalue][in] */ BSTR ConnectionString,
  1796. /* [defaultvalue][in] */ BSTR UserID,
  1797. /* [defaultvalue][in] */ BSTR Password,
  1798. /* [defaultvalue][in] */ long Options);
  1799. void __RPC_STUB _Connection_Open_Stub(
  1800. IRpcStubBuffer *This,
  1801. IRpcChannelBuffer *_pRpcChannelBuffer,
  1802. PRPC_MESSAGE _pRpcMessage,
  1803. DWORD *_pdwStubPhase);
  1804. /* [id][propget] */ HRESULT STDMETHODCALLTYPE _Connection_get_Errors_Proxy(
  1805. _ADOConnection __RPC_FAR * This,
  1806. /* [retval][out] */ ADOErrors __RPC_FAR *__RPC_FAR *ppvObject);
  1807. void __RPC_STUB _Connection_get_Errors_Stub(
  1808. IRpcStubBuffer *This,
  1809. IRpcChannelBuffer *_pRpcChannelBuffer,
  1810. PRPC_MESSAGE _pRpcMessage,
  1811. DWORD *_pdwStubPhase);
  1812. /* [id][propget] */ HRESULT STDMETHODCALLTYPE _Connection_get_DefaultDatabase_Proxy(
  1813. _ADOConnection __RPC_FAR * This,
  1814. /* [retval][out] */ BSTR __RPC_FAR *pbstr);
  1815. void __RPC_STUB _Connection_get_DefaultDatabase_Stub(
  1816. IRpcStubBuffer *This,
  1817. IRpcChannelBuffer *_pRpcChannelBuffer,
  1818. PRPC_MESSAGE _pRpcMessage,
  1819. DWORD *_pdwStubPhase);
  1820. /* [id][propput] */ HRESULT STDMETHODCALLTYPE _Connection_put_DefaultDatabase_Proxy(
  1821. _ADOConnection __RPC_FAR * This,
  1822. /* [in] */ BSTR bstr);
  1823. void __RPC_STUB _Connection_put_DefaultDatabase_Stub(
  1824. IRpcStubBuffer *This,
  1825. IRpcChannelBuffer *_pRpcChannelBuffer,
  1826. PRPC_MESSAGE _pRpcMessage,
  1827. DWORD *_pdwStubPhase);
  1828. /* [helpstring][helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE _Connection_get_IsolationLevel_Proxy(
  1829. _ADOConnection __RPC_FAR * This,
  1830. /* [retval][out] */ IsolationLevelEnum __RPC_FAR *Level);
  1831. void __RPC_STUB _Connection_get_IsolationLevel_Stub(
  1832. IRpcStubBuffer *This,
  1833. IRpcChannelBuffer *_pRpcChannelBuffer,
  1834. PRPC_MESSAGE _pRpcMessage,
  1835. DWORD *_pdwStubPhase);
  1836. /* [id][propput] */ HRESULT STDMETHODCALLTYPE _Connection_put_IsolationLevel_Proxy(
  1837. _ADOConnection __RPC_FAR * This,
  1838. /* [in] */ IsolationLevelEnum Level);
  1839. void __RPC_STUB _Connection_put_IsolationLevel_Stub(
  1840. IRpcStubBuffer *This,
  1841. IRpcChannelBuffer *_pRpcChannelBuffer,
  1842. PRPC_MESSAGE _pRpcMessage,
  1843. DWORD *_pdwStubPhase);
  1844. /* [helpstring][helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE _Connection_get_Attributes_Proxy(
  1845. _ADOConnection __RPC_FAR * This,
  1846. /* [retval][out] */ long __RPC_FAR *plAttr);
  1847. void __RPC_STUB _Connection_get_Attributes_Stub(
  1848. IRpcStubBuffer *This,
  1849. IRpcChannelBuffer *_pRpcChannelBuffer,
  1850. PRPC_MESSAGE _pRpcMessage,
  1851. DWORD *_pdwStubPhase);
  1852. /* [id][propput] */ HRESULT STDMETHODCALLTYPE _Connection_put_Attributes_Proxy(
  1853. _ADOConnection __RPC_FAR * This,
  1854. /* [in] */ long lAttr);
  1855. void __RPC_STUB _Connection_put_Attributes_Stub(
  1856. IRpcStubBuffer *This,
  1857. IRpcChannelBuffer *_pRpcChannelBuffer,
  1858. PRPC_MESSAGE _pRpcMessage,
  1859. DWORD *_pdwStubPhase);
  1860. /* [propget][id] */ HRESULT STDMETHODCALLTYPE _Connection_get_CursorLocation_Proxy(
  1861. _ADOConnection __RPC_FAR * This,
  1862. /* [retval][out] */ CursorLocationEnum __RPC_FAR *plCursorLoc);
  1863. void __RPC_STUB _Connection_get_CursorLocation_Stub(
  1864. IRpcStubBuffer *This,
  1865. IRpcChannelBuffer *_pRpcChannelBuffer,
  1866. PRPC_MESSAGE _pRpcMessage,
  1867. DWORD *_pdwStubPhase);
  1868. /* [propput][id] */ HRESULT STDMETHODCALLTYPE _Connection_put_CursorLocation_Proxy(
  1869. _ADOConnection __RPC_FAR * This,
  1870. /* [in] */ CursorLocationEnum lCursorLoc);
  1871. void __RPC_STUB _Connection_put_CursorLocation_Stub(
  1872. IRpcStubBuffer *This,
  1873. IRpcChannelBuffer *_pRpcChannelBuffer,
  1874. PRPC_MESSAGE _pRpcMessage,
  1875. DWORD *_pdwStubPhase);
  1876. /* [helpstring][helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE _Connection_get_Mode_Proxy(
  1877. _ADOConnection __RPC_FAR * This,
  1878. /* [retval][out] */ ConnectModeEnum __RPC_FAR *plMode);
  1879. void __RPC_STUB _Connection_get_Mode_Stub(
  1880. IRpcStubBuffer *This,
  1881. IRpcChannelBuffer *_pRpcChannelBuffer,
  1882. PRPC_MESSAGE _pRpcMessage,
  1883. DWORD *_pdwStubPhase);
  1884. /* [helpstring][helpcontext][id][propput] */ HRESULT STDMETHODCALLTYPE _Connection_put_Mode_Proxy(
  1885. _ADOConnection __RPC_FAR * This,
  1886. /* [in] */ ConnectModeEnum lMode);
  1887. void __RPC_STUB _Connection_put_Mode_Stub(
  1888. IRpcStubBuffer *This,
  1889. IRpcChannelBuffer *_pRpcChannelBuffer,
  1890. PRPC_MESSAGE _pRpcMessage,
  1891. DWORD *_pdwStubPhase);
  1892. /* [id][propget] */ HRESULT STDMETHODCALLTYPE _Connection_get_Provider_Proxy(
  1893. _ADOConnection __RPC_FAR * This,
  1894. /* [retval][out] */ BSTR __RPC_FAR *pbstr);
  1895. void __RPC_STUB _Connection_get_Provider_Stub(
  1896. IRpcStubBuffer *This,
  1897. IRpcChannelBuffer *_pRpcChannelBuffer,
  1898. PRPC_MESSAGE _pRpcMessage,
  1899. DWORD *_pdwStubPhase);
  1900. /* [id][propput] */ HRESULT STDMETHODCALLTYPE _Connection_put_Provider_Proxy(
  1901. _ADOConnection __RPC_FAR * This,
  1902. /* [in] */ BSTR Provider);
  1903. void __RPC_STUB _Connection_put_Provider_Stub(
  1904. IRpcStubBuffer *This,
  1905. IRpcChannelBuffer *_pRpcChannelBuffer,
  1906. PRPC_MESSAGE _pRpcMessage,
  1907. DWORD *_pdwStubPhase);
  1908. /* [id][propget] */ HRESULT STDMETHODCALLTYPE _Connection_get_State_Proxy(
  1909. _ADOConnection __RPC_FAR * This,
  1910. /* [retval][out] */ LONG __RPC_FAR *plObjState);
  1911. void __RPC_STUB _Connection_get_State_Stub(
  1912. IRpcStubBuffer *This,
  1913. IRpcChannelBuffer *_pRpcChannelBuffer,
  1914. PRPC_MESSAGE _pRpcMessage,
  1915. DWORD *_pdwStubPhase);
  1916. /* [id] */ HRESULT STDMETHODCALLTYPE _Connection_OpenSchema_Proxy(
  1917. _ADOConnection __RPC_FAR * This,
  1918. /* [in] */ SchemaEnum Schema,
  1919. /* [optional][in] */ VARIANT Restrictions,
  1920. /* [optional][in] */ VARIANT SchemaID,
  1921. /* [retval][out] */ _ADORecordset __RPC_FAR *__RPC_FAR *pprset);
  1922. void __RPC_STUB _Connection_OpenSchema_Stub(
  1923. IRpcStubBuffer *This,
  1924. IRpcChannelBuffer *_pRpcChannelBuffer,
  1925. PRPC_MESSAGE _pRpcMessage,
  1926. DWORD *_pdwStubPhase);
  1927. #endif /* ___Connection_INTERFACE_DEFINED__ */
  1928. #ifndef __ADOConnectionConstruction_INTERFACE_DEFINED__
  1929. #define __ADOConnectionConstruction_INTERFACE_DEFINED__
  1930. /****************************************
  1931. * Generated header for interface: ADOConnectionConstruction
  1932. * at Thu Dec 04 08:00:50 1997
  1933. * using MIDL 3.01.75
  1934. ****************************************/
  1935. /* [object][uuid][restricted] */
  1936. EXTERN_C const IID IID_ADOConnectionConstruction;
  1937. #if defined(__cplusplus) && !defined(CINTERFACE)
  1938. interface DECLSPEC_UUID("00000516-0000-0010-8000-00AA006D2EA4")
  1939. ADOConnectionConstruction : public IUnknown
  1940. {
  1941. public:
  1942. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_DSO(
  1943. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppDSO) = 0;
  1944. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Session(
  1945. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppSession) = 0;
  1946. };
  1947. #else /* C style interface */
  1948. typedef struct ADOConnectionConstructionVtbl
  1949. {
  1950. BEGIN_INTERFACE
  1951. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  1952. ADOConnectionConstruction __RPC_FAR * This,
  1953. /* [in] */ REFIID riid,
  1954. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1955. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  1956. ADOConnectionConstruction __RPC_FAR * This);
  1957. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  1958. ADOConnectionConstruction __RPC_FAR * This);
  1959. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_DSO )(
  1960. ADOConnectionConstruction __RPC_FAR * This,
  1961. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppDSO);
  1962. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Session )(
  1963. ADOConnectionConstruction __RPC_FAR * This,
  1964. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppSession);
  1965. END_INTERFACE
  1966. } ADOConnectionConstructionVtbl;
  1967. interface ADOConnectionConstruction
  1968. {
  1969. CONST_VTBL struct ADOConnectionConstructionVtbl __RPC_FAR *lpVtbl;
  1970. };
  1971. #ifdef COBJMACROS
  1972. #define ADOConnectionConstruction_QueryInterface(This,riid,ppvObject) \
  1973. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1974. #define ADOConnectionConstruction_AddRef(This) \
  1975. (This)->lpVtbl -> AddRef(This)
  1976. #define ADOConnectionConstruction_Release(This) \
  1977. (This)->lpVtbl -> Release(This)
  1978. #define ADOConnectionConstruction_get_DSO(This,ppDSO) \
  1979. (This)->lpVtbl -> get_DSO(This,ppDSO)
  1980. #define ADOConnectionConstruction_get_Session(This,ppSession) \
  1981. (This)->lpVtbl -> get_Session(This,ppSession)
  1982. #endif /* COBJMACROS */
  1983. #endif /* C style interface */
  1984. /* [propget] */ HRESULT STDMETHODCALLTYPE ADOConnectionConstruction_get_DSO_Proxy(
  1985. ADOConnectionConstruction __RPC_FAR * This,
  1986. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppDSO);
  1987. void __RPC_STUB ADOConnectionConstruction_get_DSO_Stub(
  1988. IRpcStubBuffer *This,
  1989. IRpcChannelBuffer *_pRpcChannelBuffer,
  1990. PRPC_MESSAGE _pRpcMessage,
  1991. DWORD *_pdwStubPhase);
  1992. /* [propget] */ HRESULT STDMETHODCALLTYPE ADOConnectionConstruction_get_Session_Proxy(
  1993. ADOConnectionConstruction __RPC_FAR * This,
  1994. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppSession);
  1995. void __RPC_STUB ADOConnectionConstruction_get_Session_Stub(
  1996. IRpcStubBuffer *This,
  1997. IRpcChannelBuffer *_pRpcChannelBuffer,
  1998. PRPC_MESSAGE _pRpcMessage,
  1999. DWORD *_pdwStubPhase);
  2000. #endif /* __ADOConnectionConstruction_INTERFACE_DEFINED__ */
  2001. #ifdef __cplusplus
  2002. EXTERN_C const CLSID CLSID_Connection;
  2003. Connection;
  2004. #endif
  2005. #ifdef __cplusplus
  2006. EXTERN_C const CLSID CLSID_Command;
  2007. Command;
  2008. #endif
  2009. #ifndef ___Recordset_INTERFACE_DEFINED__
  2010. #define ___Recordset_INTERFACE_DEFINED__
  2011. /****************************************
  2012. * Generated header for interface: _Recordset
  2013. * at Thu Dec 04 08:00:50 1997
  2014. * using MIDL 3.01.75
  2015. ****************************************/
  2016. /* [object][helpstring][helpcontext][uuid][nonextensible][dual] */
  2017. EXTERN_C const IID IID__Recordset;
  2018. #if defined(__cplusplus) && !defined(CINTERFACE)
  2019. interface DECLSPEC_UUID("0000050E-0000-0010-8000-00AA006D2EA4")
  2020. _ADORecordset : public _ADO
  2021. {
  2022. public:
  2023. virtual /* [helpstring][helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_AbsolutePosition(
  2024. /* [retval][out] */ PositionEnum __RPC_FAR *pl) = 0;
  2025. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_AbsolutePosition(
  2026. /* [in] */ PositionEnum Position) = 0;
  2027. virtual /* [propputref][id] */ HRESULT STDMETHODCALLTYPE putref_ActiveConnection(
  2028. /* [in] */ IDispatch __RPC_FAR *pconn) = 0;
  2029. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_ActiveConnection(
  2030. /* [in] */ VARIANT vConn) = 0;
  2031. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_ActiveConnection(
  2032. /* [retval][out] */ VARIANT __RPC_FAR *pvar) = 0;
  2033. virtual /* [helpstring][helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_BOF(
  2034. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pb) = 0;
  2035. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Bookmark(
  2036. /* [retval][out] */ VARIANT __RPC_FAR *pvBookmark) = 0;
  2037. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Bookmark(
  2038. /* [in] */ VARIANT vBookmark) = 0;
  2039. virtual /* [helpstring][helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_CacheSize(
  2040. /* [retval][out] */ long __RPC_FAR *pl) = 0;
  2041. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_CacheSize(
  2042. /* [in] */ long CacheSize) = 0;
  2043. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_CursorType(
  2044. /* [retval][out] */ CursorTypeEnum __RPC_FAR *plCursorType) = 0;
  2045. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_CursorType(
  2046. /* [in] */ CursorTypeEnum lCursorType) = 0;
  2047. virtual /* [helpstring][helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_EOF(
  2048. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pb) = 0;
  2049. virtual /* [helpstring][helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Fields(
  2050. /* [retval][out] */ ADOFields __RPC_FAR *__RPC_FAR *ppvObject) = 0;
  2051. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_LockType(
  2052. /* [retval][out] */ LockTypeEnum __RPC_FAR *plLockType) = 0;
  2053. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_LockType(
  2054. /* [in] */ LockTypeEnum lLockType) = 0;
  2055. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_MaxRecords(
  2056. /* [retval][out] */ long __RPC_FAR *plMaxRecords) = 0;
  2057. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_MaxRecords(
  2058. /* [in] */ long lMaxRecords) = 0;
  2059. virtual /* [helpstring][helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_RecordCount(
  2060. /* [retval][out] */ long __RPC_FAR *pl) = 0;
  2061. virtual /* [propputref][id] */ HRESULT STDMETHODCALLTYPE putref_Source(
  2062. /* [in] */ IDispatch __RPC_FAR *pcmd) = 0;
  2063. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Source(
  2064. /* [in] */ BSTR bstrConn) = 0;
  2065. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Source(
  2066. /* [retval][out] */ VARIANT __RPC_FAR *pvSource) = 0;
  2067. virtual /* [id] */ HRESULT STDMETHODCALLTYPE AddNew(
  2068. /* [optional][in] */ VARIANT FieldList,
  2069. /* [optional][in] */ VARIANT Values) = 0;
  2070. virtual /* [id] */ HRESULT STDMETHODCALLTYPE CancelUpdate( void) = 0;
  2071. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Close( void) = 0;
  2072. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Delete(
  2073. /* [defaultvalue][in] */ AffectEnum AffectRecords) = 0;
  2074. virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetRows(
  2075. /* [defaultvalue][in] */ long Rows,
  2076. /* [optional][in] */ VARIANT Start,
  2077. /* [optional][in] */ VARIANT Fields,
  2078. /* [retval][out] */ VARIANT __RPC_FAR *pvar) = 0;
  2079. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Move(
  2080. /* [in] */ long NumRecords,
  2081. /* [optional][in] */ VARIANT Start) = 0;
  2082. virtual /* [id] */ HRESULT STDMETHODCALLTYPE MoveNext( void) = 0;
  2083. virtual /* [id] */ HRESULT STDMETHODCALLTYPE MovePrevious( void) = 0;
  2084. virtual /* [id] */ HRESULT STDMETHODCALLTYPE MoveFirst( void) = 0;
  2085. virtual /* [id] */ HRESULT STDMETHODCALLTYPE MoveLast( void) = 0;
  2086. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Open(
  2087. /* [optional][in] */ VARIANT Source,
  2088. /* [optional][in] */ VARIANT ActiveConnection,
  2089. /* [defaultvalue][in] */ CursorTypeEnum CursorType,
  2090. /* [defaultvalue][in] */ LockTypeEnum LockType,
  2091. /* [defaultvalue][in] */ LONG Options) = 0;
  2092. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Requery(
  2093. /* [defaultvalue][in] */ LONG Options) = 0;
  2094. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Resync(
  2095. /* [defaultvalue][in] */ AffectEnum AffectRecords) = 0;
  2096. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Update(
  2097. /* [optional][in] */ VARIANT Fields,
  2098. /* [optional][in] */ VARIANT Values) = 0;
  2099. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_AbsolutePage(
  2100. /* [retval][out] */ PositionEnum __RPC_FAR *pl) = 0;
  2101. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_AbsolutePage(
  2102. /* [in] */ PositionEnum Page) = 0;
  2103. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_EditMode(
  2104. /* [retval][out] */ EditModeEnum __RPC_FAR *pl) = 0;
  2105. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Filter(
  2106. /* [retval][out] */ VARIANT __RPC_FAR *Criteria) = 0;
  2107. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Filter(
  2108. /* [in] */ VARIANT Criteria) = 0;
  2109. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_PageCount(
  2110. /* [retval][out] */ long __RPC_FAR *pl) = 0;
  2111. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_PageSize(
  2112. /* [retval][out] */ long __RPC_FAR *pl) = 0;
  2113. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_PageSize(
  2114. /* [in] */ long PageSize) = 0;
  2115. virtual /* [hidden][propget][id] */ HRESULT STDMETHODCALLTYPE get_Sort(
  2116. /* [retval][out] */ BSTR __RPC_FAR *Criteria) = 0;
  2117. virtual /* [hidden][propput][id] */ HRESULT STDMETHODCALLTYPE put_Sort(
  2118. /* [in] */ BSTR Criteria) = 0;
  2119. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Status(
  2120. /* [retval][out] */ long __RPC_FAR *pl) = 0;
  2121. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_State(
  2122. /* [retval][out] */ LONG __RPC_FAR *plObjState) = 0;
  2123. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Clone(
  2124. /* [retval][out] */ _ADORecordset __RPC_FAR *__RPC_FAR *ppvObject) = 0;
  2125. virtual /* [id] */ HRESULT STDMETHODCALLTYPE UpdateBatch(
  2126. /* [defaultvalue][in] */ AffectEnum AffectRecords) = 0;
  2127. virtual /* [id] */ HRESULT STDMETHODCALLTYPE CancelBatch(
  2128. /* [defaultvalue][in] */ AffectEnum AffectRecords) = 0;
  2129. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_CursorLocation(
  2130. /* [retval][out] */ CursorLocationEnum __RPC_FAR *plCursorLoc) = 0;
  2131. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_CursorLocation(
  2132. /* [in] */ CursorLocationEnum lCursorLoc) = 0;
  2133. virtual /* [id] */ HRESULT STDMETHODCALLTYPE NextRecordset(
  2134. /* [optional][out] */ VARIANT __RPC_FAR *RecordsAffected,
  2135. /* [retval][out] */ _ADORecordset __RPC_FAR *__RPC_FAR *ppiRs) = 0;
  2136. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Supports(
  2137. /* [in] */ CursorOptionEnum CursorOptions,
  2138. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pb) = 0;
  2139. virtual /* [hidden][id][propget] */ HRESULT STDMETHODCALLTYPE get_Collect(
  2140. /* [in] */ VARIANT Index,
  2141. /* [retval][out] */ VARIANT __RPC_FAR *pvar) = 0;
  2142. virtual /* [hidden][id][propput] */ HRESULT STDMETHODCALLTYPE put_Collect(
  2143. /* [in] */ VARIANT Index,
  2144. /* [in] */ VARIANT value) = 0;
  2145. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_MarshalOptions(
  2146. /* [retval][out] */ MarshalOptionsEnum __RPC_FAR *peMarshal) = 0;
  2147. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_MarshalOptions(
  2148. /* [in] */ MarshalOptionsEnum eMarshal) = 0;
  2149. virtual /* [hidden][id] */ HRESULT STDMETHODCALLTYPE Find(
  2150. /* [in] */ BSTR Criteria,
  2151. /* [defaultvalue][in] */ LONG SkipRecords,
  2152. /* [defaultvalue][in] */ SearchDirectionEnum SearchDirection,
  2153. /* [optional][in] */ VARIANT Start) = 0;
  2154. };
  2155. #else /* C style interface */
  2156. typedef struct _RecordsetVtbl
  2157. {
  2158. BEGIN_INTERFACE
  2159. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  2160. _ADORecordset __RPC_FAR * This,
  2161. /* [in] */ REFIID riid,
  2162. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2163. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  2164. _ADORecordset __RPC_FAR * This);
  2165. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  2166. _ADORecordset __RPC_FAR * This);
  2167. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  2168. _ADORecordset __RPC_FAR * This,
  2169. /* [out] */ UINT __RPC_FAR *pctinfo);
  2170. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  2171. _ADORecordset __RPC_FAR * This,
  2172. /* [in] */ UINT iTInfo,
  2173. /* [in] */ LCID lcid,
  2174. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  2175. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  2176. _ADORecordset __RPC_FAR * This,
  2177. /* [in] */ REFIID riid,
  2178. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  2179. /* [in] */ UINT cNames,
  2180. /* [in] */ LCID lcid,
  2181. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  2182. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  2183. _ADORecordset __RPC_FAR * This,
  2184. /* [in] */ DISPID dispIdMember,
  2185. /* [in] */ REFIID riid,
  2186. /* [in] */ LCID lcid,
  2187. /* [in] */ WORD wFlags,
  2188. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  2189. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  2190. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  2191. /* [out] */ UINT __RPC_FAR *puArgErr);
  2192. /* [helpstring][helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Properties )(
  2193. _ADORecordset __RPC_FAR * This,
  2194. /* [retval][out] */ ADOProperties __RPC_FAR *__RPC_FAR *ppvObject);
  2195. /* [helpstring][helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_AbsolutePosition )(
  2196. _ADORecordset __RPC_FAR * This,
  2197. /* [retval][out] */ PositionEnum __RPC_FAR *pl);
  2198. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_AbsolutePosition )(
  2199. _ADORecordset __RPC_FAR * This,
  2200. /* [in] */ PositionEnum Position);
  2201. /* [propputref][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *putref_ActiveADOConnection )(
  2202. _ADORecordset __RPC_FAR * This,
  2203. /* [in] */ IDispatch __RPC_FAR *pconn);
  2204. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_ActiveConnection )(
  2205. _ADORecordset __RPC_FAR * This,
  2206. /* [in] */ VARIANT vConn);
  2207. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ActiveConnection )(
  2208. _ADORecordset __RPC_FAR * This,
  2209. /* [retval][out] */ VARIANT __RPC_FAR *pvar);
  2210. /* [helpstring][helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_BOF )(
  2211. _ADORecordset __RPC_FAR * This,
  2212. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pb);
  2213. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Bookmark )(
  2214. _ADORecordset __RPC_FAR * This,
  2215. /* [retval][out] */ VARIANT __RPC_FAR *pvBookmark);
  2216. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Bookmark )(
  2217. _ADORecordset __RPC_FAR * This,
  2218. /* [in] */ VARIANT vBookmark);
  2219. /* [helpstring][helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_CacheSize )(
  2220. _ADORecordset __RPC_FAR * This,
  2221. /* [retval][out] */ long __RPC_FAR *pl);
  2222. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_CacheSize )(
  2223. _ADORecordset __RPC_FAR * This,
  2224. /* [in] */ long CacheSize);
  2225. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_CursorType )(
  2226. _ADORecordset __RPC_FAR * This,
  2227. /* [retval][out] */ CursorTypeEnum __RPC_FAR *plCursorType);
  2228. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_CursorType )(
  2229. _ADORecordset __RPC_FAR * This,
  2230. /* [in] */ CursorTypeEnum lCursorType);
  2231. /* [helpstring][helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_EOF )(
  2232. _ADORecordset __RPC_FAR * This,
  2233. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pb);
  2234. /* [helpstring][helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Fields )(
  2235. _ADORecordset __RPC_FAR * This,
  2236. /* [retval][out] */ ADOFields __RPC_FAR *__RPC_FAR *ppvObject);
  2237. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_LockType )(
  2238. _ADORecordset __RPC_FAR * This,
  2239. /* [retval][out] */ LockTypeEnum __RPC_FAR *plLockType);
  2240. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_LockType )(
  2241. _ADORecordset __RPC_FAR * This,
  2242. /* [in] */ LockTypeEnum lLockType);
  2243. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_MaxRecords )(
  2244. _ADORecordset __RPC_FAR * This,
  2245. /* [retval][out] */ long __RPC_FAR *plMaxRecords);
  2246. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_MaxRecords )(
  2247. _ADORecordset __RPC_FAR * This,
  2248. /* [in] */ long lMaxRecords);
  2249. /* [helpstring][helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_RecordCount )(
  2250. _ADORecordset __RPC_FAR * This,
  2251. /* [retval][out] */ long __RPC_FAR *pl);
  2252. /* [propputref][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *putref_Source )(
  2253. _ADORecordset __RPC_FAR * This,
  2254. /* [in] */ IDispatch __RPC_FAR *pcmd);
  2255. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Source )(
  2256. _ADORecordset __RPC_FAR * This,
  2257. /* [in] */ BSTR bstrConn);
  2258. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Source )(
  2259. _ADORecordset __RPC_FAR * This,
  2260. /* [retval][out] */ VARIANT __RPC_FAR *pvSource);
  2261. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AddNew )(
  2262. _ADORecordset __RPC_FAR * This,
  2263. /* [optional][in] */ VARIANT FieldList,
  2264. /* [optional][in] */ VARIANT Values);
  2265. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CancelUpdate )(
  2266. _ADORecordset __RPC_FAR * This);
  2267. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Close )(
  2268. _ADORecordset __RPC_FAR * This);
  2269. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Delete )(
  2270. _ADORecordset __RPC_FAR * This,
  2271. /* [defaultvalue][in] */ AffectEnum AffectRecords);
  2272. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetRows )(
  2273. _ADORecordset __RPC_FAR * This,
  2274. /* [defaultvalue][in] */ long Rows,
  2275. /* [optional][in] */ VARIANT Start,
  2276. /* [optional][in] */ VARIANT Fields,
  2277. /* [retval][out] */ VARIANT __RPC_FAR *pvar);
  2278. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Move )(
  2279. _ADORecordset __RPC_FAR * This,
  2280. /* [in] */ long NumRecords,
  2281. /* [optional][in] */ VARIANT Start);
  2282. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveNext )(
  2283. _ADORecordset __RPC_FAR * This);
  2284. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MovePrevious )(
  2285. _ADORecordset __RPC_FAR * This);
  2286. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveFirst )(
  2287. _ADORecordset __RPC_FAR * This);
  2288. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveLast )(
  2289. _ADORecordset __RPC_FAR * This);
  2290. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Open )(
  2291. _ADORecordset __RPC_FAR * This,
  2292. /* [optional][in] */ VARIANT Source,
  2293. /* [optional][in] */ VARIANT ActiveConnection,
  2294. /* [defaultvalue][in] */ CursorTypeEnum CursorType,
  2295. /* [defaultvalue][in] */ LockTypeEnum LockType,
  2296. /* [defaultvalue][in] */ LONG Options);
  2297. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Requery )(
  2298. _ADORecordset __RPC_FAR * This,
  2299. /* [defaultvalue][in] */ LONG Options);
  2300. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Resync )(
  2301. _ADORecordset __RPC_FAR * This,
  2302. /* [defaultvalue][in] */ AffectEnum AffectRecords);
  2303. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Update )(
  2304. _ADORecordset __RPC_FAR * This,
  2305. /* [optional][in] */ VARIANT Fields,
  2306. /* [optional][in] */ VARIANT Values);
  2307. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_AbsolutePage )(
  2308. _ADORecordset __RPC_FAR * This,
  2309. /* [retval][out] */ PositionEnum __RPC_FAR *pl);
  2310. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_AbsolutePage )(
  2311. _ADORecordset __RPC_FAR * This,
  2312. /* [in] */ PositionEnum Page);
  2313. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_EditMode )(
  2314. _ADORecordset __RPC_FAR * This,
  2315. /* [retval][out] */ EditModeEnum __RPC_FAR *pl);
  2316. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Filter )(
  2317. _ADORecordset __RPC_FAR * This,
  2318. /* [retval][out] */ VARIANT __RPC_FAR *Criteria);
  2319. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Filter )(
  2320. _ADORecordset __RPC_FAR * This,
  2321. /* [in] */ VARIANT Criteria);
  2322. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_PageCount )(
  2323. _ADORecordset __RPC_FAR * This,
  2324. /* [retval][out] */ long __RPC_FAR *pl);
  2325. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_PageSize )(
  2326. _ADORecordset __RPC_FAR * This,
  2327. /* [retval][out] */ long __RPC_FAR *pl);
  2328. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_PageSize )(
  2329. _ADORecordset __RPC_FAR * This,
  2330. /* [in] */ long PageSize);
  2331. /* [hidden][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Sort )(
  2332. _ADORecordset __RPC_FAR * This,
  2333. /* [retval][out] */ BSTR __RPC_FAR *Criteria);
  2334. /* [hidden][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Sort )(
  2335. _ADORecordset __RPC_FAR * This,
  2336. /* [in] */ BSTR Criteria);
  2337. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Status )(
  2338. _ADORecordset __RPC_FAR * This,
  2339. /* [retval][out] */ long __RPC_FAR *pl);
  2340. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_State )(
  2341. _ADORecordset __RPC_FAR * This,
  2342. /* [retval][out] */ LONG __RPC_FAR *plObjState);
  2343. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Clone )(
  2344. _ADORecordset __RPC_FAR * This,
  2345. /* [retval][out] */ _ADORecordset __RPC_FAR *__RPC_FAR *ppvObject);
  2346. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *UpdateBatch )(
  2347. _ADORecordset __RPC_FAR * This,
  2348. /* [defaultvalue][in] */ AffectEnum AffectRecords);
  2349. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CancelBatch )(
  2350. _ADORecordset __RPC_FAR * This,
  2351. /* [defaultvalue][in] */ AffectEnum AffectRecords);
  2352. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_CursorLocation )(
  2353. _ADORecordset __RPC_FAR * This,
  2354. /* [retval][out] */ CursorLocationEnum __RPC_FAR *plCursorLoc);
  2355. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_CursorLocation )(
  2356. _ADORecordset __RPC_FAR * This,
  2357. /* [in] */ CursorLocationEnum lCursorLoc);
  2358. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *NextADORecordset )(
  2359. _ADORecordset __RPC_FAR * This,
  2360. /* [optional][out] */ VARIANT __RPC_FAR *RecordsAffected,
  2361. /* [retval][out] */ _ADORecordset __RPC_FAR *__RPC_FAR *ppiRs);
  2362. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Supports )(
  2363. _ADORecordset __RPC_FAR * This,
  2364. /* [in] */ CursorOptionEnum CursorOptions,
  2365. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pb);
  2366. /* [hidden][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Collect )(
  2367. _ADORecordset __RPC_FAR * This,
  2368. /* [in] */ VARIANT Index,
  2369. /* [retval][out] */ VARIANT __RPC_FAR *pvar);
  2370. /* [hidden][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Collect )(
  2371. _ADORecordset __RPC_FAR * This,
  2372. /* [in] */ VARIANT Index,
  2373. /* [in] */ VARIANT value);
  2374. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_MarshalOptions )(
  2375. _ADORecordset __RPC_FAR * This,
  2376. /* [retval][out] */ MarshalOptionsEnum __RPC_FAR *peMarshal);
  2377. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_MarshalOptions )(
  2378. _ADORecordset __RPC_FAR * This,
  2379. /* [in] */ MarshalOptionsEnum eMarshal);
  2380. /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Find )(
  2381. _ADORecordset __RPC_FAR * This,
  2382. /* [in] */ BSTR Criteria,
  2383. /* [defaultvalue][in] */ LONG SkipRecords,
  2384. /* [defaultvalue][in] */ SearchDirectionEnum SearchDirection,
  2385. /* [optional][in] */ VARIANT Start);
  2386. END_INTERFACE
  2387. } _RecordsetVtbl;
  2388. interface _Recordset
  2389. {
  2390. CONST_VTBL struct _RecordsetVtbl __RPC_FAR *lpVtbl;
  2391. };
  2392. #ifdef COBJMACROS
  2393. #define _Recordset_QueryInterface(This,riid,ppvObject) \
  2394. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2395. #define _Recordset_AddRef(This) \
  2396. (This)->lpVtbl -> AddRef(This)
  2397. #define _Recordset_Release(This) \
  2398. (This)->lpVtbl -> Release(This)
  2399. #define _Recordset_GetTypeInfoCount(This,pctinfo) \
  2400. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2401. #define _Recordset_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2402. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2403. #define _Recordset_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2404. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2405. #define _Recordset_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2406. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2407. #define _Recordset_get_Properties(This,ppvObject) \
  2408. (This)->lpVtbl -> get_Properties(This,ppvObject)
  2409. #define _Recordset_get_AbsolutePosition(This,pl) \
  2410. (This)->lpVtbl -> get_AbsolutePosition(This,pl)
  2411. #define _Recordset_put_AbsolutePosition(This,Position) \
  2412. (This)->lpVtbl -> put_AbsolutePosition(This,Position)
  2413. #define _Recordset_putref_ActiveConnection(This,pconn) \
  2414. (This)->lpVtbl -> putref_ActiveConnection(This,pconn)
  2415. #define _Recordset_put_ActiveConnection(This,vConn) \
  2416. (This)->lpVtbl -> put_ActiveConnection(This,vConn)
  2417. #define _Recordset_get_ActiveConnection(This,pvar) \
  2418. (This)->lpVtbl -> get_ActiveConnection(This,pvar)
  2419. #define _Recordset_get_BOF(This,pb) \
  2420. (This)->lpVtbl -> get_BOF(This,pb)
  2421. #define _Recordset_get_Bookmark(This,pvBookmark) \
  2422. (This)->lpVtbl -> get_Bookmark(This,pvBookmark)
  2423. #define _Recordset_put_Bookmark(This,vBookmark) \
  2424. (This)->lpVtbl -> put_Bookmark(This,vBookmark)
  2425. #define _Recordset_get_CacheSize(This,pl) \
  2426. (This)->lpVtbl -> get_CacheSize(This,pl)
  2427. #define _Recordset_put_CacheSize(This,CacheSize) \
  2428. (This)->lpVtbl -> put_CacheSize(This,CacheSize)
  2429. #define _Recordset_get_CursorType(This,plCursorType) \
  2430. (This)->lpVtbl -> get_CursorType(This,plCursorType)
  2431. #define _Recordset_put_CursorType(This,lCursorType) \
  2432. (This)->lpVtbl -> put_CursorType(This,lCursorType)
  2433. #define _Recordset_get_EOF(This,pb) \
  2434. (This)->lpVtbl -> get_EOF(This,pb)
  2435. #define _Recordset_get_Fields(This,ppvObject) \
  2436. (This)->lpVtbl -> get_Fields(This,ppvObject)
  2437. #define _Recordset_get_LockType(This,plLockType) \
  2438. (This)->lpVtbl -> get_LockType(This,plLockType)
  2439. #define _Recordset_put_LockType(This,lLockType) \
  2440. (This)->lpVtbl -> put_LockType(This,lLockType)
  2441. #define _Recordset_get_MaxRecords(This,plMaxRecords) \
  2442. (This)->lpVtbl -> get_MaxRecords(This,plMaxRecords)
  2443. #define _Recordset_put_MaxRecords(This,lMaxRecords) \
  2444. (This)->lpVtbl -> put_MaxRecords(This,lMaxRecords)
  2445. #define _Recordset_get_RecordCount(This,pl) \
  2446. (This)->lpVtbl -> get_RecordCount(This,pl)
  2447. #define _Recordset_putref_Source(This,pcmd) \
  2448. (This)->lpVtbl -> putref_Source(This,pcmd)
  2449. #define _Recordset_put_Source(This,bstrConn) \
  2450. (This)->lpVtbl -> put_Source(This,bstrConn)
  2451. #define _Recordset_get_Source(This,pvSource) \
  2452. (This)->lpVtbl -> get_Source(This,pvSource)
  2453. #define _Recordset_AddNew(This,FieldList,Values) \
  2454. (This)->lpVtbl -> AddNew(This,FieldList,Values)
  2455. #define _Recordset_CancelUpdate(This) \
  2456. (This)->lpVtbl -> CancelUpdate(This)
  2457. #define _Recordset_Close(This) \
  2458. (This)->lpVtbl -> Close(This)
  2459. #define _Recordset_Delete(This,AffectRecords) \
  2460. (This)->lpVtbl -> Delete(This,AffectRecords)
  2461. #define _Recordset_GetRows(This,Rows,Start,Fields,pvar) \
  2462. (This)->lpVtbl -> GetRows(This,Rows,Start,Fields,pvar)
  2463. #define _Recordset_Move(This,NumRecords,Start) \
  2464. (This)->lpVtbl -> Move(This,NumRecords,Start)
  2465. #define _Recordset_MoveNext(This) \
  2466. (This)->lpVtbl -> MoveNext(This)
  2467. #define _Recordset_MovePrevious(This) \
  2468. (This)->lpVtbl -> MovePrevious(This)
  2469. #define _Recordset_MoveFirst(This) \
  2470. (This)->lpVtbl -> MoveFirst(This)
  2471. #define _Recordset_MoveLast(This) \
  2472. (This)->lpVtbl -> MoveLast(This)
  2473. #define _Recordset_Open(This,Source,ActiveConnection,CursorType,LockType,Options) \
  2474. (This)->lpVtbl -> Open(This,Source,ActiveConnection,CursorType,LockType,Options)
  2475. #define _Recordset_Requery(This,Options) \
  2476. (This)->lpVtbl -> Requery(This,Options)
  2477. #define _Recordset_Resync(This,AffectRecords) \
  2478. (This)->lpVtbl -> Resync(This,AffectRecords)
  2479. #define _Recordset_Update(This,Fields,Values) \
  2480. (This)->lpVtbl -> Update(This,Fields,Values)
  2481. #define _Recordset_get_AbsolutePage(This,pl) \
  2482. (This)->lpVtbl -> get_AbsolutePage(This,pl)
  2483. #define _Recordset_put_AbsolutePage(This,Page) \
  2484. (This)->lpVtbl -> put_AbsolutePage(This,Page)
  2485. #define _Recordset_get_EditMode(This,pl) \
  2486. (This)->lpVtbl -> get_EditMode(This,pl)
  2487. #define _Recordset_get_Filter(This,Criteria) \
  2488. (This)->lpVtbl -> get_Filter(This,Criteria)
  2489. #define _Recordset_put_Filter(This,Criteria) \
  2490. (This)->lpVtbl -> put_Filter(This,Criteria)
  2491. #define _Recordset_get_PageCount(This,pl) \
  2492. (This)->lpVtbl -> get_PageCount(This,pl)
  2493. #define _Recordset_get_PageSize(This,pl) \
  2494. (This)->lpVtbl -> get_PageSize(This,pl)
  2495. #define _Recordset_put_PageSize(This,PageSize) \
  2496. (This)->lpVtbl -> put_PageSize(This,PageSize)
  2497. #define _Recordset_get_Sort(This,Criteria) \
  2498. (This)->lpVtbl -> get_Sort(This,Criteria)
  2499. #define _Recordset_put_Sort(This,Criteria) \
  2500. (This)->lpVtbl -> put_Sort(This,Criteria)
  2501. #define _Recordset_get_Status(This,pl) \
  2502. (This)->lpVtbl -> get_Status(This,pl)
  2503. #define _Recordset_get_State(This,plObjState) \
  2504. (This)->lpVtbl -> get_State(This,plObjState)
  2505. #define _Recordset_Clone(This,ppvObject) \
  2506. (This)->lpVtbl -> Clone(This,ppvObject)
  2507. #define _Recordset_UpdateBatch(This,AffectRecords) \
  2508. (This)->lpVtbl -> UpdateBatch(This,AffectRecords)
  2509. #define _Recordset_CancelBatch(This,AffectRecords) \
  2510. (This)->lpVtbl -> CancelBatch(This,AffectRecords)
  2511. #define _Recordset_get_CursorLocation(This,plCursorLoc) \
  2512. (This)->lpVtbl -> get_CursorLocation(This,plCursorLoc)
  2513. #define _Recordset_put_CursorLocation(This,lCursorLoc) \
  2514. (This)->lpVtbl -> put_CursorLocation(This,lCursorLoc)
  2515. #define _Recordset_NextRecordset(This,RecordsAffected,ppiRs) \
  2516. (This)->lpVtbl -> NextRecordset(This,RecordsAffected,ppiRs)
  2517. #define _Recordset_Supports(This,CursorOptions,pb) \
  2518. (This)->lpVtbl -> Supports(This,CursorOptions,pb)
  2519. #define _Recordset_get_Collect(This,Index,pvar) \
  2520. (This)->lpVtbl -> get_Collect(This,Index,pvar)
  2521. #define _Recordset_put_Collect(This,Index,value) \
  2522. (This)->lpVtbl -> put_Collect(This,Index,value)
  2523. #define _Recordset_get_MarshalOptions(This,peMarshal) \
  2524. (This)->lpVtbl -> get_MarshalOptions(This,peMarshal)
  2525. #define _Recordset_put_MarshalOptions(This,eMarshal) \
  2526. (This)->lpVtbl -> put_MarshalOptions(This,eMarshal)
  2527. #define _Recordset_Find(This,Criteria,SkipRecords,SearchDirection,Start) \
  2528. (This)->lpVtbl -> Find(This,Criteria,SkipRecords,SearchDirection,Start)
  2529. #endif /* COBJMACROS */
  2530. #endif /* C style interface */
  2531. /* [helpstring][helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE _Recordset_get_AbsolutePosition_Proxy(
  2532. _ADORecordset __RPC_FAR * This,
  2533. /* [retval][out] */ PositionEnum __RPC_FAR *pl);
  2534. void __RPC_STUB _Recordset_get_AbsolutePosition_Stub(
  2535. IRpcStubBuffer *This,
  2536. IRpcChannelBuffer *_pRpcChannelBuffer,
  2537. PRPC_MESSAGE _pRpcMessage,
  2538. DWORD *_pdwStubPhase);
  2539. /* [propput][id] */ HRESULT STDMETHODCALLTYPE _Recordset_put_AbsolutePosition_Proxy(
  2540. _ADORecordset __RPC_FAR * This,
  2541. /* [in] */ PositionEnum Position);
  2542. void __RPC_STUB _Recordset_put_AbsolutePosition_Stub(
  2543. IRpcStubBuffer *This,
  2544. IRpcChannelBuffer *_pRpcChannelBuffer,
  2545. PRPC_MESSAGE _pRpcMessage,
  2546. DWORD *_pdwStubPhase);
  2547. /* [propputref][id] */ HRESULT STDMETHODCALLTYPE _Recordset_putref_ActiveConnection_Proxy(
  2548. _ADORecordset __RPC_FAR * This,
  2549. /* [in] */ IDispatch __RPC_FAR *pconn);
  2550. void __RPC_STUB _Recordset_putref_ActiveConnection_Stub(
  2551. IRpcStubBuffer *This,
  2552. IRpcChannelBuffer *_pRpcChannelBuffer,
  2553. PRPC_MESSAGE _pRpcMessage,
  2554. DWORD *_pdwStubPhase);
  2555. /* [propput][id] */ HRESULT STDMETHODCALLTYPE _Recordset_put_ActiveConnection_Proxy(
  2556. _ADORecordset __RPC_FAR * This,
  2557. /* [in] */ VARIANT vConn);
  2558. void __RPC_STUB _Recordset_put_ActiveConnection_Stub(
  2559. IRpcStubBuffer *This,
  2560. IRpcChannelBuffer *_pRpcChannelBuffer,
  2561. PRPC_MESSAGE _pRpcMessage,
  2562. DWORD *_pdwStubPhase);
  2563. /* [propget][id] */ HRESULT STDMETHODCALLTYPE _Recordset_get_ActiveConnection_Proxy(
  2564. _ADORecordset __RPC_FAR * This,
  2565. /* [retval][out] */ VARIANT __RPC_FAR *pvar);
  2566. void __RPC_STUB _Recordset_get_ActiveConnection_Stub(
  2567. IRpcStubBuffer *This,
  2568. IRpcChannelBuffer *_pRpcChannelBuffer,
  2569. PRPC_MESSAGE _pRpcMessage,
  2570. DWORD *_pdwStubPhase);
  2571. /* [helpstring][helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE _Recordset_get_BOF_Proxy(
  2572. _ADORecordset __RPC_FAR * This,
  2573. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pb);
  2574. void __RPC_STUB _Recordset_get_BOF_Stub(
  2575. IRpcStubBuffer *This,
  2576. IRpcChannelBuffer *_pRpcChannelBuffer,
  2577. PRPC_MESSAGE _pRpcMessage,
  2578. DWORD *_pdwStubPhase);
  2579. /* [propget][id] */ HRESULT STDMETHODCALLTYPE _Recordset_get_Bookmark_Proxy(
  2580. _ADORecordset __RPC_FAR * This,
  2581. /* [retval][out] */ VARIANT __RPC_FAR *pvBookmark);
  2582. void __RPC_STUB _Recordset_get_Bookmark_Stub(
  2583. IRpcStubBuffer *This,
  2584. IRpcChannelBuffer *_pRpcChannelBuffer,
  2585. PRPC_MESSAGE _pRpcMessage,
  2586. DWORD *_pdwStubPhase);
  2587. /* [propput][id] */ HRESULT STDMETHODCALLTYPE _Recordset_put_Bookmark_Proxy(
  2588. _ADORecordset __RPC_FAR * This,
  2589. /* [in] */ VARIANT vBookmark);
  2590. void __RPC_STUB _Recordset_put_Bookmark_Stub(
  2591. IRpcStubBuffer *This,
  2592. IRpcChannelBuffer *_pRpcChannelBuffer,
  2593. PRPC_MESSAGE _pRpcMessage,
  2594. DWORD *_pdwStubPhase);
  2595. /* [helpstring][helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE _Recordset_get_CacheSize_Proxy(
  2596. _ADORecordset __RPC_FAR * This,
  2597. /* [retval][out] */ long __RPC_FAR *pl);
  2598. void __RPC_STUB _Recordset_get_CacheSize_Stub(
  2599. IRpcStubBuffer *This,
  2600. IRpcChannelBuffer *_pRpcChannelBuffer,
  2601. PRPC_MESSAGE _pRpcMessage,
  2602. DWORD *_pdwStubPhase);
  2603. /* [propput][id] */ HRESULT STDMETHODCALLTYPE _Recordset_put_CacheSize_Proxy(
  2604. _ADORecordset __RPC_FAR * This,
  2605. /* [in] */ long CacheSize);
  2606. void __RPC_STUB _Recordset_put_CacheSize_Stub(
  2607. IRpcStubBuffer *This,
  2608. IRpcChannelBuffer *_pRpcChannelBuffer,
  2609. PRPC_MESSAGE _pRpcMessage,
  2610. DWORD *_pdwStubPhase);
  2611. /* [propget][id] */ HRESULT STDMETHODCALLTYPE _Recordset_get_CursorType_Proxy(
  2612. _ADORecordset __RPC_FAR * This,
  2613. /* [retval][out] */ CursorTypeEnum __RPC_FAR *plCursorType);
  2614. void __RPC_STUB _Recordset_get_CursorType_Stub(
  2615. IRpcStubBuffer *This,
  2616. IRpcChannelBuffer *_pRpcChannelBuffer,
  2617. PRPC_MESSAGE _pRpcMessage,
  2618. DWORD *_pdwStubPhase);
  2619. /* [propput][id] */ HRESULT STDMETHODCALLTYPE _Recordset_put_CursorType_Proxy(
  2620. _ADORecordset __RPC_FAR * This,
  2621. /* [in] */ CursorTypeEnum lCursorType);
  2622. void __RPC_STUB _Recordset_put_CursorType_Stub(
  2623. IRpcStubBuffer *This,
  2624. IRpcChannelBuffer *_pRpcChannelBuffer,
  2625. PRPC_MESSAGE _pRpcMessage,
  2626. DWORD *_pdwStubPhase);
  2627. /* [helpstring][helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE _Recordset_get_EOF_Proxy(
  2628. _ADORecordset __RPC_FAR * This,
  2629. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pb);
  2630. void __RPC_STUB _Recordset_get_EOF_Stub(
  2631. IRpcStubBuffer *This,
  2632. IRpcChannelBuffer *_pRpcChannelBuffer,
  2633. PRPC_MESSAGE _pRpcMessage,
  2634. DWORD *_pdwStubPhase);
  2635. /* [helpstring][helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE _Recordset_get_Fields_Proxy(
  2636. _ADORecordset __RPC_FAR * This,
  2637. /* [retval][out] */ ADOFields __RPC_FAR *__RPC_FAR *ppvObject);
  2638. void __RPC_STUB _Recordset_get_Fields_Stub(
  2639. IRpcStubBuffer *This,
  2640. IRpcChannelBuffer *_pRpcChannelBuffer,
  2641. PRPC_MESSAGE _pRpcMessage,
  2642. DWORD *_pdwStubPhase);
  2643. /* [propget][id] */ HRESULT STDMETHODCALLTYPE _Recordset_get_LockType_Proxy(
  2644. _ADORecordset __RPC_FAR * This,
  2645. /* [retval][out] */ LockTypeEnum __RPC_FAR *plLockType);
  2646. void __RPC_STUB _Recordset_get_LockType_Stub(
  2647. IRpcStubBuffer *This,
  2648. IRpcChannelBuffer *_pRpcChannelBuffer,
  2649. PRPC_MESSAGE _pRpcMessage,
  2650. DWORD *_pdwStubPhase);
  2651. /* [propput][id] */ HRESULT STDMETHODCALLTYPE _Recordset_put_LockType_Proxy(
  2652. _ADORecordset __RPC_FAR * This,
  2653. /* [in] */ LockTypeEnum lLockType);
  2654. void __RPC_STUB _Recordset_put_LockType_Stub(
  2655. IRpcStubBuffer *This,
  2656. IRpcChannelBuffer *_pRpcChannelBuffer,
  2657. PRPC_MESSAGE _pRpcMessage,
  2658. DWORD *_pdwStubPhase);
  2659. /* [propget][id] */ HRESULT STDMETHODCALLTYPE _Recordset_get_MaxRecords_Proxy(
  2660. _ADORecordset __RPC_FAR * This,
  2661. /* [retval][out] */ long __RPC_FAR *plMaxRecords);
  2662. void __RPC_STUB _Recordset_get_MaxRecords_Stub(
  2663. IRpcStubBuffer *This,
  2664. IRpcChannelBuffer *_pRpcChannelBuffer,
  2665. PRPC_MESSAGE _pRpcMessage,
  2666. DWORD *_pdwStubPhase);
  2667. /* [propput][id] */ HRESULT STDMETHODCALLTYPE _Recordset_put_MaxRecords_Proxy(
  2668. _ADORecordset __RPC_FAR * This,
  2669. /* [in] */ long lMaxRecords);
  2670. void __RPC_STUB _Recordset_put_MaxRecords_Stub(
  2671. IRpcStubBuffer *This,
  2672. IRpcChannelBuffer *_pRpcChannelBuffer,
  2673. PRPC_MESSAGE _pRpcMessage,
  2674. DWORD *_pdwStubPhase);
  2675. /* [helpstring][helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE _Recordset_get_RecordCount_Proxy(
  2676. _ADORecordset __RPC_FAR * This,
  2677. /* [retval][out] */ long __RPC_FAR *pl);
  2678. void __RPC_STUB _Recordset_get_RecordCount_Stub(
  2679. IRpcStubBuffer *This,
  2680. IRpcChannelBuffer *_pRpcChannelBuffer,
  2681. PRPC_MESSAGE _pRpcMessage,
  2682. DWORD *_pdwStubPhase);
  2683. /* [propputref][id] */ HRESULT STDMETHODCALLTYPE _Recordset_putref_Source_Proxy(
  2684. _ADORecordset __RPC_FAR * This,
  2685. /* [in] */ IDispatch __RPC_FAR *pcmd);
  2686. void __RPC_STUB _Recordset_putref_Source_Stub(
  2687. IRpcStubBuffer *This,
  2688. IRpcChannelBuffer *_pRpcChannelBuffer,
  2689. PRPC_MESSAGE _pRpcMessage,
  2690. DWORD *_pdwStubPhase);
  2691. /* [propput][id] */ HRESULT STDMETHODCALLTYPE _Recordset_put_Source_Proxy(
  2692. _ADORecordset __RPC_FAR * This,
  2693. /* [in] */ BSTR bstrConn);
  2694. void __RPC_STUB _Recordset_put_Source_Stub(
  2695. IRpcStubBuffer *This,
  2696. IRpcChannelBuffer *_pRpcChannelBuffer,
  2697. PRPC_MESSAGE _pRpcMessage,
  2698. DWORD *_pdwStubPhase);
  2699. /* [propget][id] */ HRESULT STDMETHODCALLTYPE _Recordset_get_Source_Proxy(
  2700. _ADORecordset __RPC_FAR * This,
  2701. /* [retval][out] */ VARIANT __RPC_FAR *pvSource);
  2702. void __RPC_STUB _Recordset_get_Source_Stub(
  2703. IRpcStubBuffer *This,
  2704. IRpcChannelBuffer *_pRpcChannelBuffer,
  2705. PRPC_MESSAGE _pRpcMessage,
  2706. DWORD *_pdwStubPhase);
  2707. /* [id] */ HRESULT STDMETHODCALLTYPE _Recordset_AddNew_Proxy(
  2708. _ADORecordset __RPC_FAR * This,
  2709. /* [optional][in] */ VARIANT FieldList,
  2710. /* [optional][in] */ VARIANT Values);
  2711. void __RPC_STUB _Recordset_AddNew_Stub(
  2712. IRpcStubBuffer *This,
  2713. IRpcChannelBuffer *_pRpcChannelBuffer,
  2714. PRPC_MESSAGE _pRpcMessage,
  2715. DWORD *_pdwStubPhase);
  2716. /* [id] */ HRESULT STDMETHODCALLTYPE _Recordset_CancelUpdate_Proxy(
  2717. _ADORecordset __RPC_FAR * This);
  2718. void __RPC_STUB _Recordset_CancelUpdate_Stub(
  2719. IRpcStubBuffer *This,
  2720. IRpcChannelBuffer *_pRpcChannelBuffer,
  2721. PRPC_MESSAGE _pRpcMessage,
  2722. DWORD *_pdwStubPhase);
  2723. /* [id] */ HRESULT STDMETHODCALLTYPE _Recordset_Close_Proxy(
  2724. _ADORecordset __RPC_FAR * This);
  2725. void __RPC_STUB _Recordset_Close_Stub(
  2726. IRpcStubBuffer *This,
  2727. IRpcChannelBuffer *_pRpcChannelBuffer,
  2728. PRPC_MESSAGE _pRpcMessage,
  2729. DWORD *_pdwStubPhase);
  2730. /* [id] */ HRESULT STDMETHODCALLTYPE _Recordset_Delete_Proxy(
  2731. _ADORecordset __RPC_FAR * This,
  2732. /* [defaultvalue][in] */ AffectEnum AffectRecords);
  2733. void __RPC_STUB _Recordset_Delete_Stub(
  2734. IRpcStubBuffer *This,
  2735. IRpcChannelBuffer *_pRpcChannelBuffer,
  2736. PRPC_MESSAGE _pRpcMessage,
  2737. DWORD *_pdwStubPhase);
  2738. /* [id] */ HRESULT STDMETHODCALLTYPE _Recordset_GetRows_Proxy(
  2739. _ADORecordset __RPC_FAR * This,
  2740. /* [defaultvalue][in] */ long Rows,
  2741. /* [optional][in] */ VARIANT Start,
  2742. /* [optional][in] */ VARIANT Fields,
  2743. /* [retval][out] */ VARIANT __RPC_FAR *pvar);
  2744. void __RPC_STUB _Recordset_GetRows_Stub(
  2745. IRpcStubBuffer *This,
  2746. IRpcChannelBuffer *_pRpcChannelBuffer,
  2747. PRPC_MESSAGE _pRpcMessage,
  2748. DWORD *_pdwStubPhase);
  2749. /* [id] */ HRESULT STDMETHODCALLTYPE _Recordset_Move_Proxy(
  2750. _ADORecordset __RPC_FAR * This,
  2751. /* [in] */ long NumRecords,
  2752. /* [optional][in] */ VARIANT Start);
  2753. void __RPC_STUB _Recordset_Move_Stub(
  2754. IRpcStubBuffer *This,
  2755. IRpcChannelBuffer *_pRpcChannelBuffer,
  2756. PRPC_MESSAGE _pRpcMessage,
  2757. DWORD *_pdwStubPhase);
  2758. /* [id] */ HRESULT STDMETHODCALLTYPE _Recordset_MoveNext_Proxy(
  2759. _ADORecordset __RPC_FAR * This);
  2760. void __RPC_STUB _Recordset_MoveNext_Stub(
  2761. IRpcStubBuffer *This,
  2762. IRpcChannelBuffer *_pRpcChannelBuffer,
  2763. PRPC_MESSAGE _pRpcMessage,
  2764. DWORD *_pdwStubPhase);
  2765. /* [id] */ HRESULT STDMETHODCALLTYPE _Recordset_MovePrevious_Proxy(
  2766. _ADORecordset __RPC_FAR * This);
  2767. void __RPC_STUB _Recordset_MovePrevious_Stub(
  2768. IRpcStubBuffer *This,
  2769. IRpcChannelBuffer *_pRpcChannelBuffer,
  2770. PRPC_MESSAGE _pRpcMessage,
  2771. DWORD *_pdwStubPhase);
  2772. /* [id] */ HRESULT STDMETHODCALLTYPE _Recordset_MoveFirst_Proxy(
  2773. _ADORecordset __RPC_FAR * This);
  2774. void __RPC_STUB _Recordset_MoveFirst_Stub(
  2775. IRpcStubBuffer *This,
  2776. IRpcChannelBuffer *_pRpcChannelBuffer,
  2777. PRPC_MESSAGE _pRpcMessage,
  2778. DWORD *_pdwStubPhase);
  2779. /* [id] */ HRESULT STDMETHODCALLTYPE _Recordset_MoveLast_Proxy(
  2780. _ADORecordset __RPC_FAR * This);
  2781. void __RPC_STUB _Recordset_MoveLast_Stub(
  2782. IRpcStubBuffer *This,
  2783. IRpcChannelBuffer *_pRpcChannelBuffer,
  2784. PRPC_MESSAGE _pRpcMessage,
  2785. DWORD *_pdwStubPhase);
  2786. /* [id] */ HRESULT STDMETHODCALLTYPE _Recordset_Open_Proxy(
  2787. _ADORecordset __RPC_FAR * This,
  2788. /* [optional][in] */ VARIANT Source,
  2789. /* [optional][in] */ VARIANT ActiveConnection,
  2790. /* [defaultvalue][in] */ CursorTypeEnum CursorType,
  2791. /* [defaultvalue][in] */ LockTypeEnum LockType,
  2792. /* [defaultvalue][in] */ LONG Options);
  2793. void __RPC_STUB _Recordset_Open_Stub(
  2794. IRpcStubBuffer *This,
  2795. IRpcChannelBuffer *_pRpcChannelBuffer,
  2796. PRPC_MESSAGE _pRpcMessage,
  2797. DWORD *_pdwStubPhase);
  2798. /* [id] */ HRESULT STDMETHODCALLTYPE _Recordset_Requery_Proxy(
  2799. _ADORecordset __RPC_FAR * This,
  2800. /* [defaultvalue][in] */ LONG Options);
  2801. void __RPC_STUB _Recordset_Requery_Stub(
  2802. IRpcStubBuffer *This,
  2803. IRpcChannelBuffer *_pRpcChannelBuffer,
  2804. PRPC_MESSAGE _pRpcMessage,
  2805. DWORD *_pdwStubPhase);
  2806. /* [id] */ HRESULT STDMETHODCALLTYPE _Recordset_Resync_Proxy(
  2807. _ADORecordset __RPC_FAR * This,
  2808. /* [defaultvalue][in] */ AffectEnum AffectRecords);
  2809. void __RPC_STUB _Recordset_Resync_Stub(
  2810. IRpcStubBuffer *This,
  2811. IRpcChannelBuffer *_pRpcChannelBuffer,
  2812. PRPC_MESSAGE _pRpcMessage,
  2813. DWORD *_pdwStubPhase);
  2814. /* [id] */ HRESULT STDMETHODCALLTYPE _Recordset_Update_Proxy(
  2815. _ADORecordset __RPC_FAR * This,
  2816. /* [optional][in] */ VARIANT Fields,
  2817. /* [optional][in] */ VARIANT Values);
  2818. void __RPC_STUB _Recordset_Update_Stub(
  2819. IRpcStubBuffer *This,
  2820. IRpcChannelBuffer *_pRpcChannelBuffer,
  2821. PRPC_MESSAGE _pRpcMessage,
  2822. DWORD *_pdwStubPhase);
  2823. /* [propget][id] */ HRESULT STDMETHODCALLTYPE _Recordset_get_AbsolutePage_Proxy(
  2824. _ADORecordset __RPC_FAR * This,
  2825. /* [retval][out] */ PositionEnum __RPC_FAR *pl);
  2826. void __RPC_STUB _Recordset_get_AbsolutePage_Stub(
  2827. IRpcStubBuffer *This,
  2828. IRpcChannelBuffer *_pRpcChannelBuffer,
  2829. PRPC_MESSAGE _pRpcMessage,
  2830. DWORD *_pdwStubPhase);
  2831. /* [propput][id] */ HRESULT STDMETHODCALLTYPE _Recordset_put_AbsolutePage_Proxy(
  2832. _ADORecordset __RPC_FAR * This,
  2833. /* [in] */ PositionEnum Page);
  2834. void __RPC_STUB _Recordset_put_AbsolutePage_Stub(
  2835. IRpcStubBuffer *This,
  2836. IRpcChannelBuffer *_pRpcChannelBuffer,
  2837. PRPC_MESSAGE _pRpcMessage,
  2838. DWORD *_pdwStubPhase);
  2839. /* [propget][id] */ HRESULT STDMETHODCALLTYPE _Recordset_get_EditMode_Proxy(
  2840. _ADORecordset __RPC_FAR * This,
  2841. /* [retval][out] */ EditModeEnum __RPC_FAR *pl);
  2842. void __RPC_STUB _Recordset_get_EditMode_Stub(
  2843. IRpcStubBuffer *This,
  2844. IRpcChannelBuffer *_pRpcChannelBuffer,
  2845. PRPC_MESSAGE _pRpcMessage,
  2846. DWORD *_pdwStubPhase);
  2847. /* [propget][id] */ HRESULT STDMETHODCALLTYPE _Recordset_get_Filter_Proxy(
  2848. _ADORecordset __RPC_FAR * This,
  2849. /* [retval][out] */ VARIANT __RPC_FAR *Criteria);
  2850. void __RPC_STUB _Recordset_get_Filter_Stub(
  2851. IRpcStubBuffer *This,
  2852. IRpcChannelBuffer *_pRpcChannelBuffer,
  2853. PRPC_MESSAGE _pRpcMessage,
  2854. DWORD *_pdwStubPhase);
  2855. /* [propput][id] */ HRESULT STDMETHODCALLTYPE _Recordset_put_Filter_Proxy(
  2856. _ADORecordset __RPC_FAR * This,
  2857. /* [in] */ VARIANT Criteria);
  2858. void __RPC_STUB _Recordset_put_Filter_Stub(
  2859. IRpcStubBuffer *This,
  2860. IRpcChannelBuffer *_pRpcChannelBuffer,
  2861. PRPC_MESSAGE _pRpcMessage,
  2862. DWORD *_pdwStubPhase);
  2863. /* [propget][id] */ HRESULT STDMETHODCALLTYPE _Recordset_get_PageCount_Proxy(
  2864. _ADORecordset __RPC_FAR * This,
  2865. /* [retval][out] */ long __RPC_FAR *pl);
  2866. void __RPC_STUB _Recordset_get_PageCount_Stub(
  2867. IRpcStubBuffer *This,
  2868. IRpcChannelBuffer *_pRpcChannelBuffer,
  2869. PRPC_MESSAGE _pRpcMessage,
  2870. DWORD *_pdwStubPhase);
  2871. /* [propget][id] */ HRESULT STDMETHODCALLTYPE _Recordset_get_PageSize_Proxy(
  2872. _ADORecordset __RPC_FAR * This,
  2873. /* [retval][out] */ long __RPC_FAR *pl);
  2874. void __RPC_STUB _Recordset_get_PageSize_Stub(
  2875. IRpcStubBuffer *This,
  2876. IRpcChannelBuffer *_pRpcChannelBuffer,
  2877. PRPC_MESSAGE _pRpcMessage,
  2878. DWORD *_pdwStubPhase);
  2879. /* [propput][id] */ HRESULT STDMETHODCALLTYPE _Recordset_put_PageSize_Proxy(
  2880. _ADORecordset __RPC_FAR * This,
  2881. /* [in] */ long PageSize);
  2882. void __RPC_STUB _Recordset_put_PageSize_Stub(
  2883. IRpcStubBuffer *This,
  2884. IRpcChannelBuffer *_pRpcChannelBuffer,
  2885. PRPC_MESSAGE _pRpcMessage,
  2886. DWORD *_pdwStubPhase);
  2887. /* [hidden][propget][id] */ HRESULT STDMETHODCALLTYPE _Recordset_get_Sort_Proxy(
  2888. _ADORecordset __RPC_FAR * This,
  2889. /* [retval][out] */ BSTR __RPC_FAR *Criteria);
  2890. void __RPC_STUB _Recordset_get_Sort_Stub(
  2891. IRpcStubBuffer *This,
  2892. IRpcChannelBuffer *_pRpcChannelBuffer,
  2893. PRPC_MESSAGE _pRpcMessage,
  2894. DWORD *_pdwStubPhase);
  2895. /* [hidden][propput][id] */ HRESULT STDMETHODCALLTYPE _Recordset_put_Sort_Proxy(
  2896. _ADORecordset __RPC_FAR * This,
  2897. /* [in] */ BSTR Criteria);
  2898. void __RPC_STUB _Recordset_put_Sort_Stub(
  2899. IRpcStubBuffer *This,
  2900. IRpcChannelBuffer *_pRpcChannelBuffer,
  2901. PRPC_MESSAGE _pRpcMessage,
  2902. DWORD *_pdwStubPhase);
  2903. /* [propget][id] */ HRESULT STDMETHODCALLTYPE _Recordset_get_Status_Proxy(
  2904. _ADORecordset __RPC_FAR * This,
  2905. /* [retval][out] */ long __RPC_FAR *pl);
  2906. void __RPC_STUB _Recordset_get_Status_Stub(
  2907. IRpcStubBuffer *This,
  2908. IRpcChannelBuffer *_pRpcChannelBuffer,
  2909. PRPC_MESSAGE _pRpcMessage,
  2910. DWORD *_pdwStubPhase);
  2911. /* [propget][id] */ HRESULT STDMETHODCALLTYPE _Recordset_get_State_Proxy(
  2912. _ADORecordset __RPC_FAR * This,
  2913. /* [retval][out] */ LONG __RPC_FAR *plObjState);
  2914. void __RPC_STUB _Recordset_get_State_Stub(
  2915. IRpcStubBuffer *This,
  2916. IRpcChannelBuffer *_pRpcChannelBuffer,
  2917. PRPC_MESSAGE _pRpcMessage,
  2918. DWORD *_pdwStubPhase);
  2919. /* [id] */ HRESULT STDMETHODCALLTYPE _Recordset_Clone_Proxy(
  2920. _ADORecordset __RPC_FAR * This,
  2921. /* [retval][out] */ _ADORecordset __RPC_FAR *__RPC_FAR *ppvObject);
  2922. void __RPC_STUB _Recordset_Clone_Stub(
  2923. IRpcStubBuffer *This,
  2924. IRpcChannelBuffer *_pRpcChannelBuffer,
  2925. PRPC_MESSAGE _pRpcMessage,
  2926. DWORD *_pdwStubPhase);
  2927. /* [id] */ HRESULT STDMETHODCALLTYPE _Recordset_UpdateBatch_Proxy(
  2928. _ADORecordset __RPC_FAR * This,
  2929. /* [defaultvalue][in] */ AffectEnum AffectRecords);
  2930. void __RPC_STUB _Recordset_UpdateBatch_Stub(
  2931. IRpcStubBuffer *This,
  2932. IRpcChannelBuffer *_pRpcChannelBuffer,
  2933. PRPC_MESSAGE _pRpcMessage,
  2934. DWORD *_pdwStubPhase);
  2935. /* [id] */ HRESULT STDMETHODCALLTYPE _Recordset_CancelBatch_Proxy(
  2936. _ADORecordset __RPC_FAR * This,
  2937. /* [defaultvalue][in] */ AffectEnum AffectRecords);
  2938. void __RPC_STUB _Recordset_CancelBatch_Stub(
  2939. IRpcStubBuffer *This,
  2940. IRpcChannelBuffer *_pRpcChannelBuffer,
  2941. PRPC_MESSAGE _pRpcMessage,
  2942. DWORD *_pdwStubPhase);
  2943. /* [propget][id] */ HRESULT STDMETHODCALLTYPE _Recordset_get_CursorLocation_Proxy(
  2944. _ADORecordset __RPC_FAR * This,
  2945. /* [retval][out] */ CursorLocationEnum __RPC_FAR *plCursorLoc);
  2946. void __RPC_STUB _Recordset_get_CursorLocation_Stub(
  2947. IRpcStubBuffer *This,
  2948. IRpcChannelBuffer *_pRpcChannelBuffer,
  2949. PRPC_MESSAGE _pRpcMessage,
  2950. DWORD *_pdwStubPhase);
  2951. /* [propput][id] */ HRESULT STDMETHODCALLTYPE _Recordset_put_CursorLocation_Proxy(
  2952. _ADORecordset __RPC_FAR * This,
  2953. /* [in] */ CursorLocationEnum lCursorLoc);
  2954. void __RPC_STUB _Recordset_put_CursorLocation_Stub(
  2955. IRpcStubBuffer *This,
  2956. IRpcChannelBuffer *_pRpcChannelBuffer,
  2957. PRPC_MESSAGE _pRpcMessage,
  2958. DWORD *_pdwStubPhase);
  2959. /* [id] */ HRESULT STDMETHODCALLTYPE _Recordset_NextRecordset_Proxy(
  2960. _ADORecordset __RPC_FAR * This,
  2961. /* [optional][out] */ VARIANT __RPC_FAR *RecordsAffected,
  2962. /* [retval][out] */ _ADORecordset __RPC_FAR *__RPC_FAR *ppiRs);
  2963. void __RPC_STUB _Recordset_NextRecordset_Stub(
  2964. IRpcStubBuffer *This,
  2965. IRpcChannelBuffer *_pRpcChannelBuffer,
  2966. PRPC_MESSAGE _pRpcMessage,
  2967. DWORD *_pdwStubPhase);
  2968. /* [id] */ HRESULT STDMETHODCALLTYPE _Recordset_Supports_Proxy(
  2969. _ADORecordset __RPC_FAR * This,
  2970. /* [in] */ CursorOptionEnum CursorOptions,
  2971. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pb);
  2972. void __RPC_STUB _Recordset_Supports_Stub(
  2973. IRpcStubBuffer *This,
  2974. IRpcChannelBuffer *_pRpcChannelBuffer,
  2975. PRPC_MESSAGE _pRpcMessage,
  2976. DWORD *_pdwStubPhase);
  2977. /* [hidden][id][propget] */ HRESULT STDMETHODCALLTYPE _Recordset_get_Collect_Proxy(
  2978. _ADORecordset __RPC_FAR * This,
  2979. /* [in] */ VARIANT Index,
  2980. /* [retval][out] */ VARIANT __RPC_FAR *pvar);
  2981. void __RPC_STUB _Recordset_get_Collect_Stub(
  2982. IRpcStubBuffer *This,
  2983. IRpcChannelBuffer *_pRpcChannelBuffer,
  2984. PRPC_MESSAGE _pRpcMessage,
  2985. DWORD *_pdwStubPhase);
  2986. /* [hidden][id][propput] */ HRESULT STDMETHODCALLTYPE _Recordset_put_Collect_Proxy(
  2987. _ADORecordset __RPC_FAR * This,
  2988. /* [in] */ VARIANT Index,
  2989. /* [in] */ VARIANT value);
  2990. void __RPC_STUB _Recordset_put_Collect_Stub(
  2991. IRpcStubBuffer *This,
  2992. IRpcChannelBuffer *_pRpcChannelBuffer,
  2993. PRPC_MESSAGE _pRpcMessage,
  2994. DWORD *_pdwStubPhase);
  2995. /* [propget][id] */ HRESULT STDMETHODCALLTYPE _Recordset_get_MarshalOptions_Proxy(
  2996. _ADORecordset __RPC_FAR * This,
  2997. /* [retval][out] */ MarshalOptionsEnum __RPC_FAR *peMarshal);
  2998. void __RPC_STUB _Recordset_get_MarshalOptions_Stub(
  2999. IRpcStubBuffer *This,
  3000. IRpcChannelBuffer *_pRpcChannelBuffer,
  3001. PRPC_MESSAGE _pRpcMessage,
  3002. DWORD *_pdwStubPhase);
  3003. /* [propput][id] */ HRESULT STDMETHODCALLTYPE _Recordset_put_MarshalOptions_Proxy(
  3004. _ADORecordset __RPC_FAR * This,
  3005. /* [in] */ MarshalOptionsEnum eMarshal);
  3006. void __RPC_STUB _Recordset_put_MarshalOptions_Stub(
  3007. IRpcStubBuffer *This,
  3008. IRpcChannelBuffer *_pRpcChannelBuffer,
  3009. PRPC_MESSAGE _pRpcMessage,
  3010. DWORD *_pdwStubPhase);
  3011. /* [hidden][id] */ HRESULT STDMETHODCALLTYPE _Recordset_Find_Proxy(
  3012. _ADORecordset __RPC_FAR * This,
  3013. /* [in] */ BSTR Criteria,
  3014. /* [defaultvalue][in] */ LONG SkipRecords,
  3015. /* [defaultvalue][in] */ SearchDirectionEnum SearchDirection,
  3016. /* [optional][in] */ VARIANT Start);
  3017. void __RPC_STUB _Recordset_Find_Stub(
  3018. IRpcStubBuffer *This,
  3019. IRpcChannelBuffer *_pRpcChannelBuffer,
  3020. PRPC_MESSAGE _pRpcMessage,
  3021. DWORD *_pdwStubPhase);
  3022. #endif /* ___Recordset_INTERFACE_DEFINED__ */
  3023. #ifdef __cplusplus
  3024. EXTERN_C const CLSID CLSID_Recordset;
  3025. Recordset;
  3026. #endif
  3027. #ifndef __ADORecordsetConstruction_INTERFACE_DEFINED__
  3028. #define __ADORecordsetConstruction_INTERFACE_DEFINED__
  3029. /****************************************
  3030. * Generated header for interface: ADORecordsetConstruction
  3031. * at Thu Dec 04 08:00:50 1997
  3032. * using MIDL 3.01.75
  3033. ****************************************/
  3034. /* [object][uuid][restricted] */
  3035. EXTERN_C const IID IID_ADORecordsetConstruction;
  3036. #if defined(__cplusplus) && !defined(CINTERFACE)
  3037. interface DECLSPEC_UUID("00000283-0000-0010-8000-00AA006D2EA4")
  3038. ADORecordsetConstruction : public IDispatch
  3039. {
  3040. public:
  3041. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Rowset(
  3042. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppRowset) = 0;
  3043. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Rowset(
  3044. /* [in] */ IUnknown __RPC_FAR *pRowset) = 0;
  3045. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Chapter(
  3046. /* [retval][out] */ LONG __RPC_FAR *plChapter) = 0;
  3047. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Chapter(
  3048. /* [in] */ LONG lChapter) = 0;
  3049. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_RowPosition(
  3050. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppRowPos) = 0;
  3051. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_RowPosition(
  3052. /* [in] */ IUnknown __RPC_FAR *pRowPos) = 0;
  3053. };
  3054. #else /* C style interface */
  3055. typedef struct ADORecordsetConstructionVtbl
  3056. {
  3057. BEGIN_INTERFACE
  3058. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  3059. ADORecordsetConstruction __RPC_FAR * This,
  3060. /* [in] */ REFIID riid,
  3061. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  3062. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  3063. ADORecordsetConstruction __RPC_FAR * This);
  3064. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  3065. ADORecordsetConstruction __RPC_FAR * This);
  3066. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  3067. ADORecordsetConstruction __RPC_FAR * This,
  3068. /* [out] */ UINT __RPC_FAR *pctinfo);
  3069. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  3070. ADORecordsetConstruction __RPC_FAR * This,
  3071. /* [in] */ UINT iTInfo,
  3072. /* [in] */ LCID lcid,
  3073. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  3074. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  3075. ADORecordsetConstruction __RPC_FAR * This,
  3076. /* [in] */ REFIID riid,
  3077. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  3078. /* [in] */ UINT cNames,
  3079. /* [in] */ LCID lcid,
  3080. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  3081. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  3082. ADORecordsetConstruction __RPC_FAR * This,
  3083. /* [in] */ DISPID dispIdMember,
  3084. /* [in] */ REFIID riid,
  3085. /* [in] */ LCID lcid,
  3086. /* [in] */ WORD wFlags,
  3087. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  3088. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  3089. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  3090. /* [out] */ UINT __RPC_FAR *puArgErr);
  3091. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Rowset )(
  3092. ADORecordsetConstruction __RPC_FAR * This,
  3093. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppRowset);
  3094. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Rowset )(
  3095. ADORecordsetConstruction __RPC_FAR * This,
  3096. /* [in] */ IUnknown __RPC_FAR *pRowset);
  3097. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Chapter )(
  3098. ADORecordsetConstruction __RPC_FAR * This,
  3099. /* [retval][out] */ LONG __RPC_FAR *plChapter);
  3100. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Chapter )(
  3101. ADORecordsetConstruction __RPC_FAR * This,
  3102. /* [in] */ LONG lChapter);
  3103. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_RowPosition )(
  3104. ADORecordsetConstruction __RPC_FAR * This,
  3105. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppRowPos);
  3106. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_RowPosition )(
  3107. ADORecordsetConstruction __RPC_FAR * This,
  3108. /* [in] */ IUnknown __RPC_FAR *pRowPos);
  3109. END_INTERFACE
  3110. } ADORecordsetConstructionVtbl;
  3111. interface ADORecordsetConstruction
  3112. {
  3113. CONST_VTBL struct ADORecordsetConstructionVtbl __RPC_FAR *lpVtbl;
  3114. };
  3115. #ifdef COBJMACROS
  3116. #define ADORecordsetConstruction_QueryInterface(This,riid,ppvObject) \
  3117. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3118. #define ADORecordsetConstruction_AddRef(This) \
  3119. (This)->lpVtbl -> AddRef(This)
  3120. #define ADORecordsetConstruction_Release(This) \
  3121. (This)->lpVtbl -> Release(This)
  3122. #define ADORecordsetConstruction_GetTypeInfoCount(This,pctinfo) \
  3123. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3124. #define ADORecordsetConstruction_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3125. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3126. #define ADORecordsetConstruction_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3127. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3128. #define ADORecordsetConstruction_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3129. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3130. #define ADORecordsetConstruction_get_Rowset(This,ppRowset) \
  3131. (This)->lpVtbl -> get_Rowset(This,ppRowset)
  3132. #define ADORecordsetConstruction_put_Rowset(This,pRowset) \
  3133. (This)->lpVtbl -> put_Rowset(This,pRowset)
  3134. #define ADORecordsetConstruction_get_Chapter(This,plChapter) \
  3135. (This)->lpVtbl -> get_Chapter(This,plChapter)
  3136. #define ADORecordsetConstruction_put_Chapter(This,lChapter) \
  3137. (This)->lpVtbl -> put_Chapter(This,lChapter)
  3138. #define ADORecordsetConstruction_get_RowPosition(This,ppRowPos) \
  3139. (This)->lpVtbl -> get_RowPosition(This,ppRowPos)
  3140. #define ADORecordsetConstruction_put_RowPosition(This,pRowPos) \
  3141. (This)->lpVtbl -> put_RowPosition(This,pRowPos)
  3142. #endif /* COBJMACROS */
  3143. #endif /* C style interface */
  3144. /* [propget] */ HRESULT STDMETHODCALLTYPE ADORecordsetConstruction_get_Rowset_Proxy(
  3145. ADORecordsetConstruction __RPC_FAR * This,
  3146. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppRowset);
  3147. void __RPC_STUB ADORecordsetConstruction_get_Rowset_Stub(
  3148. IRpcStubBuffer *This,
  3149. IRpcChannelBuffer *_pRpcChannelBuffer,
  3150. PRPC_MESSAGE _pRpcMessage,
  3151. DWORD *_pdwStubPhase);
  3152. /* [propput] */ HRESULT STDMETHODCALLTYPE ADORecordsetConstruction_put_Rowset_Proxy(
  3153. ADORecordsetConstruction __RPC_FAR * This,
  3154. /* [in] */ IUnknown __RPC_FAR *pRowset);
  3155. void __RPC_STUB ADORecordsetConstruction_put_Rowset_Stub(
  3156. IRpcStubBuffer *This,
  3157. IRpcChannelBuffer *_pRpcChannelBuffer,
  3158. PRPC_MESSAGE _pRpcMessage,
  3159. DWORD *_pdwStubPhase);
  3160. /* [propget] */ HRESULT STDMETHODCALLTYPE ADORecordsetConstruction_get_Chapter_Proxy(
  3161. ADORecordsetConstruction __RPC_FAR * This,
  3162. /* [retval][out] */ LONG __RPC_FAR *plChapter);
  3163. void __RPC_STUB ADORecordsetConstruction_get_Chapter_Stub(
  3164. IRpcStubBuffer *This,
  3165. IRpcChannelBuffer *_pRpcChannelBuffer,
  3166. PRPC_MESSAGE _pRpcMessage,
  3167. DWORD *_pdwStubPhase);
  3168. /* [propput] */ HRESULT STDMETHODCALLTYPE ADORecordsetConstruction_put_Chapter_Proxy(
  3169. ADORecordsetConstruction __RPC_FAR * This,
  3170. /* [in] */ LONG lChapter);
  3171. void __RPC_STUB ADORecordsetConstruction_put_Chapter_Stub(
  3172. IRpcStubBuffer *This,
  3173. IRpcChannelBuffer *_pRpcChannelBuffer,
  3174. PRPC_MESSAGE _pRpcMessage,
  3175. DWORD *_pdwStubPhase);
  3176. /* [propget] */ HRESULT STDMETHODCALLTYPE ADORecordsetConstruction_get_RowPosition_Proxy(
  3177. ADORecordsetConstruction __RPC_FAR * This,
  3178. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppRowPos);
  3179. void __RPC_STUB ADORecordsetConstruction_get_RowPosition_Stub(
  3180. IRpcStubBuffer *This,
  3181. IRpcChannelBuffer *_pRpcChannelBuffer,
  3182. PRPC_MESSAGE _pRpcMessage,
  3183. DWORD *_pdwStubPhase);
  3184. /* [propput] */ HRESULT STDMETHODCALLTYPE ADORecordsetConstruction_put_RowPosition_Proxy(
  3185. ADORecordsetConstruction __RPC_FAR * This,
  3186. /* [in] */ IUnknown __RPC_FAR *pRowPos);
  3187. void __RPC_STUB ADORecordsetConstruction_put_RowPosition_Stub(
  3188. IRpcStubBuffer *This,
  3189. IRpcChannelBuffer *_pRpcChannelBuffer,
  3190. PRPC_MESSAGE _pRpcMessage,
  3191. DWORD *_pdwStubPhase);
  3192. #endif /* __ADORecordsetConstruction_INTERFACE_DEFINED__ */
  3193. #ifndef __Field_INTERFACE_DEFINED__
  3194. #define __Field_INTERFACE_DEFINED__
  3195. /****************************************
  3196. * Generated header for interface: Field
  3197. * at Thu Dec 04 08:00:50 1997
  3198. * using MIDL 3.01.75
  3199. ****************************************/
  3200. /* [object][helpstring][helpcontext][uuid][nonextensible][dual] */
  3201. EXTERN_C const IID IID_Field;
  3202. #if defined(__cplusplus) && !defined(CINTERFACE)
  3203. interface DECLSPEC_UUID("00000505-0000-0010-8000-00AA006D2EA4")
  3204. ADOField : public _ADO
  3205. {
  3206. public:
  3207. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_ActualSize(
  3208. /* [retval][out] */ long __RPC_FAR *pl) = 0;
  3209. virtual /* [helpstring][helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Attributes(
  3210. /* [retval][out] */ long __RPC_FAR *pl) = 0;
  3211. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_DefinedSize(
  3212. /* [retval][out] */ long __RPC_FAR *pl) = 0;
  3213. virtual /* [helpstring][helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Name(
  3214. /* [retval][out] */ BSTR __RPC_FAR *pbstr) = 0;
  3215. virtual /* [helpstring][helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Type(
  3216. /* [retval][out] */ DataTypeEnum __RPC_FAR *pDataType) = 0;
  3217. virtual /* [helpstring][helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Value(
  3218. /* [retval][out] */ VARIANT __RPC_FAR *pvar) = 0;
  3219. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Value(
  3220. /* [in] */ VARIANT Val) = 0;
  3221. virtual /* [helpstring][helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_Precision(
  3222. /* [retval][out] */ BYTE __RPC_FAR *pbPrecision) = 0;
  3223. virtual /* [helpstring][helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_NumericScale(
  3224. /* [retval][out] */ BYTE __RPC_FAR *pbNumericScale) = 0;
  3225. virtual /* [helpstring][helpcontext][id] */ HRESULT STDMETHODCALLTYPE AppendChunk(
  3226. /* [in] */ VARIANT Data) = 0;
  3227. virtual /* [helpstring][helpcontext][id] */ HRESULT STDMETHODCALLTYPE GetChunk(
  3228. /* [in] */ long Length,
  3229. /* [retval][out] */ VARIANT __RPC_FAR *pvar) = 0;
  3230. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_OriginalValue(
  3231. /* [retval][out] */ VARIANT __RPC_FAR *pvar) = 0;
  3232. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_UnderlyingValue(
  3233. /* [retval][out] */ VARIANT __RPC_FAR *pvar) = 0;
  3234. };
  3235. #else /* C style interface */
  3236. typedef struct FieldVtbl
  3237. {
  3238. BEGIN_INTERFACE
  3239. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  3240. ADOField __RPC_FAR * This,
  3241. /* [in] */ REFIID riid,
  3242. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  3243. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  3244. ADOField __RPC_FAR * This);
  3245. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  3246. ADOField __RPC_FAR * This);
  3247. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  3248. ADOField __RPC_FAR * This,
  3249. /* [out] */ UINT __RPC_FAR *pctinfo);
  3250. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  3251. ADOField __RPC_FAR * This,
  3252. /* [in] */ UINT iTInfo,
  3253. /* [in] */ LCID lcid,
  3254. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  3255. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  3256. ADOField __RPC_FAR * This,
  3257. /* [in] */ REFIID riid,
  3258. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  3259. /* [in] */ UINT cNames,
  3260. /* [in] */ LCID lcid,
  3261. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  3262. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  3263. ADOField __RPC_FAR * This,
  3264. /* [in] */ DISPID dispIdMember,
  3265. /* [in] */ REFIID riid,
  3266. /* [in] */ LCID lcid,
  3267. /* [in] */ WORD wFlags,
  3268. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  3269. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  3270. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  3271. /* [out] */ UINT __RPC_FAR *puArgErr);
  3272. /* [helpstring][helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Properties )(
  3273. ADOField __RPC_FAR * This,
  3274. /* [retval][out] */ ADOProperties __RPC_FAR *__RPC_FAR *ppvObject);
  3275. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ActualSize )(
  3276. ADOField __RPC_FAR * This,
  3277. /* [retval][out] */ long __RPC_FAR *pl);
  3278. /* [helpstring][helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Attributes )(
  3279. ADOField __RPC_FAR * This,
  3280. /* [retval][out] */ long __RPC_FAR *pl);
  3281. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_DefinedSize )(
  3282. ADOField __RPC_FAR * This,
  3283. /* [retval][out] */ long __RPC_FAR *pl);
  3284. /* [helpstring][helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Name )(
  3285. ADOField __RPC_FAR * This,
  3286. /* [retval][out] */ BSTR __RPC_FAR *pbstr);
  3287. /* [helpstring][helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Type )(
  3288. ADOField __RPC_FAR * This,
  3289. /* [retval][out] */ DataTypeEnum __RPC_FAR *pDataType);
  3290. /* [helpstring][helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Value )(
  3291. ADOField __RPC_FAR * This,
  3292. /* [retval][out] */ VARIANT __RPC_FAR *pvar);
  3293. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Value )(
  3294. ADOField __RPC_FAR * This,
  3295. /* [in] */ VARIANT Val);
  3296. /* [helpstring][helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Precision )(
  3297. ADOField __RPC_FAR * This,
  3298. /* [retval][out] */ BYTE __RPC_FAR *pbPrecision);
  3299. /* [helpstring][helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_NumericScale )(
  3300. ADOField __RPC_FAR * This,
  3301. /* [retval][out] */ BYTE __RPC_FAR *pbNumericScale);
  3302. /* [helpstring][helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AppendChunk )(
  3303. ADOField __RPC_FAR * This,
  3304. /* [in] */ VARIANT Data);
  3305. /* [helpstring][helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetChunk )(
  3306. ADOField __RPC_FAR * This,
  3307. /* [in] */ long Length,
  3308. /* [retval][out] */ VARIANT __RPC_FAR *pvar);
  3309. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_OriginalValue )(
  3310. ADOField __RPC_FAR * This,
  3311. /* [retval][out] */ VARIANT __RPC_FAR *pvar);
  3312. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_UnderlyingValue )(
  3313. ADOField __RPC_FAR * This,
  3314. /* [retval][out] */ VARIANT __RPC_FAR *pvar);
  3315. END_INTERFACE
  3316. } FieldVtbl;
  3317. interface Field
  3318. {
  3319. CONST_VTBL struct FieldVtbl __RPC_FAR *lpVtbl;
  3320. };
  3321. #ifdef COBJMACROS
  3322. #define Field_QueryInterface(This,riid,ppvObject) \
  3323. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3324. #define Field_AddRef(This) \
  3325. (This)->lpVtbl -> AddRef(This)
  3326. #define Field_Release(This) \
  3327. (This)->lpVtbl -> Release(This)
  3328. #define Field_GetTypeInfoCount(This,pctinfo) \
  3329. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3330. #define Field_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3331. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3332. #define Field_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3333. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3334. #define Field_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3335. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3336. #define Field_get_Properties(This,ppvObject) \
  3337. (This)->lpVtbl -> get_Properties(This,ppvObject)
  3338. #define Field_get_ActualSize(This,pl) \
  3339. (This)->lpVtbl -> get_ActualSize(This,pl)
  3340. #define Field_get_Attributes(This,pl) \
  3341. (This)->lpVtbl -> get_Attributes(This,pl)
  3342. #define Field_get_DefinedSize(This,pl) \
  3343. (This)->lpVtbl -> get_DefinedSize(This,pl)
  3344. #define Field_get_Name(This,pbstr) \
  3345. (This)->lpVtbl -> get_Name(This,pbstr)
  3346. #define Field_get_Type(This,pDataType) \
  3347. (This)->lpVtbl -> get_Type(This,pDataType)
  3348. #define Field_get_Value(This,pvar) \
  3349. (This)->lpVtbl -> get_Value(This,pvar)
  3350. #define Field_put_Value(This,Val) \
  3351. (This)->lpVtbl -> put_Value(This,Val)
  3352. #define Field_get_Precision(This,pbPrecision) \
  3353. (This)->lpVtbl -> get_Precision(This,pbPrecision)
  3354. #define Field_get_NumericScale(This,pbNumericScale) \
  3355. (This)->lpVtbl -> get_NumericScale(This,pbNumericScale)
  3356. #define Field_AppendChunk(This,Data) \
  3357. (This)->lpVtbl -> AppendChunk(This,Data)
  3358. #define Field_GetChunk(This,Length,pvar) \
  3359. (This)->lpVtbl -> GetChunk(This,Length,pvar)
  3360. #define Field_get_OriginalValue(This,pvar) \
  3361. (This)->lpVtbl -> get_OriginalValue(This,pvar)
  3362. #define Field_get_UnderlyingValue(This,pvar) \
  3363. (This)->lpVtbl -> get_UnderlyingValue(This,pvar)
  3364. #endif /* COBJMACROS */
  3365. #endif /* C style interface */
  3366. /* [propget][id] */ HRESULT STDMETHODCALLTYPE Field_get_ActualSize_Proxy(
  3367. ADOField __RPC_FAR * This,
  3368. /* [retval][out] */ long __RPC_FAR *pl);
  3369. void __RPC_STUB Field_get_ActualSize_Stub(
  3370. IRpcStubBuffer *This,
  3371. IRpcChannelBuffer *_pRpcChannelBuffer,
  3372. PRPC_MESSAGE _pRpcMessage,
  3373. DWORD *_pdwStubPhase);
  3374. /* [helpstring][helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Field_get_Attributes_Proxy(
  3375. ADOField __RPC_FAR * This,
  3376. /* [retval][out] */ long __RPC_FAR *pl);
  3377. void __RPC_STUB Field_get_Attributes_Stub(
  3378. IRpcStubBuffer *This,
  3379. IRpcChannelBuffer *_pRpcChannelBuffer,
  3380. PRPC_MESSAGE _pRpcMessage,
  3381. DWORD *_pdwStubPhase);
  3382. /* [propget][id] */ HRESULT STDMETHODCALLTYPE Field_get_DefinedSize_Proxy(
  3383. ADOField __RPC_FAR * This,
  3384. /* [retval][out] */ long __RPC_FAR *pl);
  3385. void __RPC_STUB Field_get_DefinedSize_Stub(
  3386. IRpcStubBuffer *This,
  3387. IRpcChannelBuffer *_pRpcChannelBuffer,
  3388. PRPC_MESSAGE _pRpcMessage,
  3389. DWORD *_pdwStubPhase);
  3390. /* [helpstring][helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Field_get_Name_Proxy(
  3391. ADOField __RPC_FAR * This,
  3392. /* [retval][out] */ BSTR __RPC_FAR *pbstr);
  3393. void __RPC_STUB Field_get_Name_Stub(
  3394. IRpcStubBuffer *This,
  3395. IRpcChannelBuffer *_pRpcChannelBuffer,
  3396. PRPC_MESSAGE _pRpcMessage,
  3397. DWORD *_pdwStubPhase);
  3398. /* [helpstring][helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Field_get_Type_Proxy(
  3399. ADOField __RPC_FAR * This,
  3400. /* [retval][out] */ DataTypeEnum __RPC_FAR *pDataType);
  3401. void __RPC_STUB Field_get_Type_Stub(
  3402. IRpcStubBuffer *This,
  3403. IRpcChannelBuffer *_pRpcChannelBuffer,
  3404. PRPC_MESSAGE _pRpcMessage,
  3405. DWORD *_pdwStubPhase);
  3406. /* [helpstring][helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Field_get_Value_Proxy(
  3407. ADOField __RPC_FAR * This,
  3408. /* [retval][out] */ VARIANT __RPC_FAR *pvar);
  3409. void __RPC_STUB Field_get_Value_Stub(
  3410. IRpcStubBuffer *This,
  3411. IRpcChannelBuffer *_pRpcChannelBuffer,
  3412. PRPC_MESSAGE _pRpcMessage,
  3413. DWORD *_pdwStubPhase);
  3414. /* [propput][id] */ HRESULT STDMETHODCALLTYPE Field_put_Value_Proxy(
  3415. ADOField __RPC_FAR * This,
  3416. /* [in] */ VARIANT Val);
  3417. void __RPC_STUB Field_put_Value_Stub(
  3418. IRpcStubBuffer *This,
  3419. IRpcChannelBuffer *_pRpcChannelBuffer,
  3420. PRPC_MESSAGE _pRpcMessage,
  3421. DWORD *_pdwStubPhase);
  3422. /* [helpstring][helpcontext][propget] */ HRESULT STDMETHODCALLTYPE Field_get_Precision_Proxy(
  3423. ADOField __RPC_FAR * This,
  3424. /* [retval][out] */ BYTE __RPC_FAR *pbPrecision);
  3425. void __RPC_STUB Field_get_Precision_Stub(
  3426. IRpcStubBuffer *This,
  3427. IRpcChannelBuffer *_pRpcChannelBuffer,
  3428. PRPC_MESSAGE _pRpcMessage,
  3429. DWORD *_pdwStubPhase);
  3430. /* [helpstring][helpcontext][propget] */ HRESULT STDMETHODCALLTYPE Field_get_NumericScale_Proxy(
  3431. ADOField __RPC_FAR * This,
  3432. /* [retval][out] */ BYTE __RPC_FAR *pbNumericScale);
  3433. void __RPC_STUB Field_get_NumericScale_Stub(
  3434. IRpcStubBuffer *This,
  3435. IRpcChannelBuffer *_pRpcChannelBuffer,
  3436. PRPC_MESSAGE _pRpcMessage,
  3437. DWORD *_pdwStubPhase);
  3438. /* [helpstring][helpcontext][id] */ HRESULT STDMETHODCALLTYPE Field_AppendChunk_Proxy(
  3439. ADOField __RPC_FAR * This,
  3440. /* [in] */ VARIANT Data);
  3441. void __RPC_STUB Field_AppendChunk_Stub(
  3442. IRpcStubBuffer *This,
  3443. IRpcChannelBuffer *_pRpcChannelBuffer,
  3444. PRPC_MESSAGE _pRpcMessage,
  3445. DWORD *_pdwStubPhase);
  3446. /* [helpstring][helpcontext][id] */ HRESULT STDMETHODCALLTYPE Field_GetChunk_Proxy(
  3447. ADOField __RPC_FAR * This,
  3448. /* [in] */ long Length,
  3449. /* [retval][out] */ VARIANT __RPC_FAR *pvar);
  3450. void __RPC_STUB Field_GetChunk_Stub(
  3451. IRpcStubBuffer *This,
  3452. IRpcChannelBuffer *_pRpcChannelBuffer,
  3453. PRPC_MESSAGE _pRpcMessage,
  3454. DWORD *_pdwStubPhase);
  3455. /* [propget][id] */ HRESULT STDMETHODCALLTYPE Field_get_OriginalValue_Proxy(
  3456. ADOField __RPC_FAR * This,
  3457. /* [retval][out] */ VARIANT __RPC_FAR *pvar);
  3458. void __RPC_STUB Field_get_OriginalValue_Stub(
  3459. IRpcStubBuffer *This,
  3460. IRpcChannelBuffer *_pRpcChannelBuffer,
  3461. PRPC_MESSAGE _pRpcMessage,
  3462. DWORD *_pdwStubPhase);
  3463. /* [propget][id] */ HRESULT STDMETHODCALLTYPE Field_get_UnderlyingValue_Proxy(
  3464. ADOField __RPC_FAR * This,
  3465. /* [retval][out] */ VARIANT __RPC_FAR *pvar);
  3466. void __RPC_STUB Field_get_UnderlyingValue_Stub(
  3467. IRpcStubBuffer *This,
  3468. IRpcChannelBuffer *_pRpcChannelBuffer,
  3469. PRPC_MESSAGE _pRpcMessage,
  3470. DWORD *_pdwStubPhase);
  3471. #endif /* __Field_INTERFACE_DEFINED__ */
  3472. #ifndef __Fields_INTERFACE_DEFINED__
  3473. #define __Fields_INTERFACE_DEFINED__
  3474. /****************************************
  3475. * Generated header for interface: Fields
  3476. * at Thu Dec 04 08:00:50 1997
  3477. * using MIDL 3.01.75
  3478. ****************************************/
  3479. /* [object][uuid][helpstring][helpcontext][nonextensible][dual] */
  3480. EXTERN_C const IID IID_Fields;
  3481. #if defined(__cplusplus) && !defined(CINTERFACE)
  3482. interface DECLSPEC_UUID("00000506-0000-0010-8000-00AA006D2EA4")
  3483. ADOFields : public _ADOCollection
  3484. {
  3485. public:
  3486. virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Item(
  3487. /* [in] */ VARIANT Index,
  3488. /* [retval][out] */ ADOField __RPC_FAR *__RPC_FAR *ppvObject) = 0;
  3489. };
  3490. #else /* C style interface */
  3491. typedef struct FieldsVtbl
  3492. {
  3493. BEGIN_INTERFACE
  3494. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  3495. ADOFields __RPC_FAR * This,
  3496. /* [in] */ REFIID riid,
  3497. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  3498. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  3499. ADOFields __RPC_FAR * This);
  3500. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  3501. ADOFields __RPC_FAR * This);
  3502. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  3503. ADOFields __RPC_FAR * This,
  3504. /* [out] */ UINT __RPC_FAR *pctinfo);
  3505. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  3506. ADOFields __RPC_FAR * This,
  3507. /* [in] */ UINT iTInfo,
  3508. /* [in] */ LCID lcid,
  3509. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  3510. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  3511. ADOFields __RPC_FAR * This,
  3512. /* [in] */ REFIID riid,
  3513. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  3514. /* [in] */ UINT cNames,
  3515. /* [in] */ LCID lcid,
  3516. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  3517. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  3518. ADOFields __RPC_FAR * This,
  3519. /* [in] */ DISPID dispIdMember,
  3520. /* [in] */ REFIID riid,
  3521. /* [in] */ LCID lcid,
  3522. /* [in] */ WORD wFlags,
  3523. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  3524. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  3525. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  3526. /* [out] */ UINT __RPC_FAR *puArgErr);
  3527. /* [helpstring][helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Count )(
  3528. ADOFields __RPC_FAR * This,
  3529. /* [retval][out] */ long __RPC_FAR *c);
  3530. /* [id][restricted] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *_NewEnum )(
  3531. ADOFields __RPC_FAR * This,
  3532. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppvObject);
  3533. /* [helpstring][helpcontext] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Refresh )(
  3534. ADOFields __RPC_FAR * This);
  3535. /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Item )(
  3536. ADOFields __RPC_FAR * This,
  3537. /* [in] */ VARIANT Index,
  3538. /* [retval][out] */ ADOField __RPC_FAR *__RPC_FAR *ppvObject);
  3539. END_INTERFACE
  3540. } FieldsVtbl;
  3541. interface Fields
  3542. {
  3543. CONST_VTBL struct FieldsVtbl __RPC_FAR *lpVtbl;
  3544. };
  3545. #ifdef COBJMACROS
  3546. #define Fields_QueryInterface(This,riid,ppvObject) \
  3547. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3548. #define Fields_AddRef(This) \
  3549. (This)->lpVtbl -> AddRef(This)
  3550. #define Fields_Release(This) \
  3551. (This)->lpVtbl -> Release(This)
  3552. #define Fields_GetTypeInfoCount(This,pctinfo) \
  3553. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3554. #define Fields_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3555. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3556. #define Fields_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3557. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3558. #define Fields_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3559. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3560. #define Fields_get_Count(This,c) \
  3561. (This)->lpVtbl -> get_Count(This,c)
  3562. #define Fields__NewEnum(This,ppvObject) \
  3563. (This)->lpVtbl -> _NewEnum(This,ppvObject)
  3564. #define Fields_Refresh(This) \
  3565. (This)->lpVtbl -> Refresh(This)
  3566. #define Fields_get_Item(This,Index,ppvObject) \
  3567. (This)->lpVtbl -> get_Item(This,Index,ppvObject)
  3568. #endif /* COBJMACROS */
  3569. #endif /* C style interface */
  3570. /* [id][propget] */ HRESULT STDMETHODCALLTYPE Fields_get_Item_Proxy(
  3571. ADOFields __RPC_FAR * This,
  3572. /* [in] */ VARIANT Index,
  3573. /* [retval][out] */ ADOField __RPC_FAR *__RPC_FAR *ppvObject);
  3574. void __RPC_STUB Fields_get_Item_Stub(
  3575. IRpcStubBuffer *This,
  3576. IRpcChannelBuffer *_pRpcChannelBuffer,
  3577. PRPC_MESSAGE _pRpcMessage,
  3578. DWORD *_pdwStubPhase);
  3579. #endif /* __Fields_INTERFACE_DEFINED__ */
  3580. #ifndef ___Parameter_INTERFACE_DEFINED__
  3581. #define ___Parameter_INTERFACE_DEFINED__
  3582. /****************************************
  3583. * Generated header for interface: _Parameter
  3584. * at Thu Dec 04 08:00:50 1997
  3585. * using MIDL 3.01.75
  3586. ****************************************/
  3587. /* [object][helpstring][helpcontext][uuid][nonextensible][dual] */
  3588. EXTERN_C const IID IID__Parameter;
  3589. #if defined(__cplusplus) && !defined(CINTERFACE)
  3590. interface DECLSPEC_UUID("0000050C-0000-0010-8000-00AA006D2EA4")
  3591. _ADOParameter : public _ADO
  3592. {
  3593. public:
  3594. virtual /* [helpstring][helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_Name(
  3595. /* [retval][out] */ BSTR __RPC_FAR *pbstr) = 0;
  3596. virtual /* [helpstring][helpcontext][propput] */ HRESULT STDMETHODCALLTYPE put_Name(
  3597. /* [in] */ BSTR bstr) = 0;
  3598. virtual /* [helpstring][helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE get_Value(
  3599. /* [retval][out] */ VARIANT __RPC_FAR *pvar) = 0;
  3600. virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_Value(
  3601. /* [in] */ VARIANT val) = 0;
  3602. virtual /* [helpstring][helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_Type(
  3603. /* [retval][out] */ DataTypeEnum __RPC_FAR *psDataType) = 0;
  3604. virtual /* [helpstring][helpcontext][propput] */ HRESULT STDMETHODCALLTYPE put_Type(
  3605. /* [in] */ DataTypeEnum sDataType) = 0;
  3606. virtual /* [helpstring][helpcontext][propput] */ HRESULT STDMETHODCALLTYPE put_Direction(
  3607. /* [in] */ ParameterDirectionEnum lParmDirection) = 0;
  3608. virtual /* [helpstring][helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_Direction(
  3609. /* [retval][out] */ ParameterDirectionEnum __RPC_FAR *plParmDirection) = 0;
  3610. virtual /* [helpstring][helpcontext][propput] */ HRESULT STDMETHODCALLTYPE put_Precision(
  3611. /* [in] */ BYTE bPrecision) = 0;
  3612. virtual /* [helpstring][helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_Precision(
  3613. /* [retval][out] */ BYTE __RPC_FAR *pbPrecision) = 0;
  3614. virtual /* [helpstring][helpcontext][propput] */ HRESULT STDMETHODCALLTYPE put_NumericScale(
  3615. /* [in] */ BYTE bScale) = 0;
  3616. virtual /* [helpstring][helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_NumericScale(
  3617. /* [retval][out] */ BYTE __RPC_FAR *pbScale) = 0;
  3618. virtual /* [helpstring][helpcontext][propput] */ HRESULT STDMETHODCALLTYPE put_Size(
  3619. /* [in] */ long l) = 0;
  3620. virtual /* [helpstring][helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_Size(
  3621. /* [retval][out] */ long __RPC_FAR *pl) = 0;
  3622. virtual HRESULT STDMETHODCALLTYPE AppendChunk(
  3623. /* [in] */ VARIANT Val) = 0;
  3624. virtual /* [helpstring][helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_Attributes(
  3625. /* [retval][out] */ LONG __RPC_FAR *plParmAttribs) = 0;
  3626. virtual /* [helpstring][helpcontext][propput] */ HRESULT STDMETHODCALLTYPE put_Attributes(
  3627. /* [in] */ LONG lParmAttribs) = 0;
  3628. };
  3629. #else /* C style interface */
  3630. typedef struct _ParameterVtbl
  3631. {
  3632. BEGIN_INTERFACE
  3633. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  3634. _ADOParameter __RPC_FAR * This,
  3635. /* [in] */ REFIID riid,
  3636. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  3637. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  3638. _ADOParameter __RPC_FAR * This);
  3639. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  3640. _ADOParameter __RPC_FAR * This);
  3641. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  3642. _ADOParameter __RPC_FAR * This,
  3643. /* [out] */ UINT __RPC_FAR *pctinfo);
  3644. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  3645. _ADOParameter __RPC_FAR * This,
  3646. /* [in] */ UINT iTInfo,
  3647. /* [in] */ LCID lcid,
  3648. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  3649. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  3650. _ADOParameter __RPC_FAR * This,
  3651. /* [in] */ REFIID riid,
  3652. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  3653. /* [in] */ UINT cNames,
  3654. /* [in] */ LCID lcid,
  3655. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  3656. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  3657. _ADOParameter __RPC_FAR * This,
  3658. /* [in] */ DISPID dispIdMember,
  3659. /* [in] */ REFIID riid,
  3660. /* [in] */ LCID lcid,
  3661. /* [in] */ WORD wFlags,
  3662. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  3663. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  3664. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  3665. /* [out] */ UINT __RPC_FAR *puArgErr);
  3666. /* [helpstring][helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Properties )(
  3667. _ADOParameter __RPC_FAR * This,
  3668. /* [retval][out] */ ADOProperties __RPC_FAR *__RPC_FAR *ppvObject);
  3669. /* [helpstring][helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Name )(
  3670. _ADOParameter __RPC_FAR * This,
  3671. /* [retval][out] */ BSTR __RPC_FAR *pbstr);
  3672. /* [helpstring][helpcontext][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Name )(
  3673. _ADOParameter __RPC_FAR * This,
  3674. /* [in] */ BSTR bstr);
  3675. /* [helpstring][helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Value )(
  3676. _ADOParameter __RPC_FAR * This,
  3677. /* [retval][out] */ VARIANT __RPC_FAR *pvar);
  3678. /* [id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Value )(
  3679. _ADOParameter __RPC_FAR * This,
  3680. /* [in] */ VARIANT val);
  3681. /* [helpstring][helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Type )(
  3682. _ADOParameter __RPC_FAR * This,
  3683. /* [retval][out] */ DataTypeEnum __RPC_FAR *psDataType);
  3684. /* [helpstring][helpcontext][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Type )(
  3685. _ADOParameter __RPC_FAR * This,
  3686. /* [in] */ DataTypeEnum sDataType);
  3687. /* [helpstring][helpcontext][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Direction )(
  3688. _ADOParameter __RPC_FAR * This,
  3689. /* [in] */ ParameterDirectionEnum lParmDirection);
  3690. /* [helpstring][helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Direction )(
  3691. _ADOParameter __RPC_FAR * This,
  3692. /* [retval][out] */ ParameterDirectionEnum __RPC_FAR *plParmDirection);
  3693. /* [helpstring][helpcontext][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Precision )(
  3694. _ADOParameter __RPC_FAR * This,
  3695. /* [in] */ BYTE bPrecision);
  3696. /* [helpstring][helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Precision )(
  3697. _ADOParameter __RPC_FAR * This,
  3698. /* [retval][out] */ BYTE __RPC_FAR *pbPrecision);
  3699. /* [helpstring][helpcontext][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_NumericScale )(
  3700. _ADOParameter __RPC_FAR * This,
  3701. /* [in] */ BYTE bScale);
  3702. /* [helpstring][helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_NumericScale )(
  3703. _ADOParameter __RPC_FAR * This,
  3704. /* [retval][out] */ BYTE __RPC_FAR *pbScale);
  3705. /* [helpstring][helpcontext][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Size )(
  3706. _ADOParameter __RPC_FAR * This,
  3707. /* [in] */ long l);
  3708. /* [helpstring][helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Size )(
  3709. _ADOParameter __RPC_FAR * This,
  3710. /* [retval][out] */ long __RPC_FAR *pl);
  3711. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AppendChunk )(
  3712. _ADOParameter __RPC_FAR * This,
  3713. /* [in] */ VARIANT Val);
  3714. /* [helpstring][helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Attributes )(
  3715. _ADOParameter __RPC_FAR * This,
  3716. /* [retval][out] */ LONG __RPC_FAR *plParmAttribs);
  3717. /* [helpstring][helpcontext][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Attributes )(
  3718. _ADOParameter __RPC_FAR * This,
  3719. /* [in] */ LONG lParmAttribs);
  3720. END_INTERFACE
  3721. } _ParameterVtbl;
  3722. interface _Parameter
  3723. {
  3724. CONST_VTBL struct _ParameterVtbl __RPC_FAR *lpVtbl;
  3725. };
  3726. #ifdef COBJMACROS
  3727. #define _Parameter_QueryInterface(This,riid,ppvObject) \
  3728. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3729. #define _Parameter_AddRef(This) \
  3730. (This)->lpVtbl -> AddRef(This)
  3731. #define _Parameter_Release(This) \
  3732. (This)->lpVtbl -> Release(This)
  3733. #define _Parameter_GetTypeInfoCount(This,pctinfo) \
  3734. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3735. #define _Parameter_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3736. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3737. #define _Parameter_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3738. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3739. #define _Parameter_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3740. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3741. #define _Parameter_get_Properties(This,ppvObject) \
  3742. (This)->lpVtbl -> get_Properties(This,ppvObject)
  3743. #define _Parameter_get_Name(This,pbstr) \
  3744. (This)->lpVtbl -> get_Name(This,pbstr)
  3745. #define _Parameter_put_Name(This,bstr) \
  3746. (This)->lpVtbl -> put_Name(This,bstr)
  3747. #define _Parameter_get_Value(This,pvar) \
  3748. (This)->lpVtbl -> get_Value(This,pvar)
  3749. #define _Parameter_put_Value(This,val) \
  3750. (This)->lpVtbl -> put_Value(This,val)
  3751. #define _Parameter_get_Type(This,psDataType) \
  3752. (This)->lpVtbl -> get_Type(This,psDataType)
  3753. #define _Parameter_put_Type(This,sDataType) \
  3754. (This)->lpVtbl -> put_Type(This,sDataType)
  3755. #define _Parameter_put_Direction(This,lParmDirection) \
  3756. (This)->lpVtbl -> put_Direction(This,lParmDirection)
  3757. #define _Parameter_get_Direction(This,plParmDirection) \
  3758. (This)->lpVtbl -> get_Direction(This,plParmDirection)
  3759. #define _Parameter_put_Precision(This,bPrecision) \
  3760. (This)->lpVtbl -> put_Precision(This,bPrecision)
  3761. #define _Parameter_get_Precision(This,pbPrecision) \
  3762. (This)->lpVtbl -> get_Precision(This,pbPrecision)
  3763. #define _Parameter_put_NumericScale(This,bScale) \
  3764. (This)->lpVtbl -> put_NumericScale(This,bScale)
  3765. #define _Parameter_get_NumericScale(This,pbScale) \
  3766. (This)->lpVtbl -> get_NumericScale(This,pbScale)
  3767. #define _Parameter_put_Size(This,l) \
  3768. (This)->lpVtbl -> put_Size(This,l)
  3769. #define _Parameter_get_Size(This,pl) \
  3770. (This)->lpVtbl -> get_Size(This,pl)
  3771. #define _Parameter_AppendChunk(This,Val) \
  3772. (This)->lpVtbl -> AppendChunk(This,Val)
  3773. #define _Parameter_get_Attributes(This,plParmAttribs) \
  3774. (This)->lpVtbl -> get_Attributes(This,plParmAttribs)
  3775. #define _Parameter_put_Attributes(This,lParmAttribs) \
  3776. (This)->lpVtbl -> put_Attributes(This,lParmAttribs)
  3777. #endif /* COBJMACROS */
  3778. #endif /* C style interface */
  3779. /* [helpstring][helpcontext][propget] */ HRESULT STDMETHODCALLTYPE _Parameter_get_Name_Proxy(
  3780. _ADOParameter __RPC_FAR * This,
  3781. /* [retval][out] */ BSTR __RPC_FAR *pbstr);
  3782. void __RPC_STUB _Parameter_get_Name_Stub(
  3783. IRpcStubBuffer *This,
  3784. IRpcChannelBuffer *_pRpcChannelBuffer,
  3785. PRPC_MESSAGE _pRpcMessage,
  3786. DWORD *_pdwStubPhase);
  3787. /* [helpstring][helpcontext][propput] */ HRESULT STDMETHODCALLTYPE _Parameter_put_Name_Proxy(
  3788. _ADOParameter __RPC_FAR * This,
  3789. /* [in] */ BSTR bstr);
  3790. void __RPC_STUB _Parameter_put_Name_Stub(
  3791. IRpcStubBuffer *This,
  3792. IRpcChannelBuffer *_pRpcChannelBuffer,
  3793. PRPC_MESSAGE _pRpcMessage,
  3794. DWORD *_pdwStubPhase);
  3795. /* [helpstring][helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE _Parameter_get_Value_Proxy(
  3796. _ADOParameter __RPC_FAR * This,
  3797. /* [retval][out] */ VARIANT __RPC_FAR *pvar);
  3798. void __RPC_STUB _Parameter_get_Value_Stub(
  3799. IRpcStubBuffer *This,
  3800. IRpcChannelBuffer *_pRpcChannelBuffer,
  3801. PRPC_MESSAGE _pRpcMessage,
  3802. DWORD *_pdwStubPhase);
  3803. /* [id][propput] */ HRESULT STDMETHODCALLTYPE _Parameter_put_Value_Proxy(
  3804. _ADOParameter __RPC_FAR * This,
  3805. /* [in] */ VARIANT val);
  3806. void __RPC_STUB _Parameter_put_Value_Stub(
  3807. IRpcStubBuffer *This,
  3808. IRpcChannelBuffer *_pRpcChannelBuffer,
  3809. PRPC_MESSAGE _pRpcMessage,
  3810. DWORD *_pdwStubPhase);
  3811. /* [helpstring][helpcontext][propget] */ HRESULT STDMETHODCALLTYPE _Parameter_get_Type_Proxy(
  3812. _ADOParameter __RPC_FAR * This,
  3813. /* [retval][out] */ DataTypeEnum __RPC_FAR *psDataType);
  3814. void __RPC_STUB _Parameter_get_Type_Stub(
  3815. IRpcStubBuffer *This,
  3816. IRpcChannelBuffer *_pRpcChannelBuffer,
  3817. PRPC_MESSAGE _pRpcMessage,
  3818. DWORD *_pdwStubPhase);
  3819. /* [helpstring][helpcontext][propput] */ HRESULT STDMETHODCALLTYPE _Parameter_put_Type_Proxy(
  3820. _ADOParameter __RPC_FAR * This,
  3821. /* [in] */ DataTypeEnum sDataType);
  3822. void __RPC_STUB _Parameter_put_Type_Stub(
  3823. IRpcStubBuffer *This,
  3824. IRpcChannelBuffer *_pRpcChannelBuffer,
  3825. PRPC_MESSAGE _pRpcMessage,
  3826. DWORD *_pdwStubPhase);
  3827. /* [helpstring][helpcontext][propput] */ HRESULT STDMETHODCALLTYPE _Parameter_put_Direction_Proxy(
  3828. _ADOParameter __RPC_FAR * This,
  3829. /* [in] */ ParameterDirectionEnum lParmDirection);
  3830. void __RPC_STUB _Parameter_put_Direction_Stub(
  3831. IRpcStubBuffer *This,
  3832. IRpcChannelBuffer *_pRpcChannelBuffer,
  3833. PRPC_MESSAGE _pRpcMessage,
  3834. DWORD *_pdwStubPhase);
  3835. /* [helpstring][helpcontext][propget] */ HRESULT STDMETHODCALLTYPE _Parameter_get_Direction_Proxy(
  3836. _ADOParameter __RPC_FAR * This,
  3837. /* [retval][out] */ ParameterDirectionEnum __RPC_FAR *plParmDirection);
  3838. void __RPC_STUB _Parameter_get_Direction_Stub(
  3839. IRpcStubBuffer *This,
  3840. IRpcChannelBuffer *_pRpcChannelBuffer,
  3841. PRPC_MESSAGE _pRpcMessage,
  3842. DWORD *_pdwStubPhase);
  3843. /* [helpstring][helpcontext][propput] */ HRESULT STDMETHODCALLTYPE _Parameter_put_Precision_Proxy(
  3844. _ADOParameter __RPC_FAR * This,
  3845. /* [in] */ BYTE bPrecision);
  3846. void __RPC_STUB _Parameter_put_Precision_Stub(
  3847. IRpcStubBuffer *This,
  3848. IRpcChannelBuffer *_pRpcChannelBuffer,
  3849. PRPC_MESSAGE _pRpcMessage,
  3850. DWORD *_pdwStubPhase);
  3851. /* [helpstring][helpcontext][propget] */ HRESULT STDMETHODCALLTYPE _Parameter_get_Precision_Proxy(
  3852. _ADOParameter __RPC_FAR * This,
  3853. /* [retval][out] */ BYTE __RPC_FAR *pbPrecision);
  3854. void __RPC_STUB _Parameter_get_Precision_Stub(
  3855. IRpcStubBuffer *This,
  3856. IRpcChannelBuffer *_pRpcChannelBuffer,
  3857. PRPC_MESSAGE _pRpcMessage,
  3858. DWORD *_pdwStubPhase);
  3859. /* [helpstring][helpcontext][propput] */ HRESULT STDMETHODCALLTYPE _Parameter_put_NumericScale_Proxy(
  3860. _ADOParameter __RPC_FAR * This,
  3861. /* [in] */ BYTE bScale);
  3862. void __RPC_STUB _Parameter_put_NumericScale_Stub(
  3863. IRpcStubBuffer *This,
  3864. IRpcChannelBuffer *_pRpcChannelBuffer,
  3865. PRPC_MESSAGE _pRpcMessage,
  3866. DWORD *_pdwStubPhase);
  3867. /* [helpstring][helpcontext][propget] */ HRESULT STDMETHODCALLTYPE _Parameter_get_NumericScale_Proxy(
  3868. _ADOParameter __RPC_FAR * This,
  3869. /* [retval][out] */ BYTE __RPC_FAR *pbScale);
  3870. void __RPC_STUB _Parameter_get_NumericScale_Stub(
  3871. IRpcStubBuffer *This,
  3872. IRpcChannelBuffer *_pRpcChannelBuffer,
  3873. PRPC_MESSAGE _pRpcMessage,
  3874. DWORD *_pdwStubPhase);
  3875. /* [helpstring][helpcontext][propput] */ HRESULT STDMETHODCALLTYPE _Parameter_put_Size_Proxy(
  3876. _ADOParameter __RPC_FAR * This,
  3877. /* [in] */ long l);
  3878. void __RPC_STUB _Parameter_put_Size_Stub(
  3879. IRpcStubBuffer *This,
  3880. IRpcChannelBuffer *_pRpcChannelBuffer,
  3881. PRPC_MESSAGE _pRpcMessage,
  3882. DWORD *_pdwStubPhase);
  3883. /* [helpstring][helpcontext][propget] */ HRESULT STDMETHODCALLTYPE _Parameter_get_Size_Proxy(
  3884. _ADOParameter __RPC_FAR * This,
  3885. /* [retval][out] */ long __RPC_FAR *pl);
  3886. void __RPC_STUB _Parameter_get_Size_Stub(
  3887. IRpcStubBuffer *This,
  3888. IRpcChannelBuffer *_pRpcChannelBuffer,
  3889. PRPC_MESSAGE _pRpcMessage,
  3890. DWORD *_pdwStubPhase);
  3891. HRESULT STDMETHODCALLTYPE _Parameter_AppendChunk_Proxy(
  3892. _ADOParameter __RPC_FAR * This,
  3893. /* [in] */ VARIANT Val);
  3894. void __RPC_STUB _Parameter_AppendChunk_Stub(
  3895. IRpcStubBuffer *This,
  3896. IRpcChannelBuffer *_pRpcChannelBuffer,
  3897. PRPC_MESSAGE _pRpcMessage,
  3898. DWORD *_pdwStubPhase);
  3899. /* [helpstring][helpcontext][propget] */ HRESULT STDMETHODCALLTYPE _Parameter_get_Attributes_Proxy(
  3900. _ADOParameter __RPC_FAR * This,
  3901. /* [retval][out] */ LONG __RPC_FAR *plParmAttribs);
  3902. void __RPC_STUB _Parameter_get_Attributes_Stub(
  3903. IRpcStubBuffer *This,
  3904. IRpcChannelBuffer *_pRpcChannelBuffer,
  3905. PRPC_MESSAGE _pRpcMessage,
  3906. DWORD *_pdwStubPhase);
  3907. /* [helpstring][helpcontext][propput] */ HRESULT STDMETHODCALLTYPE _Parameter_put_Attributes_Proxy(
  3908. _ADOParameter __RPC_FAR * This,
  3909. /* [in] */ LONG lParmAttribs);
  3910. void __RPC_STUB _Parameter_put_Attributes_Stub(
  3911. IRpcStubBuffer *This,
  3912. IRpcChannelBuffer *_pRpcChannelBuffer,
  3913. PRPC_MESSAGE _pRpcMessage,
  3914. DWORD *_pdwStubPhase);
  3915. #endif /* ___Parameter_INTERFACE_DEFINED__ */
  3916. #ifdef __cplusplus
  3917. EXTERN_C const CLSID CLSID_Parameter;
  3918. Parameter;
  3919. #endif
  3920. #ifndef __Parameters_INTERFACE_DEFINED__
  3921. #define __Parameters_INTERFACE_DEFINED__
  3922. /****************************************
  3923. * Generated header for interface: Parameters
  3924. * at Thu Dec 04 08:00:50 1997
  3925. * using MIDL 3.01.75
  3926. ****************************************/
  3927. /* [object][uuid][helpstring][helpcontext][nonextensible][dual] */
  3928. EXTERN_C const IID IID_Parameters;
  3929. #if defined(__cplusplus) && !defined(CINTERFACE)
  3930. interface DECLSPEC_UUID("0000050D-0000-0010-8000-00AA006D2EA4")
  3931. ADOParameters : public _ADODynaCollection
  3932. {
  3933. public:
  3934. virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Item(
  3935. /* [in] */ VARIANT Index,
  3936. /* [retval][out] */ _ADOParameter __RPC_FAR *__RPC_FAR *ppvObject) = 0;
  3937. };
  3938. #else /* C style interface */
  3939. typedef struct ParametersVtbl
  3940. {
  3941. BEGIN_INTERFACE
  3942. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  3943. ADOParameters __RPC_FAR * This,
  3944. /* [in] */ REFIID riid,
  3945. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  3946. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  3947. ADOParameters __RPC_FAR * This);
  3948. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  3949. ADOParameters __RPC_FAR * This);
  3950. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  3951. ADOParameters __RPC_FAR * This,
  3952. /* [out] */ UINT __RPC_FAR *pctinfo);
  3953. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  3954. ADOParameters __RPC_FAR * This,
  3955. /* [in] */ UINT iTInfo,
  3956. /* [in] */ LCID lcid,
  3957. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  3958. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  3959. ADOParameters __RPC_FAR * This,
  3960. /* [in] */ REFIID riid,
  3961. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  3962. /* [in] */ UINT cNames,
  3963. /* [in] */ LCID lcid,
  3964. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  3965. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  3966. ADOParameters __RPC_FAR * This,
  3967. /* [in] */ DISPID dispIdMember,
  3968. /* [in] */ REFIID riid,
  3969. /* [in] */ LCID lcid,
  3970. /* [in] */ WORD wFlags,
  3971. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  3972. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  3973. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  3974. /* [out] */ UINT __RPC_FAR *puArgErr);
  3975. /* [helpstring][helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Count )(
  3976. ADOParameters __RPC_FAR * This,
  3977. /* [retval][out] */ long __RPC_FAR *c);
  3978. /* [id][restricted] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *_NewEnum )(
  3979. ADOParameters __RPC_FAR * This,
  3980. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppvObject);
  3981. /* [helpstring][helpcontext] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Refresh )(
  3982. ADOParameters __RPC_FAR * This);
  3983. /* [helpstring][helpcontext] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Append )(
  3984. ADOParameters __RPC_FAR * This,
  3985. /* [in] */ IDispatch __RPC_FAR *Object);
  3986. /* [helpstring][helpcontext] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Delete )(
  3987. ADOParameters __RPC_FAR * This,
  3988. /* [in] */ VARIANT Index);
  3989. /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Item )(
  3990. ADOParameters __RPC_FAR * This,
  3991. /* [in] */ VARIANT Index,
  3992. /* [retval][out] */ _ADOParameter __RPC_FAR *__RPC_FAR *ppvObject);
  3993. END_INTERFACE
  3994. } ParametersVtbl;
  3995. interface Parameters
  3996. {
  3997. CONST_VTBL struct ParametersVtbl __RPC_FAR *lpVtbl;
  3998. };
  3999. #ifdef COBJMACROS
  4000. #define Parameters_QueryInterface(This,riid,ppvObject) \
  4001. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4002. #define Parameters_AddRef(This) \
  4003. (This)->lpVtbl -> AddRef(This)
  4004. #define Parameters_Release(This) \
  4005. (This)->lpVtbl -> Release(This)
  4006. #define Parameters_GetTypeInfoCount(This,pctinfo) \
  4007. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4008. #define Parameters_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  4009. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4010. #define Parameters_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  4011. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4012. #define Parameters_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  4013. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4014. #define Parameters_get_Count(This,c) \
  4015. (This)->lpVtbl -> get_Count(This,c)
  4016. #define Parameters__NewEnum(This,ppvObject) \
  4017. (This)->lpVtbl -> _NewEnum(This,ppvObject)
  4018. #define Parameters_Refresh(This) \
  4019. (This)->lpVtbl -> Refresh(This)
  4020. #define Parameters_Append(This,Object) \
  4021. (This)->lpVtbl -> Append(This,Object)
  4022. #define Parameters_Delete(This,Index) \
  4023. (This)->lpVtbl -> Delete(This,Index)
  4024. #define Parameters_get_Item(This,Index,ppvObject) \
  4025. (This)->lpVtbl -> get_Item(This,Index,ppvObject)
  4026. #endif /* COBJMACROS */
  4027. #endif /* C style interface */
  4028. /* [id][propget] */ HRESULT STDMETHODCALLTYPE Parameters_get_Item_Proxy(
  4029. ADOParameters __RPC_FAR * This,
  4030. /* [in] */ VARIANT Index,
  4031. /* [retval][out] */ _ADOParameter __RPC_FAR *__RPC_FAR *ppvObject);
  4032. void __RPC_STUB Parameters_get_Item_Stub(
  4033. IRpcStubBuffer *This,
  4034. IRpcChannelBuffer *_pRpcChannelBuffer,
  4035. PRPC_MESSAGE _pRpcMessage,
  4036. DWORD *_pdwStubPhase);
  4037. #endif /* __Parameters_INTERFACE_DEFINED__ */
  4038. #ifndef __Property_INTERFACE_DEFINED__
  4039. #define __Property_INTERFACE_DEFINED__
  4040. /****************************************
  4041. * Generated header for interface: Property
  4042. * at Thu Dec 04 08:00:50 1997
  4043. * using MIDL 3.01.75
  4044. ****************************************/
  4045. /* [object][helpstring][helpcontext][uuid][nonextensible][dual] */
  4046. EXTERN_C const IID IID_Property;
  4047. #if defined(__cplusplus) && !defined(CINTERFACE)
  4048. interface DECLSPEC_UUID("00000503-0000-0010-8000-00AA006D2EA4")
  4049. ADOProperty : public IDispatch
  4050. {
  4051. public:
  4052. virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Value(
  4053. /* [retval][out] */ VARIANT __RPC_FAR *pval) = 0;
  4054. virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_Value(
  4055. /* [in] */ VARIANT val) = 0;
  4056. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Name(
  4057. /* [retval][out] */ BSTR __RPC_FAR *pbstr) = 0;
  4058. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Type(
  4059. /* [retval][out] */ DataTypeEnum __RPC_FAR *ptype) = 0;
  4060. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Attributes(
  4061. /* [retval][out] */ long __RPC_FAR *plAttributes) = 0;
  4062. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Attributes(
  4063. /* [in] */ long lAttributes) = 0;
  4064. };
  4065. #else /* C style interface */
  4066. typedef struct PropertyVtbl
  4067. {
  4068. BEGIN_INTERFACE
  4069. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  4070. ADOProperty __RPC_FAR * This,
  4071. /* [in] */ REFIID riid,
  4072. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  4073. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  4074. ADOProperty __RPC_FAR * This);
  4075. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  4076. ADOProperty __RPC_FAR * This);
  4077. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  4078. ADOProperty __RPC_FAR * This,
  4079. /* [out] */ UINT __RPC_FAR *pctinfo);
  4080. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  4081. ADOProperty __RPC_FAR * This,
  4082. /* [in] */ UINT iTInfo,
  4083. /* [in] */ LCID lcid,
  4084. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  4085. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  4086. ADOProperty __RPC_FAR * This,
  4087. /* [in] */ REFIID riid,
  4088. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  4089. /* [in] */ UINT cNames,
  4090. /* [in] */ LCID lcid,
  4091. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  4092. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  4093. ADOProperty __RPC_FAR * This,
  4094. /* [in] */ DISPID dispIdMember,
  4095. /* [in] */ REFIID riid,
  4096. /* [in] */ LCID lcid,
  4097. /* [in] */ WORD wFlags,
  4098. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  4099. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  4100. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  4101. /* [out] */ UINT __RPC_FAR *puArgErr);
  4102. /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Value )(
  4103. ADOProperty __RPC_FAR * This,
  4104. /* [retval][out] */ VARIANT __RPC_FAR *pval);
  4105. /* [id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Value )(
  4106. ADOProperty __RPC_FAR * This,
  4107. /* [in] */ VARIANT val);
  4108. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Name )(
  4109. ADOProperty __RPC_FAR * This,
  4110. /* [retval][out] */ BSTR __RPC_FAR *pbstr);
  4111. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Type )(
  4112. ADOProperty __RPC_FAR * This,
  4113. /* [retval][out] */ DataTypeEnum __RPC_FAR *ptype);
  4114. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Attributes )(
  4115. ADOProperty __RPC_FAR * This,
  4116. /* [retval][out] */ long __RPC_FAR *plAttributes);
  4117. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Attributes )(
  4118. ADOProperty __RPC_FAR * This,
  4119. /* [in] */ long lAttributes);
  4120. END_INTERFACE
  4121. } PropertyVtbl;
  4122. interface Property
  4123. {
  4124. CONST_VTBL struct PropertyVtbl __RPC_FAR *lpVtbl;
  4125. };
  4126. #ifdef COBJMACROS
  4127. #define Property_QueryInterface(This,riid,ppvObject) \
  4128. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4129. #define Property_AddRef(This) \
  4130. (This)->lpVtbl -> AddRef(This)
  4131. #define Property_Release(This) \
  4132. (This)->lpVtbl -> Release(This)
  4133. #define Property_GetTypeInfoCount(This,pctinfo) \
  4134. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4135. #define Property_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  4136. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4137. #define Property_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  4138. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4139. #define Property_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  4140. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4141. #define Property_get_Value(This,pval) \
  4142. (This)->lpVtbl -> get_Value(This,pval)
  4143. #define Property_put_Value(This,val) \
  4144. (This)->lpVtbl -> put_Value(This,val)
  4145. #define Property_get_Name(This,pbstr) \
  4146. (This)->lpVtbl -> get_Name(This,pbstr)
  4147. #define Property_get_Type(This,ptype) \
  4148. (This)->lpVtbl -> get_Type(This,ptype)
  4149. #define Property_get_Attributes(This,plAttributes) \
  4150. (This)->lpVtbl -> get_Attributes(This,plAttributes)
  4151. #define Property_put_Attributes(This,lAttributes) \
  4152. (This)->lpVtbl -> put_Attributes(This,lAttributes)
  4153. #endif /* COBJMACROS */
  4154. #endif /* C style interface */
  4155. /* [id][propget] */ HRESULT STDMETHODCALLTYPE Property_get_Value_Proxy(
  4156. ADOProperty __RPC_FAR * This,
  4157. /* [retval][out] */ VARIANT __RPC_FAR *pval);
  4158. void __RPC_STUB Property_get_Value_Stub(
  4159. IRpcStubBuffer *This,
  4160. IRpcChannelBuffer *_pRpcChannelBuffer,
  4161. PRPC_MESSAGE _pRpcMessage,
  4162. DWORD *_pdwStubPhase);
  4163. /* [id][propput] */ HRESULT STDMETHODCALLTYPE Property_put_Value_Proxy(
  4164. ADOProperty __RPC_FAR * This,
  4165. /* [in] */ VARIANT val);
  4166. void __RPC_STUB Property_put_Value_Stub(
  4167. IRpcStubBuffer *This,
  4168. IRpcChannelBuffer *_pRpcChannelBuffer,
  4169. PRPC_MESSAGE _pRpcMessage,
  4170. DWORD *_pdwStubPhase);
  4171. /* [propget] */ HRESULT STDMETHODCALLTYPE Property_get_Name_Proxy(
  4172. ADOProperty __RPC_FAR * This,
  4173. /* [retval][out] */ BSTR __RPC_FAR *pbstr);
  4174. void __RPC_STUB Property_get_Name_Stub(
  4175. IRpcStubBuffer *This,
  4176. IRpcChannelBuffer *_pRpcChannelBuffer,
  4177. PRPC_MESSAGE _pRpcMessage,
  4178. DWORD *_pdwStubPhase);
  4179. /* [propget] */ HRESULT STDMETHODCALLTYPE Property_get_Type_Proxy(
  4180. ADOProperty __RPC_FAR * This,
  4181. /* [retval][out] */ DataTypeEnum __RPC_FAR *ptype);
  4182. void __RPC_STUB Property_get_Type_Stub(
  4183. IRpcStubBuffer *This,
  4184. IRpcChannelBuffer *_pRpcChannelBuffer,
  4185. PRPC_MESSAGE _pRpcMessage,
  4186. DWORD *_pdwStubPhase);
  4187. /* [propget] */ HRESULT STDMETHODCALLTYPE Property_get_Attributes_Proxy(
  4188. ADOProperty __RPC_FAR * This,
  4189. /* [retval][out] */ long __RPC_FAR *plAttributes);
  4190. void __RPC_STUB Property_get_Attributes_Stub(
  4191. IRpcStubBuffer *This,
  4192. IRpcChannelBuffer *_pRpcChannelBuffer,
  4193. PRPC_MESSAGE _pRpcMessage,
  4194. DWORD *_pdwStubPhase);
  4195. /* [propput] */ HRESULT STDMETHODCALLTYPE Property_put_Attributes_Proxy(
  4196. ADOProperty __RPC_FAR * This,
  4197. /* [in] */ long lAttributes);
  4198. void __RPC_STUB Property_put_Attributes_Stub(
  4199. IRpcStubBuffer *This,
  4200. IRpcChannelBuffer *_pRpcChannelBuffer,
  4201. PRPC_MESSAGE _pRpcMessage,
  4202. DWORD *_pdwStubPhase);
  4203. #endif /* __Property_INTERFACE_DEFINED__ */
  4204. #ifndef __Properties_INTERFACE_DEFINED__
  4205. #define __Properties_INTERFACE_DEFINED__
  4206. /****************************************
  4207. * Generated header for interface: Properties
  4208. * at Thu Dec 04 08:00:50 1997
  4209. * using MIDL 3.01.75
  4210. ****************************************/
  4211. /* [object][uuid][helpstring][helpcontext][nonextensible][dual] */
  4212. EXTERN_C const IID IID_Properties;
  4213. #if defined(__cplusplus) && !defined(CINTERFACE)
  4214. interface DECLSPEC_UUID("00000504-0000-0010-8000-00AA006D2EA4")
  4215. ADOProperties : public _ADOCollection
  4216. {
  4217. public:
  4218. virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Item(
  4219. /* [in] */ VARIANT Index,
  4220. /* [retval][out] */ ADOProperty __RPC_FAR *__RPC_FAR *ppvObject) = 0;
  4221. };
  4222. #else /* C style interface */
  4223. typedef struct PropertiesVtbl
  4224. {
  4225. BEGIN_INTERFACE
  4226. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  4227. ADOProperties __RPC_FAR * This,
  4228. /* [in] */ REFIID riid,
  4229. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  4230. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  4231. ADOProperties __RPC_FAR * This);
  4232. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  4233. ADOProperties __RPC_FAR * This);
  4234. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  4235. ADOProperties __RPC_FAR * This,
  4236. /* [out] */ UINT __RPC_FAR *pctinfo);
  4237. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  4238. ADOProperties __RPC_FAR * This,
  4239. /* [in] */ UINT iTInfo,
  4240. /* [in] */ LCID lcid,
  4241. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  4242. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  4243. ADOProperties __RPC_FAR * This,
  4244. /* [in] */ REFIID riid,
  4245. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  4246. /* [in] */ UINT cNames,
  4247. /* [in] */ LCID lcid,
  4248. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  4249. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  4250. ADOProperties __RPC_FAR * This,
  4251. /* [in] */ DISPID dispIdMember,
  4252. /* [in] */ REFIID riid,
  4253. /* [in] */ LCID lcid,
  4254. /* [in] */ WORD wFlags,
  4255. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  4256. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  4257. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  4258. /* [out] */ UINT __RPC_FAR *puArgErr);
  4259. /* [helpstring][helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Count )(
  4260. ADOProperties __RPC_FAR * This,
  4261. /* [retval][out] */ long __RPC_FAR *c);
  4262. /* [id][restricted] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *_NewEnum )(
  4263. ADOProperties __RPC_FAR * This,
  4264. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppvObject);
  4265. /* [helpstring][helpcontext] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Refresh )(
  4266. ADOProperties __RPC_FAR * This);
  4267. /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Item )(
  4268. ADOProperties __RPC_FAR * This,
  4269. /* [in] */ VARIANT Index,
  4270. /* [retval][out] */ ADOProperty __RPC_FAR *__RPC_FAR *ppvObject);
  4271. END_INTERFACE
  4272. } PropertiesVtbl;
  4273. interface Properties
  4274. {
  4275. CONST_VTBL struct PropertiesVtbl __RPC_FAR *lpVtbl;
  4276. };
  4277. #ifdef COBJMACROS
  4278. #define Properties_QueryInterface(This,riid,ppvObject) \
  4279. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4280. #define Properties_AddRef(This) \
  4281. (This)->lpVtbl -> AddRef(This)
  4282. #define Properties_Release(This) \
  4283. (This)->lpVtbl -> Release(This)
  4284. #define Properties_GetTypeInfoCount(This,pctinfo) \
  4285. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4286. #define Properties_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  4287. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4288. #define Properties_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  4289. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4290. #define Properties_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  4291. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4292. #define Properties_get_Count(This,c) \
  4293. (This)->lpVtbl -> get_Count(This,c)
  4294. #define Properties__NewEnum(This,ppvObject) \
  4295. (This)->lpVtbl -> _NewEnum(This,ppvObject)
  4296. #define Properties_Refresh(This) \
  4297. (This)->lpVtbl -> Refresh(This)
  4298. #define Properties_get_Item(This,Index,ppvObject) \
  4299. (This)->lpVtbl -> get_Item(This,Index,ppvObject)
  4300. #endif /* COBJMACROS */
  4301. #endif /* C style interface */
  4302. /* [id][propget] */ HRESULT STDMETHODCALLTYPE Properties_get_Item_Proxy(
  4303. ADOProperties __RPC_FAR * This,
  4304. /* [in] */ VARIANT Index,
  4305. /* [retval][out] */ ADOProperty __RPC_FAR *__RPC_FAR *ppvObject);
  4306. void __RPC_STUB Properties_get_Item_Stub(
  4307. IRpcStubBuffer *This,
  4308. IRpcChannelBuffer *_pRpcChannelBuffer,
  4309. PRPC_MESSAGE _pRpcMessage,
  4310. DWORD *_pdwStubPhase);
  4311. #endif /* __Properties_INTERFACE_DEFINED__ */
  4312. #endif /* __ADODB_LIBRARY_DEFINED__ */
  4313. /* Additional Prototypes for ALL interfaces */
  4314. /* end of Additional Prototypes */
  4315. #ifdef __cplusplus
  4316. }
  4317. #endif
  4318. #endif
  4319. #define ADOCommand _ADOCommand
  4320. #define ADORecordset _ADORecordset
  4321. #define ADOParameter _ADOParameter
  4322. #define ADOConnection _ADOConnection
  4323. #define ADOCollection _ADOCollection
  4324. #define ADODynaCollection _ADODynaCollection
  4325. #endif // _ADOINT_H_