AdoInt.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:471k
- //--------------------------------------------------------------------
- // File: Microsoft ADO
- //
- // Copyright: Copyright (c) Microsoft Corporation
- //
- // @doc
- //
- // @module adoint.h | ADO Interface header
- //
- // @devnote None
- //--------------------------------------------------------------------
- #ifndef _ADOINT_H_
- #define _ADOINT_H_
- #ifndef _INC_TCHAR
- #include <tchar.h>
- #endif
- #if _MSC_VER >= 1100
- #define DECLSPEC_UUID(x) __declspec(uuid(x))
- #else
- #define DECLSPEC_UUID(x)
- #endif
- #pragma warning( disable: 4049 ) /* more than 64k source lines */
- /* this ALWAYS GENERATED file contains the definitions for the interfaces */
- /* File created by MIDL compiler version 6.00.0347 */
- /* at Tue May 29 12:52:21 2001
- */
- /* Compiler settings for obji386m_bobj.odl:
- Os, W4, Zp8, env=Win32 (32b run)
- protocol : dce , ms_ext, c_ext
- error checks: allocation ref bounds_check enum stub_data
- VC __declspec() decoration level:
- __declspec(uuid()), __declspec(selectany), __declspec(novtable)
- DECLSPEC_UUID(), MIDL_INTERFACE()
- */
- //@@MIDL_FILE_HEADING( )
- /* verify that the <rpcndr.h> version is high enough to compile this file*/
- #ifndef __REQUIRED_RPCNDR_H_VERSION__
- #define __REQUIRED_RPCNDR_H_VERSION__ 440
- #endif
- #include "rpc.h"
- #include "rpcndr.h"
- #ifndef __m_bobj_h__
- #define __m_bobj_h__
- #if defined(_MSC_VER) && (_MSC_VER >= 1020)
- #pragma once
- #endif
- /* Forward Declarations */
- #ifndef ___ADOCollection_FWD_DEFINED__
- #define ___ADOCollection_FWD_DEFINED__
- typedef interface _ADOCollection _ADOCollection;
- #endif /* ___ADOCollection_FWD_DEFINED__ */
- #ifndef ___ADODynaCollection_FWD_DEFINED__
- #define ___ADODynaCollection_FWD_DEFINED__
- typedef interface _ADODynaCollection _ADODynaCollection;
- #endif /* ___ADODynaCollection_FWD_DEFINED__ */
- #ifndef ___ADO_FWD_DEFINED__
- #define ___ADO_FWD_DEFINED__
- typedef interface _ADO _ADO;
- #endif /* ___ADO_FWD_DEFINED__ */
- #ifndef __Error_FWD_DEFINED__
- #define __Error_FWD_DEFINED__
- typedef interface ADOError Error;
- #endif /* __Error_FWD_DEFINED__ */
- #ifndef __Errors_FWD_DEFINED__
- #define __Errors_FWD_DEFINED__
- typedef interface ADOErrors Errors;
- #endif /* __Errors_FWD_DEFINED__ */
- #ifndef __Command15_FWD_DEFINED__
- #define __Command15_FWD_DEFINED__
- typedef interface Command15 Command15;
- #endif /* __Command15_FWD_DEFINED__ */
- #ifndef __Command25_FWD_DEFINED__
- #define __Command25_FWD_DEFINED__
- typedef interface Command25 Command25;
- #endif /* __Command25_FWD_DEFINED__ */
- #ifndef ___Command_FWD_DEFINED__
- #define ___Command_FWD_DEFINED__
- typedef interface _ADOCommand _Command;
- #endif /* ___Command_FWD_DEFINED__ */
- #ifndef __ConnectionEventsVt_FWD_DEFINED__
- #define __ConnectionEventsVt_FWD_DEFINED__
- typedef interface ConnectionEventsVt ConnectionEventsVt;
- #endif /* __ConnectionEventsVt_FWD_DEFINED__ */
- #ifndef __RecordsetEventsVt_FWD_DEFINED__
- #define __RecordsetEventsVt_FWD_DEFINED__
- typedef interface RecordsetEventsVt RecordsetEventsVt;
- #endif /* __RecordsetEventsVt_FWD_DEFINED__ */
- #ifndef __ConnectionEvents_FWD_DEFINED__
- #define __ConnectionEvents_FWD_DEFINED__
- typedef interface ConnectionEvents ConnectionEvents;
- #endif /* __ConnectionEvents_FWD_DEFINED__ */
- #ifndef __RecordsetEvents_FWD_DEFINED__
- #define __RecordsetEvents_FWD_DEFINED__
- typedef interface RecordsetEvents RecordsetEvents;
- #endif /* __RecordsetEvents_FWD_DEFINED__ */
- #ifndef __Connection15_FWD_DEFINED__
- #define __Connection15_FWD_DEFINED__
- typedef interface Connection15 Connection15;
- #endif /* __Connection15_FWD_DEFINED__ */
- #ifndef ___Connection_FWD_DEFINED__
- #define ___Connection_FWD_DEFINED__
- typedef interface _ADOConnection _Connection;
- #endif /* ___Connection_FWD_DEFINED__ */
- #ifndef __ADOConnectionConstruction15_FWD_DEFINED__
- #define __ADOConnectionConstruction15_FWD_DEFINED__
- typedef interface ADOConnectionConstruction15 ADOConnectionConstruction15;
- #endif /* __ADOConnectionConstruction15_FWD_DEFINED__ */
- #ifndef __ADOConnectionConstruction_FWD_DEFINED__
- #define __ADOConnectionConstruction_FWD_DEFINED__
- typedef interface ADOConnectionConstruction ADOConnectionConstruction;
- #endif /* __ADOConnectionConstruction_FWD_DEFINED__ */
- #ifndef __Connection_FWD_DEFINED__
- #define __Connection_FWD_DEFINED__
- #ifdef __cplusplus
- typedef class ADOConnection Connection;
- #else
- typedef struct ADOConnection Connection;
- #endif /* __cplusplus */
- #endif /* __Connection_FWD_DEFINED__ */
- #ifndef ___Record_FWD_DEFINED__
- #define ___Record_FWD_DEFINED__
- typedef interface _ADORecord _Record;
- #endif /* ___Record_FWD_DEFINED__ */
- #ifndef __Record_FWD_DEFINED__
- #define __Record_FWD_DEFINED__
- #ifdef __cplusplus
- typedef class ADORecord Record;
- #else
- typedef struct ADORecord Record;
- #endif /* __cplusplus */
- #endif /* __Record_FWD_DEFINED__ */
- #ifndef ___Stream_FWD_DEFINED__
- #define ___Stream_FWD_DEFINED__
- typedef interface _ADOStream _Stream;
- #endif /* ___Stream_FWD_DEFINED__ */
- #ifndef __Stream_FWD_DEFINED__
- #define __Stream_FWD_DEFINED__
- #ifdef __cplusplus
- typedef class ADOStream Stream;
- #else
- typedef struct ADOStream Stream;
- #endif /* __cplusplus */
- #endif /* __Stream_FWD_DEFINED__ */
- #ifndef __ADORecordConstruction_FWD_DEFINED__
- #define __ADORecordConstruction_FWD_DEFINED__
- typedef interface ADORecordConstruction ADORecordConstruction;
- #endif /* __ADORecordConstruction_FWD_DEFINED__ */
- #ifndef __ADOStreamConstruction_FWD_DEFINED__
- #define __ADOStreamConstruction_FWD_DEFINED__
- typedef interface ADOStreamConstruction ADOStreamConstruction;
- #endif /* __ADOStreamConstruction_FWD_DEFINED__ */
- #ifndef __ADOCommandConstruction_FWD_DEFINED__
- #define __ADOCommandConstruction_FWD_DEFINED__
- typedef interface ADOCommandConstruction ADOCommandConstruction;
- #endif /* __ADOCommandConstruction_FWD_DEFINED__ */
- #ifndef __Command_FWD_DEFINED__
- #define __Command_FWD_DEFINED__
- #ifdef __cplusplus
- typedef class ADOCommand Command;
- #else
- typedef struct ADOCommand Command;
- #endif /* __cplusplus */
- #endif /* __Command_FWD_DEFINED__ */
- #ifndef __Recordset_FWD_DEFINED__
- #define __Recordset_FWD_DEFINED__
- #ifdef __cplusplus
- typedef class ADORecordset Recordset;
- #else
- typedef struct ADORecordset Recordset;
- #endif /* __cplusplus */
- #endif /* __Recordset_FWD_DEFINED__ */
- #ifndef __Recordset15_FWD_DEFINED__
- #define __Recordset15_FWD_DEFINED__
- typedef interface Recordset15 Recordset15;
- #endif /* __Recordset15_FWD_DEFINED__ */
- #ifndef __Recordset20_FWD_DEFINED__
- #define __Recordset20_FWD_DEFINED__
- typedef interface Recordset20 Recordset20;
- #endif /* __Recordset20_FWD_DEFINED__ */
- #ifndef __Recordset21_FWD_DEFINED__
- #define __Recordset21_FWD_DEFINED__
- typedef interface Recordset21 Recordset21;
- #endif /* __Recordset21_FWD_DEFINED__ */
- #ifndef ___Recordset_FWD_DEFINED__
- #define ___Recordset_FWD_DEFINED__
- typedef interface _ADORecordset _Recordset;
- #endif /* ___Recordset_FWD_DEFINED__ */
- #ifndef __ADORecordsetConstruction_FWD_DEFINED__
- #define __ADORecordsetConstruction_FWD_DEFINED__
- typedef interface ADORecordsetConstruction ADORecordsetConstruction;
- #endif /* __ADORecordsetConstruction_FWD_DEFINED__ */
- #ifndef __Field15_FWD_DEFINED__
- #define __Field15_FWD_DEFINED__
- typedef interface Field15 Field15;
- #endif /* __Field15_FWD_DEFINED__ */
- #ifndef __Field20_FWD_DEFINED__
- #define __Field20_FWD_DEFINED__
- typedef interface Field20 Field20;
- #endif /* __Field20_FWD_DEFINED__ */
- #ifndef __Field_FWD_DEFINED__
- #define __Field_FWD_DEFINED__
- typedef interface ADOField Field;
- #endif /* __Field_FWD_DEFINED__ */
- #ifndef __Fields15_FWD_DEFINED__
- #define __Fields15_FWD_DEFINED__
- typedef interface Fields15 Fields15;
- #endif /* __Fields15_FWD_DEFINED__ */
- #ifndef __Fields20_FWD_DEFINED__
- #define __Fields20_FWD_DEFINED__
- typedef interface Fields20 Fields20;
- #endif /* __Fields20_FWD_DEFINED__ */
- #ifndef __Fields_FWD_DEFINED__
- #define __Fields_FWD_DEFINED__
- typedef interface ADOFields Fields;
- #endif /* __Fields_FWD_DEFINED__ */
- #ifndef ___Parameter_FWD_DEFINED__
- #define ___Parameter_FWD_DEFINED__
- typedef interface _ADOParameter _Parameter;
- #endif /* ___Parameter_FWD_DEFINED__ */
- #ifndef __Parameter_FWD_DEFINED__
- #define __Parameter_FWD_DEFINED__
- #ifdef __cplusplus
- typedef class ADOParameter Parameter;
- #else
- typedef struct ADOParameter Parameter;
- #endif /* __cplusplus */
- #endif /* __Parameter_FWD_DEFINED__ */
- #ifndef __Parameters_FWD_DEFINED__
- #define __Parameters_FWD_DEFINED__
- typedef interface ADOParameters Parameters;
- #endif /* __Parameters_FWD_DEFINED__ */
- #ifndef __Property_FWD_DEFINED__
- #define __Property_FWD_DEFINED__
- typedef interface ADOProperty Property;
- #endif /* __Property_FWD_DEFINED__ */
- #ifndef __Properties_FWD_DEFINED__
- #define __Properties_FWD_DEFINED__
- typedef interface ADOProperties Properties;
- #endif /* __Properties_FWD_DEFINED__ */
- #ifdef __cplusplus
- extern "C"{
- #endif
- void * __RPC_USER MIDL_user_allocate(size_t);
- void __RPC_USER MIDL_user_free( void * );
- /* interface __MIDL_itf_m_bobj_0000 */
- /* [local] */
- #if 0
- typedef /* [uuid][public] */ DECLSPEC_UUID("54D8B4B9-663B-4a9c-95F6-0E749ABD70F1") __int64 ADO_LONGPTR;
- typedef /* [uuid][public] */ DECLSPEC_UUID("54D8B4B9-663B-4a9c-95F6-0E749ABD70F1") long ADO_LONGPTR;
- #endif
- #ifdef _WIN64
- // Number of rows
- typedef LONGLONG ADO_LONGPTR;
- #else
- // Number of rows
- typedef LONG ADO_LONGPTR;
- #endif // _WIN64
- extern RPC_IF_HANDLE __MIDL_itf_m_bobj_0000_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_m_bobj_0000_v0_0_s_ifspec;
- #ifndef __ADODB_LIBRARY_DEFINED__
- #define __ADODB_LIBRARY_DEFINED__
- /* library ADODB */
- /* [helpstring][helpfile][version][uuid] */
- typedef /* [uuid][helpcontext][public] */ DECLSPEC_UUID("0000051B-0000-0010-8000-00AA006D2EA4")
- enum CursorTypeEnum
- { adOpenUnspecified = -1,
- adOpenForwardOnly = 0,
- adOpenKeyset = 1,
- adOpenDynamic = 2,
- adOpenStatic = 3
- } CursorTypeEnum;
- typedef /* [uuid][helpcontext] */ DECLSPEC_UUID("0000051C-0000-0010-8000-00AA006D2EA4")
- enum CursorOptionEnum
- { adHoldRecords = 0x100,
- adMovePrevious = 0x200,
- adAddNew = 0x1000400,
- adDelete = 0x1000800,
- adUpdate = 0x1008000,
- adBookmark = 0x2000,
- adApproxPosition = 0x4000,
- adUpdateBatch = 0x10000,
- adResync = 0x20000,
- adNotify = 0x40000,
- adFind = 0x80000,
- adSeek = 0x400000,
- adIndex = 0x800000
- } CursorOptionEnum;
- typedef /* [uuid][helpcontext] */ DECLSPEC_UUID("0000051D-0000-0010-8000-00AA006D2EA4")
- enum LockTypeEnum
- { adLockUnspecified = -1,
- adLockReadOnly = 1,
- adLockPessimistic = 2,
- adLockOptimistic = 3,
- adLockBatchOptimistic = 4
- } LockTypeEnum;
- typedef /* [uuid][helpcontext] */ DECLSPEC_UUID("0000051E-0000-0010-8000-00AA006D2EA4")
- enum ExecuteOptionEnum
- { adOptionUnspecified = -1,
- adAsyncExecute = 0x10,
- adAsyncFetch = 0x20,
- adAsyncFetchNonBlocking = 0x40,
- adExecuteNoRecords = 0x80,
- adExecuteStream = 0x400,
- adExecuteRecord = 0x800
- } ExecuteOptionEnum;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000541-0000-0010-8000-00AA006D2EA4")
- enum ConnectOptionEnum
- { adConnectUnspecified = -1,
- adAsyncConnect = 0x10
- } ConnectOptionEnum;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000532-0000-0010-8000-00AA006D2EA4")
- enum ObjectStateEnum
- { adStateClosed = 0,
- adStateOpen = 0x1,
- adStateConnecting = 0x2,
- adStateExecuting = 0x4,
- adStateFetching = 0x8
- } ObjectStateEnum;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("0000052F-0000-0010-8000-00AA006D2EA4")
- enum CursorLocationEnum
- { adUseNone = 1,
- adUseServer = 2,
- adUseClient = 3,
- adUseClientBatch = 3
- } CursorLocationEnum;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("0000051F-0000-0010-8000-00AA006D2EA4")
- enum DataTypeEnum
- { adEmpty = 0,
- adTinyInt = 16,
- adSmallInt = 2,
- adInteger = 3,
- adBigInt = 20,
- adUnsignedTinyInt = 17,
- adUnsignedSmallInt = 18,
- adUnsignedInt = 19,
- adUnsignedBigInt = 21,
- adSingle = 4,
- adDouble = 5,
- adCurrency = 6,
- adDecimal = 14,
- adNumeric = 131,
- adBoolean = 11,
- adError = 10,
- adUserDefined = 132,
- adVariant = 12,
- adIDispatch = 9,
- adIUnknown = 13,
- adGUID = 72,
- adDate = 7,
- adDBDate = 133,
- adDBTime = 134,
- adDBTimeStamp = 135,
- adBSTR = 8,
- adChar = 129,
- adVarChar = 200,
- adLongVarChar = 201,
- adWChar = 130,
- adVarWChar = 202,
- adLongVarWChar = 203,
- adBinary = 128,
- adVarBinary = 204,
- adLongVarBinary = 205,
- adChapter = 136,
- adFileTime = 64,
- adPropVariant = 138,
- adVarNumeric = 139,
- adArray = 0x2000
- } DataTypeEnum;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000525-0000-0010-8000-00AA006D2EA4")
- enum FieldAttributeEnum
- { adFldUnspecified = -1,
- adFldMayDefer = 0x2,
- adFldUpdatable = 0x4,
- adFldUnknownUpdatable = 0x8,
- adFldFixed = 0x10,
- adFldIsNullable = 0x20,
- adFldMayBeNull = 0x40,
- adFldLong = 0x80,
- adFldRowID = 0x100,
- adFldRowVersion = 0x200,
- adFldCacheDeferred = 0x1000,
- adFldIsChapter = 0x2000,
- adFldNegativeScale = 0x4000,
- adFldKeyColumn = 0x8000,
- adFldIsRowURL = 0x10000,
- adFldIsDefaultStream = 0x20000,
- adFldIsCollection = 0x40000
- } FieldAttributeEnum;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000526-0000-0010-8000-00AA006D2EA4")
- enum EditModeEnum
- { adEditNone = 0,
- adEditInProgress = 0x1,
- adEditAdd = 0x2,
- adEditDelete = 0x4
- } EditModeEnum;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000527-0000-0010-8000-00AA006D2EA4")
- enum RecordStatusEnum
- { adRecOK = 0,
- adRecNew = 0x1,
- adRecModified = 0x2,
- adRecDeleted = 0x4,
- adRecUnmodified = 0x8,
- adRecInvalid = 0x10,
- adRecMultipleChanges = 0x40,
- adRecPendingChanges = 0x80,
- adRecCanceled = 0x100,
- adRecCantRelease = 0x400,
- adRecConcurrencyViolation = 0x800,
- adRecIntegrityViolation = 0x1000,
- adRecMaxChangesExceeded = 0x2000,
- adRecObjectOpen = 0x4000,
- adRecOutOfMemory = 0x8000,
- adRecPermissionDenied = 0x10000,
- adRecSchemaViolation = 0x20000,
- adRecDBDeleted = 0x40000
- } RecordStatusEnum;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000542-0000-0010-8000-00AA006D2EA4")
- enum GetRowsOptionEnum
- { adGetRowsRest = -1
- } GetRowsOptionEnum;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000528-0000-0010-8000-00AA006D2EA4")
- enum PositionEnum
- { adPosUnknown = -1,
- adPosBOF = -2,
- adPosEOF = -3
- } PositionEnum;
- #if 0
- typedef /* [uuid][public] */ DECLSPEC_UUID("A56187C5-D690-4037-AE32-A00EDC376AC3") ADO_LONGPTR PositionEnum_Param;
- typedef /* [uuid][public] */ DECLSPEC_UUID("A56187C5-D690-4037-AE32-A00EDC376AC3") PositionEnum PositionEnum_Param;
- #endif
- #ifdef _WIN64
- typedef ADO_LONGPTR PositionEnum_Param;
- #else
- typedef PositionEnum PositionEnum_Param;
- #endif
- typedef /* [helpcontext] */
- enum BookmarkEnum
- { adBookmarkCurrent = 0,
- adBookmarkFirst = 1,
- adBookmarkLast = 2
- } BookmarkEnum;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000540-0000-0010-8000-00AA006D2EA4")
- enum MarshalOptionsEnum
- { adMarshalAll = 0,
- adMarshalModifiedOnly = 1
- } MarshalOptionsEnum;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000543-0000-0010-8000-00AA006D2EA4")
- enum AffectEnum
- { adAffectCurrent = 1,
- adAffectGroup = 2,
- adAffectAll = 3,
- adAffectAllChapters = 4
- } AffectEnum;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000544-0000-0010-8000-00AA006D2EA4")
- enum ResyncEnum
- { adResyncUnderlyingValues = 1,
- adResyncAllValues = 2
- } ResyncEnum;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000545-0000-0010-8000-00AA006D2EA4")
- enum CompareEnum
- { adCompareLessThan = 0,
- adCompareEqual = 1,
- adCompareGreaterThan = 2,
- adCompareNotEqual = 3,
- adCompareNotComparable = 4
- } CompareEnum;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000546-0000-0010-8000-00AA006D2EA4")
- enum FilterGroupEnum
- { adFilterNone = 0,
- adFilterPendingRecords = 1,
- adFilterAffectedRecords = 2,
- adFilterFetchedRecords = 3,
- adFilterPredicate = 4,
- adFilterConflictingRecords = 5
- } FilterGroupEnum;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000547-0000-0010-8000-00AA006D2EA4")
- enum SearchDirectionEnum
- { adSearchForward = 1,
- adSearchBackward = -1
- } SearchDirectionEnum;
- typedef /* [hidden] */ SearchDirectionEnum SearchDirection;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000548-0000-0010-8000-00AA006D2EA4")
- enum PersistFormatEnum
- { adPersistADTG = 0,
- adPersistXML = 1
- } PersistFormatEnum;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000549-0000-0010-8000-00AA006D2EA4")
- enum StringFormatEnum
- { adClipString = 2
- } StringFormatEnum;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000520-0000-0010-8000-00AA006D2EA4")
- enum ConnectPromptEnum
- { adPromptAlways = 1,
- adPromptComplete = 2,
- adPromptCompleteRequired = 3,
- adPromptNever = 4
- } ConnectPromptEnum;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000521-0000-0010-8000-00AA006D2EA4")
- enum ConnectModeEnum
- { adModeUnknown = 0,
- adModeRead = 1,
- adModeWrite = 2,
- adModeReadWrite = 3,
- adModeShareDenyRead = 4,
- adModeShareDenyWrite = 8,
- adModeShareExclusive = 0xc,
- adModeShareDenyNone = 0x10,
- adModeRecursive = 0x400000
- } ConnectModeEnum;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000570-0000-0010-8000-00AA006D2EA4")
- enum RecordCreateOptionsEnum
- { adCreateCollection = 0x2000,
- adCreateStructDoc = 0x80000000,
- adCreateNonCollection = 0,
- adOpenIfExists = 0x2000000,
- adCreateOverwrite = 0x4000000,
- adFailIfNotExists = -1
- } RecordCreateOptionsEnum;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000571-0000-0010-8000-00AA006D2EA4")
- enum RecordOpenOptionsEnum
- { adOpenRecordUnspecified = -1,
- adOpenSource = 0x800000,
- adOpenOutput = 0x800000,
- adOpenAsync = 0x1000,
- adDelayFetchStream = 0x4000,
- adDelayFetchFields = 0x8000,
- adOpenExecuteCommand = 0x10000
- } RecordOpenOptionsEnum;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000523-0000-0010-8000-00AA006D2EA4")
- enum IsolationLevelEnum
- { adXactUnspecified = 0xffffffff,
- adXactChaos = 0x10,
- adXactReadUncommitted = 0x100,
- adXactBrowse = 0x100,
- adXactCursorStability = 0x1000,
- adXactReadCommitted = 0x1000,
- adXactRepeatableRead = 0x10000,
- adXactSerializable = 0x100000,
- adXactIsolated = 0x100000
- } IsolationLevelEnum;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000524-0000-0010-8000-00AA006D2EA4")
- enum XactAttributeEnum
- { adXactCommitRetaining = 0x20000,
- adXactAbortRetaining = 0x40000,
- adXactAsyncPhaseOne = 0x80000,
- adXactSyncPhaseOne = 0x100000
- } XactAttributeEnum;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000529-0000-0010-8000-00AA006D2EA4")
- enum PropertyAttributesEnum
- { adPropNotSupported = 0,
- adPropRequired = 0x1,
- adPropOptional = 0x2,
- adPropRead = 0x200,
- adPropWrite = 0x400
- } PropertyAttributesEnum;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("0000052A-0000-0010-8000-00AA006D2EA4")
- enum ErrorValueEnum
- { adErrProviderFailed = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xbb8),
- adErrInvalidArgument = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xbb9),
- adErrOpeningFile = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xbba),
- adErrReadFile = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xbbb),
- adErrWriteFile = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xbbc),
- adErrNoCurrentRecord = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xbcd),
- adErrIllegalOperation = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xc93),
- adErrCantChangeProvider = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xc94),
- adErrInTransaction = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xcae),
- adErrFeatureNotAvailable = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xcb3),
- adErrItemNotFound = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xcc1),
- adErrObjectInCollection = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xd27),
- adErrObjectNotSet = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xd5c),
- adErrDataConversion = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xd5d),
- adErrObjectClosed = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe78),
- adErrObjectOpen = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe79),
- adErrProviderNotFound = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe7a),
- adErrBoundToCommand = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe7b),
- adErrInvalidParamInfo = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe7c),
- adErrInvalidConnection = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe7d),
- adErrNotReentrant = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe7e),
- adErrStillExecuting = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe7f),
- adErrOperationCancelled = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe80),
- adErrStillConnecting = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe81),
- adErrInvalidTransaction = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe82),
- adErrNotExecuting = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe83),
- adErrUnsafeOperation = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe84),
- adwrnSecurityDialog = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe85),
- adwrnSecurityDialogHeader = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe86),
- adErrIntegrityViolation = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe87),
- adErrPermissionDenied = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe88),
- adErrDataOverflow = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe89),
- adErrSchemaViolation = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe8a),
- adErrSignMismatch = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe8b),
- adErrCantConvertvalue = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe8c),
- adErrCantCreate = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe8d),
- adErrColumnNotOnThisRow = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe8e),
- adErrURLDoesNotExist = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe8f),
- adErrTreePermissionDenied = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe90),
- adErrInvalidURL = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe91),
- adErrResourceLocked = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe92),
- adErrResourceExists = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe93),
- adErrCannotComplete = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe94),
- adErrVolumeNotFound = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe95),
- adErrOutOfSpace = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe96),
- adErrResourceOutOfScope = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe97),
- adErrUnavailable = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe98),
- adErrURLNamedRowDoesNotExist = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe99),
- adErrDelResOutOfScope = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe9a),
- adErrPropInvalidColumn = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe9b),
- adErrPropInvalidOption = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe9c),
- adErrPropInvalidValue = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe9d),
- adErrPropConflicting = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe9e),
- adErrPropNotAllSettable = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xe9f),
- adErrPropNotSet = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xea0),
- adErrPropNotSettable = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xea1),
- adErrPropNotSupported = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xea2),
- adErrCatalogNotSet = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xea3),
- adErrCantChangeConnection = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xea4),
- adErrFieldsUpdateFailed = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xea5),
- adErrDenyNotSupported = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xea6),
- adErrDenyTypeNotSupported = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xea7),
- adErrProviderNotSpecified = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_CONTROL, 0xea9),
- } ErrorValueEnum;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("0000052B-0000-0010-8000-00AA006D2EA4")
- enum ParameterAttributesEnum
- { adParamSigned = 0x10,
- adParamNullable = 0x40,
- adParamLong = 0x80
- } ParameterAttributesEnum;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("0000052C-0000-0010-8000-00AA006D2EA4")
- enum ParameterDirectionEnum
- { adParamUnknown = 0,
- adParamInput = 0x1,
- adParamOutput = 0x2,
- adParamInputOutput = 0x3,
- adParamReturnValue = 0x4
- } ParameterDirectionEnum;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("0000052E-0000-0010-8000-00AA006D2EA4")
- enum CommandTypeEnum
- { adCmdUnspecified = -1,
- adCmdUnknown = 0x8,
- adCmdText = 0x1,
- adCmdTable = 0x2,
- adCmdStoredProc = 0x4,
- adCmdFile = 0x100,
- adCmdTableDirect = 0x200
- } CommandTypeEnum;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000530-0000-0010-8000-00AA006D2EA4")
- enum EventStatusEnum
- { adStatusOK = 0x1,
- adStatusErrorsOccurred = 0x2,
- adStatusCantDeny = 0x3,
- adStatusCancel = 0x4,
- adStatusUnwantedEvent = 0x5
- } EventStatusEnum;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000531-0000-0010-8000-00AA006D2EA4")
- enum EventReasonEnum
- { adRsnAddNew = 1,
- adRsnDelete = 2,
- adRsnUpdate = 3,
- adRsnUndoUpdate = 4,
- adRsnUndoAddNew = 5,
- adRsnUndoDelete = 6,
- adRsnRequery = 7,
- adRsnResynch = 8,
- adRsnClose = 9,
- adRsnMove = 10,
- adRsnFirstChange = 11,
- adRsnMoveFirst = 12,
- adRsnMoveNext = 13,
- adRsnMovePrevious = 14,
- adRsnMoveLast = 15
- } EventReasonEnum;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000533-0000-0010-8000-00AA006D2EA4")
- enum SchemaEnum
- { adSchemaProviderSpecific = -1,
- adSchemaAsserts = 0,
- adSchemaCatalogs = 1,
- adSchemaCharacterSets = 2,
- adSchemaCollations = 3,
- adSchemaColumns = 4,
- adSchemaCheckConstraints = 5,
- adSchemaConstraintColumnUsage = 6,
- adSchemaConstraintTableUsage = 7,
- adSchemaKeyColumnUsage = 8,
- adSchemaReferentialContraints = 9,
- adSchemaReferentialConstraints = 9,
- adSchemaTableConstraints = 10,
- adSchemaColumnsDomainUsage = 11,
- adSchemaIndexes = 12,
- adSchemaColumnPrivileges = 13,
- adSchemaTablePrivileges = 14,
- adSchemaUsagePrivileges = 15,
- adSchemaProcedures = 16,
- adSchemaSchemata = 17,
- adSchemaSQLLanguages = 18,
- adSchemaStatistics = 19,
- adSchemaTables = 20,
- adSchemaTranslations = 21,
- adSchemaProviderTypes = 22,
- adSchemaViews = 23,
- adSchemaViewColumnUsage = 24,
- adSchemaViewTableUsage = 25,
- adSchemaProcedureParameters = 26,
- adSchemaForeignKeys = 27,
- adSchemaPrimaryKeys = 28,
- adSchemaProcedureColumns = 29,
- adSchemaDBInfoKeywords = 30,
- adSchemaDBInfoLiterals = 31,
- adSchemaCubes = 32,
- adSchemaDimensions = 33,
- adSchemaHierarchies = 34,
- adSchemaLevels = 35,
- adSchemaMeasures = 36,
- adSchemaProperties = 37,
- adSchemaMembers = 38,
- adSchemaTrustees = 39,
- adSchemaFunctions = 40,
- adSchemaActions = 41,
- adSchemaCommands = 42,
- adSchemaSets = 43
- } SchemaEnum;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("0000057E-0000-0010-8000-00AA006D2EA4")
- enum FieldStatusEnum
- { adFieldOK = 0,
- adFieldCantConvertValue = 2,
- adFieldIsNull = 3,
- adFieldTruncated = 4,
- adFieldSignMismatch = 5,
- adFieldDataOverflow = 6,
- adFieldCantCreate = 7,
- adFieldUnavailable = 8,
- adFieldPermissionDenied = 9,
- adFieldIntegrityViolation = 10,
- adFieldSchemaViolation = 11,
- adFieldBadStatus = 12,
- adFieldDefault = 13,
- adFieldIgnore = 15,
- adFieldDoesNotExist = 16,
- adFieldInvalidURL = 17,
- adFieldResourceLocked = 18,
- adFieldResourceExists = 19,
- adFieldCannotComplete = 20,
- adFieldVolumeNotFound = 21,
- adFieldOutOfSpace = 22,
- adFieldCannotDeleteSource = 23,
- adFieldReadOnly = 24,
- adFieldResourceOutOfScope = 25,
- adFieldAlreadyExists = 26,
- adFieldPendingInsert = 0x10000,
- adFieldPendingDelete = 0x20000,
- adFieldPendingChange = 0x40000,
- adFieldPendingUnknown = 0x80000,
- adFieldPendingUnknownDelete = 0x100000
- } FieldStatusEnum;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000552-0000-0010-8000-00AA006D2EA4")
- enum SeekEnum
- { adSeekFirstEQ = 0x1,
- adSeekLastEQ = 0x2,
- adSeekAfterEQ = 0x4,
- adSeekAfter = 0x8,
- adSeekBeforeEQ = 0x10,
- adSeekBefore = 0x20
- } SeekEnum;
- #ifndef _COMMON_ADC_AND_ADO_PROPS_
- #define _COMMON_ADC_AND_ADO_PROPS_
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("0000054A-0000-0010-8000-00AA006D2EA4")
- enum ADCPROP_UPDATECRITERIA_ENUM
- { adCriteriaKey = 0,
- adCriteriaAllCols = 1,
- adCriteriaUpdCols = 2,
- adCriteriaTimeStamp = 3
- } ADCPROP_UPDATECRITERIA_ENUM;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("0000054B-0000-0010-8000-00AA006D2EA4")
- enum ADCPROP_ASYNCTHREADPRIORITY_ENUM
- { adPriorityLowest = 1,
- adPriorityBelowNormal = 2,
- adPriorityNormal = 3,
- adPriorityAboveNormal = 4,
- adPriorityHighest = 5
- } ADCPROP_ASYNCTHREADPRIORITY_ENUM;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000554-0000-0010-8000-00AA006D2EA4")
- enum ADCPROP_AUTORECALC_ENUM
- { adRecalcUpFront = 0,
- adRecalcAlways = 1
- } ADCPROP_AUTORECALC_ENUM;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000553-0000-0010-8000-00AA006D2EA4")
- enum ADCPROP_UPDATERESYNC_ENUM
- { adResyncNone = 0,
- adResyncAutoIncrement = 1,
- adResyncConflicts = 2,
- adResyncUpdates = 4,
- adResyncInserts = 8,
- adResyncAll = 15
- } ADCPROP_UPDATERESYNC_ENUM;
- #endif /* _COMMON_ADC_AND_ADO_PROPS_ */
- typedef ADCPROP_UPDATERESYNC_ENUM CEResyncEnum;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000573-0000-0010-8000-00AA006D2EA4")
- enum MoveRecordOptionsEnum
- { adMoveUnspecified = -1,
- adMoveOverWrite = 1,
- adMoveDontUpdateLinks = 2,
- adMoveAllowEmulation = 4
- } MoveRecordOptionsEnum;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000574-0000-0010-8000-00AA006D2EA4")
- enum CopyRecordOptionsEnum
- { adCopyUnspecified = -1,
- adCopyOverWrite = 1,
- adCopyAllowEmulation = 4,
- adCopyNonRecursive = 2
- } CopyRecordOptionsEnum;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000576-0000-0010-8000-00AA006D2EA4")
- enum StreamTypeEnum
- { adTypeBinary = 1,
- adTypeText = 2
- } StreamTypeEnum;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("00000577-0000-0010-8000-00AA006D2EA4")
- enum LineSeparatorEnum
- { adLF = 10,
- adCR = 13,
- adCRLF = -1
- } LineSeparatorEnum;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("0000057A-0000-0010-8000-00AA006D2EA4")
- enum StreamOpenOptionsEnum
- { adOpenStreamUnspecified = -1,
- adOpenStreamAsync = 1,
- adOpenStreamFromRecord = 4
- } StreamOpenOptionsEnum;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("0000057B-0000-0010-8000-00AA006D2EA4")
- enum StreamWriteEnum
- { adWriteChar = 0,
- adWriteLine = 1,
- stWriteChar = 0,
- stWriteLine = 1
- } StreamWriteEnum;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("0000057C-0000-0010-8000-00AA006D2EA4")
- enum SaveOptionsEnum
- { adSaveCreateNotExist = 1,
- adSaveCreateOverWrite = 2
- } SaveOptionsEnum;
- typedef /* [helpcontext] */
- enum FieldEnum
- { adDefaultStream = -1,
- adRecordURL = -2
- } FieldEnum;
- typedef /* [helpcontext] */
- enum StreamReadEnum
- { adReadAll = -1,
- adReadLine = -2
- } StreamReadEnum;
- typedef /* [helpcontext][uuid] */ DECLSPEC_UUID("0000057D-0000-0010-8000-00AA006D2EA4")
- enum RecordTypeEnum
- { adSimpleRecord = 0,
- adCollectionRecord = 1,
- adStructDoc = 2
- } RecordTypeEnum;
- EXTERN_C const IID LIBID_ADODB;
- #ifndef ___ADOCollection_INTERFACE_DEFINED__
- #define ___ADOCollection_INTERFACE_DEFINED__
- /* interface _ADOCollection */
- /* [object][uuid][nonextensible][dual] */
- EXTERN_C const IID IID__ADOCollection;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("00000512-0000-0010-8000-00AA006D2EA4")
- _ADOCollection : public IDispatch
- {
- public:
- virtual /* [id][helpcontext][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
- /* [retval][out] */ long *c) = 0;
-
- virtual /* [id][restricted] */ HRESULT STDMETHODCALLTYPE _NewEnum(
- /* [retval][out] */ IUnknown **ppvObject) = 0;
-
- virtual /* [id][helpcontext] */ HRESULT STDMETHODCALLTYPE Refresh( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct _ADOCollectionVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- _ADOCollection * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- _ADOCollection * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- _ADOCollection * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- _ADOCollection * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- _ADOCollection * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- _ADOCollection * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- _ADOCollection * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [id][helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
- _ADOCollection * This,
- /* [retval][out] */ long *c);
-
- /* [id][restricted] */ HRESULT ( STDMETHODCALLTYPE *_NewEnum )(
- _ADOCollection * This,
- /* [retval][out] */ IUnknown **ppvObject);
-
- /* [id][helpcontext] */ HRESULT ( STDMETHODCALLTYPE *Refresh )(
- _ADOCollection * This);
-
- END_INTERFACE
- } _ADOCollectionVtbl;
- interface _ADOCollection
- {
- CONST_VTBL struct _ADOCollectionVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define _ADOCollection_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define _ADOCollection_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define _ADOCollection_Release(This)
- (This)->lpVtbl -> Release(This)
- #define _ADOCollection_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define _ADOCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define _ADOCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define _ADOCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define _Collection_get_Count(This,c)
- (This)->lpVtbl -> get_Count(This,c)
- #define _ADOCollection__NewEnum(This,ppvObject)
- (This)->lpVtbl -> _NewEnum(This,ppvObject)
- #define _ADOCollection_Refresh(This)
- (This)->lpVtbl -> Refresh(This)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [id][helpcontext][propget] */ HRESULT STDMETHODCALLTYPE _Collection_get_Count_Proxy(
- _ADOCollection * This,
- /* [retval][out] */ long *c);
- void __RPC_STUB _Collection_get_Count_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][restricted] */ HRESULT STDMETHODCALLTYPE _ADOCollection__NewEnum_Proxy(
- _ADOCollection * This,
- /* [retval][out] */ IUnknown **ppvObject);
- void __RPC_STUB _ADOCollection__NewEnum_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpcontext] */ HRESULT STDMETHODCALLTYPE _ADOCollection_Refresh_Proxy(
- _ADOCollection * This);
- void __RPC_STUB _ADOCollection_Refresh_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* ___ADOCollection_INTERFACE_DEFINED__ */
- #ifndef ___ADODynaCollection_INTERFACE_DEFINED__
- #define ___ADODynaCollection_INTERFACE_DEFINED__
- /* interface _ADODynaCollection */
- /* [object][uuid][nonextensible][dual] */
- EXTERN_C const IID IID__ADODynaCollection;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("00000513-0000-0010-8000-00AA006D2EA4")
- _ADODynaCollection : public _ADOCollection
- {
- public:
- virtual /* [helpcontext] */ HRESULT STDMETHODCALLTYPE Append(
- /* [in] */ IDispatch *Object) = 0;
-
- virtual /* [helpcontext] */ HRESULT STDMETHODCALLTYPE Delete(
- /* [in] */ VARIANT Index) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct _ADODynaCollectionVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- _ADODynaCollection * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- _ADODynaCollection * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- _ADODynaCollection * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- _ADODynaCollection * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- _ADODynaCollection * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- _ADODynaCollection * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- _ADODynaCollection * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [id][helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
- _ADODynaCollection * This,
- /* [retval][out] */ long *c);
-
- /* [id][restricted] */ HRESULT ( STDMETHODCALLTYPE *_NewEnum )(
- _ADODynaCollection * This,
- /* [retval][out] */ IUnknown **ppvObject);
-
- /* [id][helpcontext] */ HRESULT ( STDMETHODCALLTYPE *Refresh )(
- _ADODynaCollection * This);
-
- /* [helpcontext] */ HRESULT ( STDMETHODCALLTYPE *Append )(
- _ADODynaCollection * This,
- /* [in] */ IDispatch *Object);
-
- /* [helpcontext] */ HRESULT ( STDMETHODCALLTYPE *Delete )(
- _ADODynaCollection * This,
- /* [in] */ VARIANT Index);
-
- END_INTERFACE
- } _ADODynaCollectionVtbl;
- interface _ADODynaCollection
- {
- CONST_VTBL struct _ADODynaCollectionVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define _ADODynaCollection_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define _ADODynaCollection_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define _ADODynaCollection_Release(This)
- (This)->lpVtbl -> Release(This)
- #define _ADODynaCollection_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define _ADODynaCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define _ADODynaCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define _ADODynaCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define _DynaCollection_get_Count(This,c)
- (This)->lpVtbl -> get_Count(This,c)
- #define _ADODynaCollection__NewEnum(This,ppvObject)
- (This)->lpVtbl -> _NewEnum(This,ppvObject)
- #define _ADODynaCollection_Refresh(This)
- (This)->lpVtbl -> Refresh(This)
- #define _ADODynaCollection_Append(This,Object)
- (This)->lpVtbl -> Append(This,Object)
- #define _ADODynaCollection_Delete(This,Index)
- (This)->lpVtbl -> Delete(This,Index)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpcontext] */ HRESULT STDMETHODCALLTYPE _ADODynaCollection_Append_Proxy(
- _ADODynaCollection * This,
- /* [in] */ IDispatch *Object);
- void __RPC_STUB _ADODynaCollection_Append_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpcontext] */ HRESULT STDMETHODCALLTYPE _ADODynaCollection_Delete_Proxy(
- _ADODynaCollection * This,
- /* [in] */ VARIANT Index);
- void __RPC_STUB _ADODynaCollection_Delete_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* ___ADODynaCollection_INTERFACE_DEFINED__ */
- #ifndef ___ADO_INTERFACE_DEFINED__
- #define ___ADO_INTERFACE_DEFINED__
- /* interface _ADO */
- /* [object][uuid][nonextensible][dual] */
- EXTERN_C const IID IID__ADO;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("00000534-0000-0010-8000-00AA006D2EA4")
- _ADO : public IDispatch
- {
- public:
- virtual /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE get_Properties(
- /* [retval][out] */ ADOProperties **ppvObject) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct _ADOVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- _ADO * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- _ADO * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- _ADO * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- _ADO * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- _ADO * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- _ADO * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- _ADO * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Properties )(
- _ADO * This,
- /* [retval][out] */ ADOProperties **ppvObject);
-
- END_INTERFACE
- } _ADOVtbl;
- interface _ADO
- {
- CONST_VTBL struct _ADOVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define _ADO_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define _ADO_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define _ADO_Release(This)
- (This)->lpVtbl -> Release(This)
- #define _ADO_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define _ADO_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define _ADO_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define _ADO_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define _ADO_get_Properties(This,ppvObject)
- (This)->lpVtbl -> get_Properties(This,ppvObject)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE _ADO_get_Properties_Proxy(
- _ADO * This,
- /* [retval][out] */ ADOProperties **ppvObject);
- void __RPC_STUB _ADO_get_Properties_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* ___ADO_INTERFACE_DEFINED__ */
- #ifndef __Error_INTERFACE_DEFINED__
- #define __Error_INTERFACE_DEFINED__
- /* interface ADOError */
- /* [object][helpcontext][uuid][nonextensible][dual] */
- EXTERN_C const IID IID_Error;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("00000500-0000-0010-8000-00AA006D2EA4")
- ADOError : public IDispatch
- {
- public:
- virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Number(
- /* [retval][out] */ long *pl) = 0;
-
- virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Source(
- /* [retval][out] */ BSTR *pbstr) = 0;
-
- virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Description(
- /* [retval][out] */ BSTR *pbstr) = 0;
-
- virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_HelpFile(
- /* [retval][out] */ BSTR *pbstr) = 0;
-
- virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_HelpContext(
- /* [retval][out] */ long *pl) = 0;
-
- virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_SQLState(
- /* [retval][out] */ BSTR *pbstr) = 0;
-
- virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_NativeError(
- /* [retval][out] */ long *pl) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ErrorVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ADOError * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ADOError * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ADOError * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- ADOError * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- ADOError * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- ADOError * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- ADOError * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Number )(
- ADOError * This,
- /* [retval][out] */ long *pl);
-
- /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Source )(
- ADOError * This,
- /* [retval][out] */ BSTR *pbstr);
-
- /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Description )(
- ADOError * This,
- /* [retval][out] */ BSTR *pbstr);
-
- /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_HelpFile )(
- ADOError * This,
- /* [retval][out] */ BSTR *pbstr);
-
- /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_HelpContext )(
- ADOError * This,
- /* [retval][out] */ long *pl);
-
- /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_SQLState )(
- ADOError * This,
- /* [retval][out] */ BSTR *pbstr);
-
- /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_NativeError )(
- ADOError * This,
- /* [retval][out] */ long *pl);
-
- END_INTERFACE
- } ErrorVtbl;
- interface Error
- {
- CONST_VTBL struct ErrorVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define Error_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define Error_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define Error_Release(This)
- (This)->lpVtbl -> Release(This)
- #define Error_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define Error_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define Error_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define Error_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define Error_get_Number(This,pl)
- (This)->lpVtbl -> get_Number(This,pl)
- #define Error_get_Source(This,pbstr)
- (This)->lpVtbl -> get_Source(This,pbstr)
- #define Error_get_Description(This,pbstr)
- (This)->lpVtbl -> get_Description(This,pbstr)
- #define Error_get_HelpFile(This,pbstr)
- (This)->lpVtbl -> get_HelpFile(This,pbstr)
- #define Error_get_HelpContext(This,pl)
- (This)->lpVtbl -> get_HelpContext(This,pl)
- #define Error_get_SQLState(This,pbstr)
- (This)->lpVtbl -> get_SQLState(This,pbstr)
- #define Error_get_NativeError(This,pl)
- (This)->lpVtbl -> get_NativeError(This,pl)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Error_get_Number_Proxy(
- ADOError * This,
- /* [retval][out] */ long *pl);
- void __RPC_STUB Error_get_Number_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Error_get_Source_Proxy(
- ADOError * This,
- /* [retval][out] */ BSTR *pbstr);
- void __RPC_STUB Error_get_Source_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Error_get_Description_Proxy(
- ADOError * This,
- /* [retval][out] */ BSTR *pbstr);
- void __RPC_STUB Error_get_Description_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Error_get_HelpFile_Proxy(
- ADOError * This,
- /* [retval][out] */ BSTR *pbstr);
- void __RPC_STUB Error_get_HelpFile_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Error_get_HelpContext_Proxy(
- ADOError * This,
- /* [retval][out] */ long *pl);
- void __RPC_STUB Error_get_HelpContext_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Error_get_SQLState_Proxy(
- ADOError * This,
- /* [retval][out] */ BSTR *pbstr);
- void __RPC_STUB Error_get_SQLState_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Error_get_NativeError_Proxy(
- ADOError * This,
- /* [retval][out] */ long *pl);
- void __RPC_STUB Error_get_NativeError_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __Error_INTERFACE_DEFINED__ */
- #ifndef __Errors_INTERFACE_DEFINED__
- #define __Errors_INTERFACE_DEFINED__
- /* interface ADOErrors */
- /* [object][helpcontext][uuid][nonextensible][dual] */
- EXTERN_C const IID IID_Errors;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("00000501-0000-0010-8000-00AA006D2EA4")
- ADOErrors : public _ADOCollection
- {
- public:
- virtual /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE get_Item(
- /* [in] */ VARIANT Index,
- /* [retval][out] */ ADOError **ppvObject) = 0;
-
- virtual /* [helpcontext] */ HRESULT STDMETHODCALLTYPE Clear( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ErrorsVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ADOErrors * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ADOErrors * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ADOErrors * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- ADOErrors * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- ADOErrors * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- ADOErrors * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- ADOErrors * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [id][helpcontext][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
- ADOErrors * This,
- /* [retval][out] */ long *c);
-
- /* [id][restricted] */ HRESULT ( STDMETHODCALLTYPE *_NewEnum )(
- ADOErrors * This,
- /* [retval][out] */ IUnknown **ppvObject);
-
- /* [id][helpcontext] */ HRESULT ( STDMETHODCALLTYPE *Refresh )(
- ADOErrors * This);
-
- /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )(
- ADOErrors * This,
- /* [in] */ VARIANT Index,
- /* [retval][out] */ ADOError **ppvObject);
-
- /* [helpcontext] */ HRESULT ( STDMETHODCALLTYPE *Clear )(
- ADOErrors * This);
-
- END_INTERFACE
- } ErrorsVtbl;
- interface Errors
- {
- CONST_VTBL struct ErrorsVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define Errors_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define Errors_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define Errors_Release(This)
- (This)->lpVtbl -> Release(This)
- #define Errors_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define Errors_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define Errors_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define Errors_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define Errors_get_Count(This,c)
- (This)->lpVtbl -> get_Count(This,c)
- #define Errors__NewEnum(This,ppvObject)
- (This)->lpVtbl -> _NewEnum(This,ppvObject)
- #define Errors_Refresh(This)
- (This)->lpVtbl -> Refresh(This)
- #define Errors_get_Item(This,Index,ppvObject)
- (This)->lpVtbl -> get_Item(This,Index,ppvObject)
- #define Errors_Clear(This)
- (This)->lpVtbl -> Clear(This)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpcontext][id][propget] */ HRESULT STDMETHODCALLTYPE Errors_get_Item_Proxy(
- ADOErrors * This,
- /* [in] */ VARIANT Index,
- /* [retval][out] */ ADOError **ppvObject);
- void __RPC_STUB Errors_get_Item_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpcontext] */ HRESULT STDMETHODCALLTYPE Errors_Clear_Proxy(
- ADOErrors * This);
- void __RPC_STUB Errors_Clear_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __Errors_INTERFACE_DEFINED__ */
- #ifndef __Command15_INTERFACE_DEFINED__
- #define __Command15_INTERFACE_DEFINED__
- /* interface Command15 */
- /* [object][helpcontext][uuid][hidden][nonextensible][dual] */
- EXTERN_C const IID IID_Command15;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("00000508-0000-0010-8000-00AA006D2EA4")
- Command15 : public _ADO
- {
- public:
- virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_ActiveConnection(
- /* [retval][out] */ _ADOConnection **ppvObject) = 0;
-
- virtual /* [helpcontext][propputref][id] */ HRESULT STDMETHODCALLTYPE putref_ActiveConnection(
- /* [in] */ _ADOConnection *pCon) = 0;
-
- virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_ActiveConnection(
- /* [in] */ VARIANT vConn) = 0;
-
- virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_CommandText(
- /* [retval][out] */ BSTR *pbstr) = 0;
-
- virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_CommandText(
- /* [in] */ BSTR bstr) = 0;
-
- virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_CommandTimeout(
- /* [retval][out] */ LONG *pl) = 0;
-
- virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_CommandTimeout(
- /* [in] */ LONG Timeout) = 0;
-
- virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Prepared(
- /* [retval][out] */ VARIANT_BOOL *pfPrepared) = 0;
-
- virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_Prepared(
- /* [in] */ VARIANT_BOOL fPrepared) = 0;
-
- virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Execute(
- /* [optional][out] */ VARIANT *RecordsAffected,
- /* [optional][in] */ VARIANT *Parameters,
- /* [defaultvalue][in] */ long Options,
- /* [retval][out] */ _ADORecordset **ppirs) = 0;
-
- virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE CreateParameter(
- /* [defaultvalue][in] */ BSTR Name,
- /* [defaultvalue][in] */ DataTypeEnum Type,
- /* [defaultvalue][in] */ ParameterDirectionEnum Direction,
- /* [defaultvalue][in] */ ADO_LONGPTR Size,
- /* [optional][in] */ VARIANT Value,
- /* [retval][out] */ _ADOParameter **ppiprm) = 0;
-
- virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Parameters(
- /* [retval][out] */ ADOParameters **ppvObject) = 0;
-
- virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_CommandType(
- /* [in] */ CommandTypeEnum lCmdType) = 0;
-
- virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_CommandType(
- /* [retval][out] */ CommandTypeEnum *plCmdType) = 0;
-
- virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_Name(
- /* [retval][out] */ BSTR *pbstrName) = 0;
-
- virtual /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE put_Name(
- /* [in] */ BSTR bstrName) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct Command15Vtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- Command15 * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- Command15 * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- Command15 * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- Command15 * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- Command15 * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- Command15 * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- Command15 * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Properties )(
- Command15 * This,
- /* [retval][out] */ ADOProperties **ppvObject);
-
- /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ActiveConnection )(
- Command15 * This,
- /* [retval][out] */ _ADOConnection **ppvObject);
-
- /* [helpcontext][propputref][id] */ HRESULT ( STDMETHODCALLTYPE *putref_ActiveADOConnection )(
- Command15 * This,
- /* [in] */ _ADOConnection *pCon);
-
- /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_ActiveConnection )(
- Command15 * This,
- /* [in] */ VARIANT vConn);
-
- /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CommandText )(
- Command15 * This,
- /* [retval][out] */ BSTR *pbstr);
-
- /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CommandText )(
- Command15 * This,
- /* [in] */ BSTR bstr);
-
- /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CommandTimeout )(
- Command15 * This,
- /* [retval][out] */ LONG *pl);
-
- /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CommandTimeout )(
- Command15 * This,
- /* [in] */ LONG Timeout);
-
- /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Prepared )(
- Command15 * This,
- /* [retval][out] */ VARIANT_BOOL *pfPrepared);
-
- /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Prepared )(
- Command15 * This,
- /* [in] */ VARIANT_BOOL fPrepared);
-
- /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Execute )(
- Command15 * This,
- /* [optional][out] */ VARIANT *RecordsAffected,
- /* [optional][in] */ VARIANT *Parameters,
- /* [defaultvalue][in] */ long Options,
- /* [retval][out] */ _ADORecordset **ppirs);
-
- /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *CreateParameter )(
- Command15 * This,
- /* [defaultvalue][in] */ BSTR Name,
- /* [defaultvalue][in] */ DataTypeEnum Type,
- /* [defaultvalue][in] */ ParameterDirectionEnum Direction,
- /* [defaultvalue][in] */ ADO_LONGPTR Size,
- /* [optional][in] */ VARIANT Value,
- /* [retval][out] */ _ADOParameter **ppiprm);
-
- /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Parameters )(
- Command15 * This,
- /* [retval][out] */ ADOParameters **ppvObject);
-
- /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CommandType )(
- Command15 * This,
- /* [in] */ CommandTypeEnum lCmdType);
-
- /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CommandType )(
- Command15 * This,
- /* [retval][out] */ CommandTypeEnum *plCmdType);
-
- /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
- Command15 * This,
- /* [retval][out] */ BSTR *pbstrName);
-
- /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Name )(
- Command15 * This,
- /* [in] */ BSTR bstrName);
-
- END_INTERFACE
- } Command15Vtbl;
- interface Command15
- {
- CONST_VTBL struct Command15Vtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define Command15_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define Command15_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define Command15_Release(This)
- (This)->lpVtbl -> Release(This)
- #define Command15_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define Command15_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define Command15_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define Command15_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define Command15_get_Properties(This,ppvObject)
- (This)->lpVtbl -> get_Properties(This,ppvObject)
- #define Command15_get_ActiveConnection(This,ppvObject)
- (This)->lpVtbl -> get_ActiveConnection(This,ppvObject)
- #define Command15_putref_ActiveConnection(This,pCon)
- (This)->lpVtbl -> putref_ActiveConnection(This,pCon)
- #define Command15_put_ActiveConnection(This,vConn)
- (This)->lpVtbl -> put_ActiveConnection(This,vConn)
- #define Command15_get_CommandText(This,pbstr)
- (This)->lpVtbl -> get_CommandText(This,pbstr)
- #define Command15_put_CommandText(This,bstr)
- (This)->lpVtbl -> put_CommandText(This,bstr)
- #define Command15_get_CommandTimeout(This,pl)
- (This)->lpVtbl -> get_CommandTimeout(This,pl)
- #define Command15_put_CommandTimeout(This,Timeout)
- (This)->lpVtbl -> put_CommandTimeout(This,Timeout)
- #define Command15_get_Prepared(This,pfPrepared)
- (This)->lpVtbl -> get_Prepared(This,pfPrepared)
- #define Command15_put_Prepared(This,fPrepared)
- (This)->lpVtbl -> put_Prepared(This,fPrepared)
- #define Command15_Execute(This,RecordsAffected,Parameters,Options,ppirs)
- (This)->lpVtbl -> Execute(This,RecordsAffected,Parameters,Options,ppirs)
- #define Command15_CreateParameter(This,Name,Type,Direction,Size,Value,ppiprm)
- (This)->lpVtbl -> CreateParameter(This,Name,Type,Direction,Size,Value,ppiprm)
- #define Command15_get_Parameters(This,ppvObject)
- (This)->lpVtbl -> get_Parameters(This,ppvObject)
- #define Command15_put_CommandType(This,lCmdType)
- (This)->lpVtbl -> put_CommandType(This,lCmdType)
- #define Command15_get_CommandType(This,plCmdType)
- (This)->lpVtbl -> get_CommandType(This,plCmdType)
- #define Command15_get_Name(This,pbstrName)
- (This)->lpVtbl -> get_Name(This,pbstrName)
- #define Command15_put_Name(This,bstrName)
- (This)->lpVtbl -> put_Name(This,bstrName)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Command15_get_ActiveConnection_Proxy(
- Command15 * This,
- /* [retval][out] */ _ADOConnection **ppvObject);
- void __RPC_STUB Command15_get_ActiveConnection_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpcontext][propputref][id] */ HRESULT STDMETHODCALLTYPE Command15_putref_ActiveConnection_Proxy(
- Command15 * This,
- /* [in] */ _ADOConnection *pCon);
- void __RPC_STUB Command15_putref_ActiveConnection_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Command15_put_ActiveConnection_Proxy(
- Command15 * This,
- /* [in] */ VARIANT vConn);
- void __RPC_STUB Command15_put_ActiveConnection_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Command15_get_CommandText_Proxy(
- Command15 * This,
- /* [retval][out] */ BSTR *pbstr);
- void __RPC_STUB Command15_get_CommandText_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Command15_put_CommandText_Proxy(
- Command15 * This,
- /* [in] */ BSTR bstr);
- void __RPC_STUB Command15_put_CommandText_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Command15_get_CommandTimeout_Proxy(
- Command15 * This,
- /* [retval][out] */ LONG *pl);
- void __RPC_STUB Command15_get_CommandTimeout_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Command15_put_CommandTimeout_Proxy(
- Command15 * This,
- /* [in] */ LONG Timeout);
- void __RPC_STUB Command15_put_CommandTimeout_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Command15_get_Prepared_Proxy(
- Command15 * This,
- /* [retval][out] */ VARIANT_BOOL *pfPrepared);
- void __RPC_STUB Command15_get_Prepared_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Command15_put_Prepared_Proxy(
- Command15 * This,
- /* [in] */ VARIANT_BOOL fPrepared);
- void __RPC_STUB Command15_put_Prepared_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Command15_Execute_Proxy(
- Command15 * This,
- /* [optional][out] */ VARIANT *RecordsAffected,
- /* [optional][in] */ VARIANT *Parameters,
- /* [defaultvalue][in] */ long Options,
- /* [retval][out] */ _ADORecordset **ppirs);
- void __RPC_STUB Command15_Execute_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Command15_CreateParameter_Proxy(
- Command15 * This,
- /* [defaultvalue][in] */ BSTR Name,
- /* [defaultvalue][in] */ DataTypeEnum Type,
- /* [defaultvalue][in] */ ParameterDirectionEnum Direction,
- /* [defaultvalue][in] */ ADO_LONGPTR Size,
- /* [optional][in] */ VARIANT Value,
- /* [retval][out] */ _ADOParameter **ppiprm);
- void __RPC_STUB Command15_CreateParameter_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Command15_get_Parameters_Proxy(
- Command15 * This,
- /* [retval][out] */ ADOParameters **ppvObject);
- void __RPC_STUB Command15_get_Parameters_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Command15_put_CommandType_Proxy(
- Command15 * This,
- /* [in] */ CommandTypeEnum lCmdType);
- void __RPC_STUB Command15_put_CommandType_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Command15_get_CommandType_Proxy(
- Command15 * This,
- /* [retval][out] */ CommandTypeEnum *plCmdType);
- void __RPC_STUB Command15_get_CommandType_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Command15_get_Name_Proxy(
- Command15 * This,
- /* [retval][out] */ BSTR *pbstrName);
- void __RPC_STUB Command15_get_Name_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpcontext][propput][id] */ HRESULT STDMETHODCALLTYPE Command15_put_Name_Proxy(
- Command15 * This,
- /* [in] */ BSTR bstrName);
- void __RPC_STUB Command15_put_Name_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __Command15_INTERFACE_DEFINED__ */
- #ifndef __Command25_INTERFACE_DEFINED__
- #define __Command25_INTERFACE_DEFINED__
- /* interface Command25 */
- /* [object][helpcontext][uuid][hidden][nonextensible][dual] */
- EXTERN_C const IID IID_Command25;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("0000054E-0000-0010-8000-00AA006D2EA4")
- Command25 : public Command15
- {
- public:
- virtual /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE get_State(
- /* [retval][out] */ LONG *plObjState) = 0;
-
- virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Cancel( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct Command25Vtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- Command25 * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- Command25 * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- Command25 * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- Command25 * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- Command25 * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- Command25 * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- Command25 * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Properties )(
- Command25 * This,
- /* [retval][out] */ ADOProperties **ppvObject);
-
- /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ActiveConnection )(
- Command25 * This,
- /* [retval][out] */ _ADOConnection **ppvObject);
-
- /* [helpcontext][propputref][id] */ HRESULT ( STDMETHODCALLTYPE *putref_ActiveADOConnection )(
- Command25 * This,
- /* [in] */ _ADOConnection *pCon);
-
- /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_ActiveConnection )(
- Command25 * This,
- /* [in] */ VARIANT vConn);
-
- /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CommandText )(
- Command25 * This,
- /* [retval][out] */ BSTR *pbstr);
-
- /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CommandText )(
- Command25 * This,
- /* [in] */ BSTR bstr);
-
- /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CommandTimeout )(
- Command25 * This,
- /* [retval][out] */ LONG *pl);
-
- /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CommandTimeout )(
- Command25 * This,
- /* [in] */ LONG Timeout);
-
- /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Prepared )(
- Command25 * This,
- /* [retval][out] */ VARIANT_BOOL *pfPrepared);
-
- /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Prepared )(
- Command25 * This,
- /* [in] */ VARIANT_BOOL fPrepared);
-
- /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Execute )(
- Command25 * This,
- /* [optional][out] */ VARIANT *RecordsAffected,
- /* [optional][in] */ VARIANT *Parameters,
- /* [defaultvalue][in] */ long Options,
- /* [retval][out] */ _ADORecordset **ppirs);
-
- /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *CreateParameter )(
- Command25 * This,
- /* [defaultvalue][in] */ BSTR Name,
- /* [defaultvalue][in] */ DataTypeEnum Type,
- /* [defaultvalue][in] */ ParameterDirectionEnum Direction,
- /* [defaultvalue][in] */ ADO_LONGPTR Size,
- /* [optional][in] */ VARIANT Value,
- /* [retval][out] */ _ADOParameter **ppiprm);
-
- /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Parameters )(
- Command25 * This,
- /* [retval][out] */ ADOParameters **ppvObject);
-
- /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CommandType )(
- Command25 * This,
- /* [in] */ CommandTypeEnum lCmdType);
-
- /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CommandType )(
- Command25 * This,
- /* [retval][out] */ CommandTypeEnum *plCmdType);
-
- /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
- Command25 * This,
- /* [retval][out] */ BSTR *pbstrName);
-
- /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Name )(
- Command25 * This,
- /* [in] */ BSTR bstrName);
-
- /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_State )(
- Command25 * This,
- /* [retval][out] */ LONG *plObjState);
-
- /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Cancel )(
- Command25 * This);
-
- END_INTERFACE
- } Command25Vtbl;
- interface Command25
- {
- CONST_VTBL struct Command25Vtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define Command25_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define Command25_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define Command25_Release(This)
- (This)->lpVtbl -> Release(This)
- #define Command25_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define Command25_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define Command25_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define Command25_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define Command25_get_Properties(This,ppvObject)
- (This)->lpVtbl -> get_Properties(This,ppvObject)
- #define Command25_get_ActiveConnection(This,ppvObject)
- (This)->lpVtbl -> get_ActiveConnection(This,ppvObject)
- #define Command25_putref_ActiveConnection(This,pCon)
- (This)->lpVtbl -> putref_ActiveConnection(This,pCon)
- #define Command25_put_ActiveConnection(This,vConn)
- (This)->lpVtbl -> put_ActiveConnection(This,vConn)
- #define Command25_get_CommandText(This,pbstr)
- (This)->lpVtbl -> get_CommandText(This,pbstr)
- #define Command25_put_CommandText(This,bstr)
- (This)->lpVtbl -> put_CommandText(This,bstr)
- #define Command25_get_CommandTimeout(This,pl)
- (This)->lpVtbl -> get_CommandTimeout(This,pl)
- #define Command25_put_CommandTimeout(This,Timeout)
- (This)->lpVtbl -> put_CommandTimeout(This,Timeout)
- #define Command25_get_Prepared(This,pfPrepared)
- (This)->lpVtbl -> get_Prepared(This,pfPrepared)
- #define Command25_put_Prepared(This,fPrepared)
- (This)->lpVtbl -> put_Prepared(This,fPrepared)
- #define Command25_Execute(This,RecordsAffected,Parameters,Options,ppirs)
- (This)->lpVtbl -> Execute(This,RecordsAffected,Parameters,Options,ppirs)
- #define Command25_CreateParameter(This,Name,Type,Direction,Size,Value,ppiprm)
- (This)->lpVtbl -> CreateParameter(This,Name,Type,Direction,Size,Value,ppiprm)
- #define Command25_get_Parameters(This,ppvObject)
- (This)->lpVtbl -> get_Parameters(This,ppvObject)
- #define Command25_put_CommandType(This,lCmdType)
- (This)->lpVtbl -> put_CommandType(This,lCmdType)
- #define Command25_get_CommandType(This,plCmdType)
- (This)->lpVtbl -> get_CommandType(This,plCmdType)
- #define Command25_get_Name(This,pbstrName)
- (This)->lpVtbl -> get_Name(This,pbstrName)
- #define Command25_put_Name(This,bstrName)
- (This)->lpVtbl -> put_Name(This,bstrName)
- #define Command25_get_State(This,plObjState)
- (This)->lpVtbl -> get_State(This,plObjState)
- #define Command25_Cancel(This)
- (This)->lpVtbl -> Cancel(This)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpcontext][propget][id] */ HRESULT STDMETHODCALLTYPE Command25_get_State_Proxy(
- Command25 * This,
- /* [retval][out] */ LONG *plObjState);
- void __RPC_STUB Command25_get_State_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Command25_Cancel_Proxy(
- Command25 * This);
- void __RPC_STUB Command25_Cancel_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __Command25_INTERFACE_DEFINED__ */
- #ifndef ___Command_INTERFACE_DEFINED__
- #define ___Command_INTERFACE_DEFINED__
- /* interface _ADOCommand */
- /* [object][helpcontext][uuid][nonextensible][dual] */
- EXTERN_C const IID IID__Command;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("B08400BD-F9D1-4D02-B856-71D5DBA123E9")
- _ADOCommand : public Command25
- {
- public:
- virtual /* [helpcontext][propputref][id] */ HRESULT __stdcall putref_CommandStream(
- /* [in] */ IUnknown *pStream) = 0;
-
- virtual /* [helpcontext][propget][id] */ HRESULT __stdcall get_CommandStream(
- /* [retval][out] */ VARIANT *pvStream) = 0;
-
- virtual /* [helpcontext][propput][id] */ HRESULT __stdcall put_Dialect(
- /* [in] */ BSTR bstrDialect) = 0;
-
- virtual /* [helpcontext][propget][id] */ HRESULT __stdcall get_Dialect(
- /* [retval][out] */ BSTR *pbstrDialect) = 0;
-
- virtual /* [helpcontext][propput][id] */ HRESULT __stdcall put_NamedParameters(
- /* [in] */ VARIANT_BOOL fNamedParameters) = 0;
-
- virtual /* [helpcontext][propget][id] */ HRESULT __stdcall get_NamedParameters(
- /* [retval][out] */ VARIANT_BOOL *pfNamedParameters) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct _CommandVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- _ADOCommand * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- _ADOCommand * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- _ADOCommand * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- _ADOCommand * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- _ADOCommand * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- _ADOCommand * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- _ADOCommand * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [helpcontext][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Properties )(
- _ADOCommand * This,
- /* [retval][out] */ ADOProperties **ppvObject);
-
- /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ActiveConnection )(
- _ADOCommand * This,
- /* [retval][out] */ _ADOConnection **ppvObject);
-
- /* [helpcontext][propputref][id] */ HRESULT ( STDMETHODCALLTYPE *putref_ActiveADOConnection )(
- _ADOCommand * This,
- /* [in] */ _ADOConnection *pCon);
-
- /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_ActiveConnection )(
- _ADOCommand * This,
- /* [in] */ VARIANT vConn);
-
- /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CommandText )(
- _ADOCommand * This,
- /* [retval][out] */ BSTR *pbstr);
-
- /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CommandText )(
- _ADOCommand * This,
- /* [in] */ BSTR bstr);
-
- /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CommandTimeout )(
- _ADOCommand * This,
- /* [retval][out] */ LONG *pl);
-
- /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CommandTimeout )(
- _ADOCommand * This,
- /* [in] */ LONG Timeout);
-
- /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Prepared )(
- _ADOCommand * This,
- /* [retval][out] */ VARIANT_BOOL *pfPrepared);
-
- /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Prepared )(
- _ADOCommand * This,
- /* [in] */ VARIANT_BOOL fPrepared);
-
- /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Execute )(
- _ADOCommand * This,
- /* [optional][out] */ VARIANT *RecordsAffected,
- /* [optional][in] */ VARIANT *Parameters,
- /* [defaultvalue][in] */ long Options,
- /* [retval][out] */ _ADORecordset **ppirs);
-
- /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *CreateParameter )(
- _ADOCommand * This,
- /* [defaultvalue][in] */ BSTR Name,
- /* [defaultvalue][in] */ DataTypeEnum Type,
- /* [defaultvalue][in] */ ParameterDirectionEnum Direction,
- /* [defaultvalue][in] */ ADO_LONGPTR Size,
- /* [optional][in] */ VARIANT Value,
- /* [retval][out] */ _ADOParameter **ppiprm);
-
- /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Parameters )(
- _ADOCommand * This,
- /* [retval][out] */ ADOParameters **ppvObject);
-
- /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CommandType )(
- _ADOCommand * This,
- /* [in] */ CommandTypeEnum lCmdType);
-
- /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CommandType )(
- _ADOCommand * This,
- /* [retval][out] */ CommandTypeEnum *plCmdType);
-
- /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
- _ADOCommand * This,
- /* [retval][out] */ BSTR *pbstrName);
-
- /* [helpcontext][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Name )(
- _ADOCommand * This,
- /* [in] */ BSTR bstrName);
-
- /* [helpcontext][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_State )(
- _ADOCommand * This,
- /* [retval][out] */ LONG *plObjState);
-
- /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Cancel )(
- _ADOCommand * This);
-
- /* [helpcontext][propputref][id] */ HRESULT ( __stdcall *putref_CommandADOStream )(
- _ADOCommand * This,
- /* [in] */ IUnknown *pStream);
-
- /* [helpcontext][propget][id] */ HRESULT ( __stdcall *get_CommandStream )(
- _ADOCommand * This,
- /* [retval][out] */ VARIANT *pvStream);
-
- /* [helpcontext][propput][id] */ HRESULT ( __stdcall *put_Dialect )(
- _ADOCommand * This,
- /* [in] */ BSTR bstrDialect);
-
- /* [helpcontext][propget][id] */ HRESULT ( __stdcall *get_Dialect )(
- _ADOCommand * This,
- /* [retval][out] */ BSTR *pbstrDialect);
-
- /* [helpcontext][propput][id] */ HRESULT ( __stdcall *put_NamedParameters )(
- _ADOCommand * This,
- /* [in] */ VARIANT_BOOL fNamedParameters);
-
- /* [helpcontext][propget][id] */ HRESULT ( __stdcall *get_NamedParameters )(
- _ADOCommand * This,
- /* [retval][out] */ VARIANT_BOOL *pfNamedParameters);
-
- END_INTERFACE
- } _CommandVtbl;
- interface _Command
- {
- CONST_VTBL struct _CommandVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define _Command_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define _Command_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define _Command_Release(This)
- (This)->lpVtbl -> Release(This)
- #define _Command_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define _Command_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define _Command_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define _Command_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define _Command_get_Properties(This,ppvObject)
- (This)->lpVtbl -> get_Properties(This,ppvObject)
- #define _Command_get_ActiveConnection(This,ppvObject)
- (This)->lpVtbl -> get_ActiveConnection(This,ppvObject)
- #define _Command_putref_ActiveConnection(This,pCon)
- (This)->lpVtbl -> putref_ActiveConnection(This,pCon)
- #define _Command_put_ActiveConnection(This,vConn)
- (This)->lpVtbl -> put_ActiveConnection(This,vConn)
- #define _Command_get_CommandText(This,pbstr)
- (This)->lpVtbl -> get_CommandText(This,pbstr)
- #define _Command_put_CommandText(This,bstr)
- (This)->lpVtbl -> put_CommandText(This,bstr)
- #define _Command_get_CommandTimeout(This,pl)
- (This)->lpVtbl -> get_CommandTimeout(This,pl)
- #define _Command_put_CommandTimeout(This,Timeout)
- (This)->lpVtbl -> put_CommandTimeout(This,Timeout)
- #define _Command_get_Prepared(This,pfPrepared)
- (This)->lpVtbl -> get_Prepared(This,pfPrepared)
- #define _Command_put_Prepared(This,fPrepared)
- (This)->lpVtbl -> put_Prepared(This,fPrepared)
- #define _Command_Execute(This,RecordsAffected,Parameters,Options,ppirs)
- (This)->lpVtbl -> Execute(This,RecordsAffected,Parameters,Options,ppirs)
- #define _Command_CreateParameter(This,Name,Type,Direction,Size,Value,ppiprm)
- (This)->lpVtbl -> CreateParameter(This,Name,Type,Direction,Size,Value,ppiprm)
- #define _Command_get_Parameters(This,ppvObject)
- (This)->lpVtbl -> get_Parameters(This,ppvObject)
- #define _Command_put_CommandType(This,lCmdType)
- (This)->lpVtbl -> put_CommandType(This,lCmdType)
- #define _Command_get_CommandType(This,plCmdType)
- (This)->lpVtbl -> get_CommandType(This,plCmdType)
- #define _Command_get_Name(This,pbstrName)
- (This)->lpVtbl -> get_Name(This,pbstrName)
- #define _Command_put_Name(This,bstrName)
- (This)->lpVtbl -> put_Name(This,bstrName)
- #define _Command_get_State(This,plObjState)
- (This)->lpVtbl -> get_State(This,plObjState)
- #define _Command_Cancel(This)
- (This)->lpVtbl -> Cancel(This)
- #define _Command_putref_CommandStream(This,pStream)
- (This)->lpVtbl -> putref_CommandStream(This,pStream)
- #define _Command_get_CommandStream(This,pvStream)
- (This)->lpVtbl -> get_CommandStream(This,pvStream)
- #define _Command_put_Dialect(This,bstrDialect)
- (This)->lpVtbl -> put_Dialect(This,bstrDialect)
- #define _Command_get_Dialect(This,pbstrDialect)
- (This)->lpVtbl -> get_Dialect(This,pbstrDialect)
- #define _Command_put_NamedParameters(This,fNamedParameters)
- (This)->lpVtbl -> put_NamedParameters(This,fNamedParameters)
- #define _Command_get_NamedParameters(This,pfNamedParameters)
- (This)->lpVtbl -> get_NamedParameters(This,pfNamedParameters)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpcontext][propputref][id] */ HRESULT __stdcall _Command_putref_CommandStream_Proxy(
- _ADOCommand * This,
- /* [in] */ IUnknown *pStream);
- void __RPC_STUB _Command_putref_CommandStream_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpcontext][propget][id] */ HRESULT __stdcall _Command_get_CommandStream_Proxy(
- _ADOCommand * This,
- /* [retval][out] */ VARIANT *pvStream);
- void __RPC_STUB _Command_get_CommandStream_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpcontext][propput][id] */ HRESULT __stdcall _Command_put_Dialect_Proxy(
- _ADOCommand * This,
- /* [in] */ BSTR bstrDialect);
- void __RPC_STUB _Command_put_Dialect_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpcontext][propget][id] */ HRESULT __stdcall _Command_get_Dialect_Proxy(
- _ADOCommand * This,
- /* [retval][out] */ BSTR *pbstrDialect);
- void __RPC_STUB _Command_get_Dialect_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpcontext][propput][id] */ HRESULT __stdcall _Command_put_NamedParameters_Proxy(
- _ADOCommand * This,
- /* [in] */ VARIANT_BOOL fNamedParameters);
- void __RPC_STUB _Command_put_NamedParameters_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpcontext][propget][id] */ HRESULT __stdcall _Command_get_NamedParameters_Proxy(
- _ADOCommand * This,
- /* [retval][out] */ VARIANT_BOOL *pfNamedParameters);
- void __RPC_STUB _Command_get_NamedParameters_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* ___Command_INTERFACE_DEFINED__ */
- #ifndef __ConnectionEventsVt_INTERFACE_DEFINED__
- #define __ConnectionEventsVt_INTERFACE_DEFINED__
- /* interface ConnectionEventsVt */
- /* [object][uuid][hidden] */
- EXTERN_C const IID IID_ConnectionEventsVt;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("00000402-0000-0010-8000-00AA006D2EA4")
- ConnectionEventsVt : public IUnknown
- {
- public:
- virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE InfoMessage(
- /* [in] */ ADOError *pError,
- /* [out][in] */ EventStatusEnum *adStatus,
- /* [in] */ _ADOConnection *pConnection) = 0;
-
- virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE BeginTransComplete(
- /* [in] */ LONG TransactionLevel,
- /* [in] */ ADOError *pError,
- /* [out][in] */ EventStatusEnum *adStatus,
- /* [in] */ _ADOConnection *pConnection) = 0;
-
- virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE CommitTransComplete(
- /* [in] */ ADOError *pError,
- /* [out][in] */ EventStatusEnum *adStatus,
- /* [in] */ _ADOConnection *pConnection) = 0;
-
- virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE RollbackTransComplete(
- /* [in] */ ADOError *pError,
- /* [out][in] */ EventStatusEnum *adStatus,
- /* [in] */ _ADOConnection *pConnection) = 0;
-
- virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE WillExecute(
- /* [out][in] */ BSTR *Source,
- /* [out][in] */ CursorTypeEnum *CursorType,
- /* [out][in] */ LockTypeEnum *LockType,
- /* [out][in] */ long *Options,
- /* [out][in] */ EventStatusEnum *adStatus,
- /* [in] */ _ADOCommand *pCommand,
- /* [in] */ _ADORecordset *pRecordset,
- /* [in] */ _ADOConnection *pConnection) = 0;
-
- virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE ExecuteComplete(
- /* [in] */ LONG RecordsAffected,
- /* [in] */ ADOError *pError,
- /* [out][in] */ EventStatusEnum *adStatus,
- /* [in] */ _ADOCommand *pCommand,
- /* [in] */ _ADORecordset *pRecordset,
- /* [in] */ _ADOConnection *pConnection) = 0;
-
- virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE WillConnect(
- /* [out][in] */ BSTR *ConnectionString,
- /* [out][in] */ BSTR *UserID,
- /* [out][in] */ BSTR *Password,
- /* [out][in] */ long *Options,
- /* [out][in] */ EventStatusEnum *adStatus,
- /* [in] */ _ADOConnection *pConnection) = 0;
-
- virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE ConnectComplete(
- /* [in] */ ADOError *pError,
- /* [out][in] */ EventStatusEnum *adStatus,
- /* [in] */ _ADOConnection *pConnection) = 0;
-
- virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE Disconnect(
- /* [out][in] */ EventStatusEnum *adStatus,
- /* [in] */ _ADOConnection *pConnection) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ConnectionEventsVtVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ConnectionEventsVt * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ConnectionEventsVt * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ConnectionEventsVt * This);
-
- /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *InfoMessage )(
- ConnectionEventsVt * This,
- /* [in] */ ADOError *pError,
- /* [out][in] */ EventStatusEnum *adStatus,
- /* [in] */ _ADOConnection *pConnection);
-
- /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *BeginTransComplete )(
- ConnectionEventsVt * This,
- /* [in] */ LONG TransactionLevel,
- /* [in] */ ADOError *pError,
- /* [out][in] */ EventStatusEnum *adStatus,
- /* [in] */ _ADOConnection *pConnection);
-
- /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *CommitTransComplete )(
- ConnectionEventsVt * This,
- /* [in] */ ADOError *pError,
- /* [out][in] */ EventStatusEnum *adStatus,
- /* [in] */ _ADOConnection *pConnection);
-
- /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *RollbackTransComplete )(
- ConnectionEventsVt * This,
- /* [in] */ ADOError *pError,
- /* [out][in] */ EventStatusEnum *adStatus,
- /* [in] */ _ADOConnection *pConnection);
-
- /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *WillExecute )(
- ConnectionEventsVt * This,
- /* [out][in] */ BSTR *Source,
- /* [out][in] */ CursorTypeEnum *CursorType,
- /* [out][in] */ LockTypeEnum *LockType,
- /* [out][in] */ long *Options,
- /* [out][in] */ EventStatusEnum *adStatus,
- /* [in] */ _ADOCommand *pCommand,
- /* [in] */ _ADORecordset *pRecordset,
- /* [in] */ _ADOConnection *pConnection);
-
- /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *ExecuteComplete )(
- ConnectionEventsVt * This,
- /* [in] */ LONG RecordsAffected,
- /* [in] */ ADOError *pError,
- /* [out][in] */ EventStatusEnum *adStatus,
- /* [in] */ _ADOCommand *pCommand,
- /* [in] */ _ADORecordset *pRecordset,
- /* [in] */ _ADOConnection *pConnection);
-
- /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *WillConnect )(
- ConnectionEventsVt * This,
- /* [out][in] */ BSTR *ConnectionString,
- /* [out][in] */ BSTR *UserID,
- /* [out][in] */ BSTR *Password,
- /* [out][in] */ long *Options,
- /* [out][in] */ EventStatusEnum *adStatus,
- /* [in] */ _ADOConnection *pConnection);
-
- /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *ConnectComplete )(
- ConnectionEventsVt * This,
- /* [in] */ ADOError *pError,
- /* [out][in] */ EventStatusEnum *adStatus,
- /* [in] */ _ADOConnection *pConnection);
-
- /* [helpcontext][id] */ HRESULT ( STDMETHODCALLTYPE *Disconnect )(
- ConnectionEventsVt * This,
- /* [out][in] */ EventStatusEnum *adStatus,
- /* [in] */ _ADOConnection *pConnection);
-
- END_INTERFACE
- } ConnectionEventsVtVtbl;
- interface ConnectionEventsVt
- {
- CONST_VTBL struct ConnectionEventsVtVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ConnectionEventsVt_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ConnectionEventsVt_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ConnectionEventsVt_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ConnectionEventsVt_InfoMessage(This,pError,adStatus,pConnection)
- (This)->lpVtbl -> InfoMessage(This,pError,adStatus,pConnection)
- #define ConnectionEventsVt_BeginTransComplete(This,TransactionLevel,pError,adStatus,pConnection)
- (This)->lpVtbl -> BeginTransComplete(This,TransactionLevel,pError,adStatus,pConnection)
- #define ConnectionEventsVt_CommitTransComplete(This,pError,adStatus,pConnection)
- (This)->lpVtbl -> CommitTransComplete(This,pError,adStatus,pConnection)
- #define ConnectionEventsVt_RollbackTransComplete(This,pError,adStatus,pConnection)
- (This)->lpVtbl -> RollbackTransComplete(This,pError,adStatus,pConnection)
- #define ConnectionEventsVt_WillExecute(This,Source,CursorType,LockType,Options,adStatus,pCommand,pRecordset,pConnection)
- (This)->lpVtbl -> WillExecute(This,Source,CursorType,LockType,Options,adStatus,pCommand,pRecordset,pConnection)
- #define ConnectionEventsVt_ExecuteComplete(This,RecordsAffected,pError,adStatus,pCommand,pRecordset,pConnection)
- (This)->lpVtbl -> ExecuteComplete(This,RecordsAffected,pError,adStatus,pCommand,pRecordset,pConnection)
- #define ConnectionEventsVt_WillConnect(This,ConnectionString,UserID,Password,Options,adStatus,pConnection)
- (This)->lpVtbl -> WillConnect(This,ConnectionString,UserID,Password,Options,adStatus,pConnection)
- #define ConnectionEventsVt_ConnectComplete(This,pError,adStatus,pConnection)
- (This)->lpVtbl -> ConnectComplete(This,pError,adStatus,pConnection)
- #define ConnectionEventsVt_Disconnect(This,adStatus,pConnection)
- (This)->lpVtbl -> Disconnect(This,adStatus,pConnection)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE ConnectionEventsVt_InfoMessage_Proxy(
- ConnectionEventsVt * This,
- /* [in] */ ADOError *pError,
- /* [out][in] */ EventStatusEnum *adStatus,
- /* [in] */ _ADOConnection *pConnection);
- void __RPC_STUB ConnectionEventsVt_InfoMessage_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE ConnectionEventsVt_BeginTransComplete_Proxy(
- ConnectionEventsVt * This,
- /* [in] */ LONG TransactionLevel,
- /* [in] */ ADOError *pError,
- /* [out][in] */ EventStatusEnum *adStatus,
- /* [in] */ _ADOConnection *pConnection);
- void __RPC_STUB ConnectionEventsVt_BeginTransComplete_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE ConnectionEventsVt_CommitTransComplete_Proxy(
- ConnectionEventsVt * This,
- /* [in] */ ADOError *pError,
- /* [out][in] */ EventStatusEnum *adStatus,
- /* [in] */ _ADOConnection *pConnection);
- void __RPC_STUB ConnectionEventsVt_CommitTransComplete_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE ConnectionEventsVt_RollbackTransComplete_Proxy(
- ConnectionEventsVt * This,
- /* [in] */ ADOError *pError,
- /* [out][in] */ EventStatusEnum *adStatus,
- /* [in] */ _ADOConnection *pConnection);
- void __RPC_STUB ConnectionEventsVt_RollbackTransComplete_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE ConnectionEventsVt_WillExecute_Proxy(
- ConnectionEventsVt * This,
- /* [out][in] */ BSTR *Source,
- /* [out][in] */ CursorTypeEnum *CursorType,
- /* [out][in] */ LockTypeEnum *LockType,
- /* [out][in] */ long *Options,
- /* [out][in] */ EventStatusEnum *adStatus,
- /* [in] */ _ADOCommand *pCommand,
- /* [in] */ _ADORecordset *pRecordset,
- /* [in] */ _ADOConnection *pConnection);
- void __RPC_STUB ConnectionEventsVt_WillExecute_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE ConnectionEventsVt_ExecuteComplete_Proxy(
- ConnectionEventsVt * This,
- /* [in] */ LONG RecordsAffected,
- /* [in] */ ADOError *pError,
- /* [out][in] */ EventStatusEnum *adStatus,
- /* [in] */ _ADOCommand *pCommand,
- /* [in] */ _ADORecordset *pRecordset,
- /* [in] */ _ADOConnection *pConnection);
- void __RPC_STUB ConnectionEventsVt_ExecuteComplete_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE ConnectionEventsVt_WillConnect_Proxy(
- ConnectionEventsVt * This,
- /* [out][in] */ BSTR *ConnectionString,
- /* [out][in] */ BSTR *UserID,
- /* [out][in] */ BSTR *Password,
- /* [out][in] */ long *Options,
- /* [out][in] */ EventStatusEnum *adStatus,
- /* [in] */ _ADOConnection *pConnection);
- void __RPC_STUB ConnectionEventsVt_WillConnect_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE ConnectionEventsVt_ConnectComplete_Proxy(
- ConnectionEventsVt * This,
- /* [in] */ ADOError *pError,
- /* [out][in] */ EventStatusEnum *adStatus,
- /* [in] */ _ADOConnection *pConnection);
- void __RPC_STUB ConnectionEventsVt_ConnectComplete_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE ConnectionEventsVt_Disconnect_Proxy(
- ConnectionEventsVt * This,
- /* [out][in] */ EventStatusEnum *adStatus,
- /* [in] */ _ADOConnection *pConnection);
- void __RPC_STUB ConnectionEventsVt_Disconnect_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ConnectionEventsVt_INTERFACE_DEFINED__ */
- #ifndef __RecordsetEventsVt_INTERFACE_DEFINED__
- #define __RecordsetEventsVt_INTERFACE_DEFINED__
- /* interface RecordsetEventsVt */
- /* [object][uuid][hidden] */
- EXTERN_C const IID IID_RecordsetEventsVt;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("00000403-0000-0010-8000-00AA006D2EA4")
- RecordsetEventsVt : public IUnknown
- {
- public:
- virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE WillChangeField(
- /* [in] */ LONG cFields,
- /* [in] */ VARIANT Fields,
- /* [out][in] */ EventStatusEnum *adStatus,
- /* [in] */ _ADORecordset *pRecordset) = 0;
-
- virtual /* [helpcontext][id] */ HRESULT STDMETHODCALLTYPE FieldChangeComplete(
- /* [in] */ LONG cFields,
- /* [in] */ VARIANT Fields,
- /* [in] */ ADOError *pError,
- /* [out][in] */ EventStatusEnum *adStatus,