home *** CD-ROM | disk | FTP | other *** search
- //--------------------------------------------------------------------
- // Microsoft OLE DB Provider for ODBC data
- // (C) Copyright 1994 - 1996 By Microsoft Corporation.
- //
- // @doc
- //
- // @module MSDASQL.H | Provider Specific definitions
- //
- //--------------------------------------------------------------------
-
- #ifndef _MSDASQL_H_
- #pragma option push -b -a8 -pc -A- /*P_O_Push_S*/
- #define _MSDASQL_H_
-
- // Provider Class Id
- #ifdef DBINITCONSTANTS
- // @msg IID_IRowsetChangeExtInfo | {0c733a8f-2a1c-11ce-ade5-00aa0044773d}
- extern const GUID IID_IRowsetChangeExtInfo = {0x0C733A8FL,0x2A1C,0x11CE,{0xAD,0xE5,0x00,0xAA,0x00,0x44,0x77,0x3D}};
- extern const GUID CLSID_MSDASQL = {0xC8B522CBL,0x5CF3,0x11CE,{0xAD,0xE5,0x00,0xAA,0x00,0x44,0x77,0x3D}};
- extern const GUID CLSID_MSDASQL_ENUMERATOR = {0xC8B522CDL,0x5CF3,0x11CE,{0xAD,0xE5,0x00,0xAA,0x00,0x44,0x77,0x3D}};
- #else // !DBINITCONSTANTS
- extern const GUID IID_IRowsetChangeExtInfo;
- extern const GUID CLSID_MSDASQL;
- extern const GUID CLSID_MSDASQL_ENUMERATOR;
- #endif // DBINITCONSTANTS
-
- //----------------------------------------------------------------------------
- // MSDASQL specific properties
- #ifdef DBINITCONSTANTS
- extern const GUID DBPROPSET_PROVIDERDATASOURCEINFO = {0x497c60e0,0x7123,0x11cf,{0xb1,0x71,0x0,0xaa,0x0,0x57,0x59,0x9e}};
- extern const GUID DBPROPSET_PROVIDERROWSET = {0x497c60e1,0x7123,0x11cf,{0xb1,0x71,0x0,0xaa,0x0,0x57,0x59,0x9e}};
- #else // !DBINITCONSTANTS
- extern const GUID DBPROPSET_PROVIDERDATASOURCEINFO;
- extern const GUID DBPROPSET_PROVIDERROWSET;
- #endif // DBINITCONSTANTS
-
- // PropIds under DBPROPSET_PROVIDERROWSET
- #define KAGPROP_QUERYBASEDUPDATES 2
- #define KAGPROP_MARSHALLABLE 3
- #define KAGPROP_POSITIONONNEWROW 4
- #define KAGPROP_IRowsetChangeExtInfo 5
- #define KAGPROP_CURSOR 6
- #define KAGPROP_CONCURRENCY 7
- #define KAGPROP_BLOBSONFOCURSOR 8
- #define KAGPROP_INCLUDENONEXACT 9
-
- // PropIds under DPBROPSET_PRIVIDERDATASOURCEINFO
- #define KAGPROP_ACCESSIBLEPROCEDURES 2
- #define KAGPROP_ACCESSIBLETABLES 3
- #define KAGPROP_ODBCSQLOPTIEF 4
- #define KAGPROP_OJCAPABILITY 5
- #define KAGPROP_PROCEDURES 6
- #define KAGPROP_DRIVERNAME 7
- #define KAGPROP_DRIVERVER 8
- #define KAGPROP_DRIVERODBCVER 9
- #define KAGPROP_LIKEESCAPECLAUSE 10
- #define KAGPROP_SPECIALCHARACTERS 11
- #define KAGPROP_MAXCOLUMNSINGROUPBY 12
- #define KAGPROP_MAXCOLUMNSININDEX 13
- #define KAGPROP_MAXCOLUMNSINORDERBY 14
- #define KAGPROP_MAXCOLUMNSINSELECT 15
- #define KAGPROP_MAXCOLUMNSINTABLE 16
- #define KAGPROP_NUMERICFUNCTIONS 17
- #define KAGPROP_ODBCSQLCONFORMANCE 18
- #define KAGPROP_OUTERJOINS 19
- #define KAGPROP_STRINGFUNCTIONS 20
- #define KAGPROP_SYSTEMFUNCTIONS 21
- #define KAGPROP_TIMEDATEFUNCTIONS 22
- #define KAGPROP_FILEUSAGE 23
- #define KAGPROP_ACTIVESTATEMENTS 24
-
-
- // Bitmask values for KAGPROP_CONCURRENCY
- #define KAGPROPVAL_CONCUR_ROWVER 0x00000001
- #define KAGPROPVAL_CONCUR_VALUES 0x00000002
- #define KAGPROPVAL_CONCUR_LOCK 0x00000004
- #define KAGPROPVAL_CONCUR_READ_ONLY 0x00000008
-
-
- /* this ALWAYS GENERATED file contains the definitions for the interfaces */
-
-
- /* File created by MIDL compiler version 3.00.15 */
- /* at Tue Sep 24 13:38:00 1996
- */
- /* Compiler settings for rstcei.idl:
- Os, W1, Zp8, env=Win32, ms_ext, c_ext
- error checks: none
- */
- //@@MIDL_FILE_HEADING( )
- #include "rpc.h"
- #include "rpcndr.h"
- #ifndef COM_NO_WINDOWS_H
- #include "windows.h"
- #include "ole2.h"
- #endif /*COM_NO_WINDOWS_H*/
-
- #ifndef __rstcei_h__
- #define __rstcei_h__
-
- #ifdef __cplusplus
- extern "C"{
- #endif
-
- /* Forward Declarations */
-
- #ifndef __IRowsetChangeExtInfo_FWD_DEFINED__
- #define __IRowsetChangeExtInfo_FWD_DEFINED__
- typedef interface IRowsetChangeExtInfo IRowsetChangeExtInfo;
- #endif /* __IRowsetChangeExtInfo_FWD_DEFINED__ */
-
- void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
- void __RPC_USER MIDL_user_free( void __RPC_FAR * );
-
- #ifndef __IRowsetChangeExtInfo_INTERFACE_DEFINED__
- #define __IRowsetChangeExtInfo_INTERFACE_DEFINED__
-
- /****************************************
- * Generated header for interface: IRowsetChangeExtInfo
- * at Tue Sep 24 13:38:00 1996
- * using MIDL 3.00.15
- ****************************************/
- /* [unique][uuid][object][local] */
-
-
-
- EXTERN_C const IID IID_IRowsetChangeExtInfo;
-
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- interface IRowsetChangeExtInfo : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetOriginalRow(
- /* [in] */ HCHAPTER hReserved,
- /* [in] */ HROW hRow,
- /* [out] */ HROW __RPC_FAR *phRowOriginal) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetPendingColumns(
- /* [in] */ HCHAPTER hReserved,
- /* [in] */ HROW hRow,
- /* [in] */ ULONG cColumnOrdinals,
- /* [size_is][in] */ const ULONG __RPC_FAR rgiOrdinals[ ],
- /* [size_is][out] */ DBPENDINGSTATUS __RPC_FAR rgColumnStatus[ ]) = 0;
-
- };
-
- #else /* C style interface */
-
- typedef struct IRowsetChangeExtInfoVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
- IRowsetChangeExtInfo __RPC_FAR * This,
- /* [in] */ REFIID riid,
- /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
-
- ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
- IRowsetChangeExtInfo __RPC_FAR * This);
-
- ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
- IRowsetChangeExtInfo __RPC_FAR * This);
-
- HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetOriginalRow )(
- IRowsetChangeExtInfo __RPC_FAR * This,
- /* [in] */ HCHAPTER hReserved,
- /* [in] */ HROW hRow,
- /* [out] */ HROW __RPC_FAR *phRowOriginal);
-
- HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPendingColumns )(
- IRowsetChangeExtInfo __RPC_FAR * This,
- /* [in] */ HCHAPTER hReserved,
- /* [in] */ HROW hRow,
- /* [in] */ ULONG cColumnOrdinals,
- /* [size_is][in] */ const ULONG __RPC_FAR rgiOrdinals[ ],
- /* [size_is][out] */ DBPENDINGSTATUS __RPC_FAR rgColumnStatus[ ]);
-
- END_INTERFACE
- } IRowsetChangeExtInfoVtbl;
-
- interface IRowsetChangeExtInfo
- {
- CONST_VTBL struct IRowsetChangeExtInfoVtbl __RPC_FAR *lpVtbl;
- };
-
-
-
- #ifdef COBJMACROS
-
-
- #define IRowsetChangeExtInfo_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
-
- #define IRowsetChangeExtInfo_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
-
- #define IRowsetChangeExtInfo_Release(This) \
- (This)->lpVtbl -> Release(This)
-
-
- #define IRowsetChangeExtInfo_GetOriginalRow(This,hReserved,hRow,phRowOriginal) \
- (This)->lpVtbl -> GetOriginalRow(This,hReserved,hRow,phRowOriginal)
-
- #define IRowsetChangeExtInfo_GetPendingColumns(This,hReserved,hRow,cColumnOrdinals,rgiOrdinals,rgColumnStatus) \
- (This)->lpVtbl -> GetPendingColumns(This,hReserved,hRow,cColumnOrdinals,rgiOrdinals,rgColumnStatus)
-
- #endif /* COBJMACROS */
-
-
- #endif /* C style interface */
-
-
-
- HRESULT STDMETHODCALLTYPE IRowsetChangeExtInfo_GetOriginalRow_Proxy(
- IRowsetChangeExtInfo __RPC_FAR * This,
- /* [in] */ HCHAPTER hReserved,
- /* [in] */ HROW hRow,
- /* [out] */ HROW __RPC_FAR *phRowOriginal);
-
-
- void __RPC_STUB IRowsetChangeExtInfo_GetOriginalRow_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
-
-
- HRESULT STDMETHODCALLTYPE IRowsetChangeExtInfo_GetPendingColumns_Proxy(
- IRowsetChangeExtInfo __RPC_FAR * This,
- /* [in] */ HCHAPTER hReserved,
- /* [in] */ HROW hRow,
- /* [in] */ ULONG cColumnOrdinals,
- /* [size_is][in] */ const ULONG __RPC_FAR rgiOrdinals[ ],
- /* [size_is][out] */ DBPENDINGSTATUS __RPC_FAR rgColumnStatus[ ]);
-
-
- void __RPC_STUB IRowsetChangeExtInfo_GetPendingColumns_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
-
-
-
- #endif /* __IRowsetChangeExtInfo_INTERFACE_DEFINED__ */
-
-
- /* Additional Prototypes for ALL interfaces */
-
- /* end of Additional Prototypes */
-
- #ifdef __cplusplus
- }
- #endif
-
- #endif
-
- #pragma option pop /*P_O_Pop*/
- #endif
- //----
-