/* this ALWAYS GENERATED file contains the definitions for the interfaces */ /* File created by MIDL compiler version 3.01.75 */ /* at Thu May 22 17:20:43 1997 */ /* Compiler settings for msdadc.idl: Oicf (OptLev=i2), 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 __msdadc_h__ #define __msdadc_h__ #ifdef __cplusplus extern "C"{ #endif /* Forward Declarations */ #ifndef __IDataConvert_FWD_DEFINED__ #define __IDataConvert_FWD_DEFINED__ typedef interface IDataConvert IDataConvert; #endif /* __IDataConvert_FWD_DEFINED__ */ #ifndef __IRowPosition_FWD_DEFINED__ #define __IRowPosition_FWD_DEFINED__ typedef interface IRowPosition IRowPosition; #endif /* __IRowPosition_FWD_DEFINED__ */ #ifndef __IRowPositionChange_FWD_DEFINED__ #define __IRowPositionChange_FWD_DEFINED__ typedef interface IRowPositionChange IRowPositionChange; #endif /* __IRowPositionChange_FWD_DEFINED__ */ #ifndef __DataConvert_FWD_DEFINED__ #define __DataConvert_FWD_DEFINED__ #ifdef __cplusplus typedef class DataConvert DataConvert; #else typedef struct DataConvert DataConvert; #endif /* __cplusplus */ #endif /* __DataConvert_FWD_DEFINED__ */ #ifndef __RowPosition_FWD_DEFINED__ #define __RowPosition_FWD_DEFINED__ #ifdef __cplusplus typedef class RowPosition RowPosition; #else typedef struct RowPosition RowPosition; #endif /* __cplusplus */ #endif /* __RowPosition_FWD_DEFINED__ */ /* header files for imported files */ #include "oaidl.h" #include "ocidl.h" void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t); void __RPC_USER MIDL_user_free( void __RPC_FAR * ); #ifndef __IDataConvert_INTERFACE_DEFINED__ #define __IDataConvert_INTERFACE_DEFINED__ /**************************************** * Generated header for interface: IDataConvert * at Thu May 22 17:20:43 1997 * using MIDL 3.01.75 ****************************************/ /* [unique][helpstring][uuid][object] */ typedef DWORD DBDATACONVERT; enum DBDATACONVERTENUM { DBDATACONVERT_DEFAULT = 0, DBDATACONVERT_SETDATABEHAVIOR = 0x1, DBDATACONVERT_LENGTHFROMNTS = 0x2 }; EXTERN_C const IID IID_IDataConvert; #if defined(__cplusplus) && !defined(CINTERFACE) interface DECLSPEC_UUID("0c733a8d-2a1c-11ce-ade5-00aa0044773d") IDataConvert : public IUnknown { public: virtual /* [local] */ HRESULT STDMETHODCALLTYPE DataConvert( /* [in] */ DBTYPE wSrcType, /* [in] */ DBTYPE wDstType, /* [in] */ ULONG cbSrcLength, /* [out][in] */ ULONG __RPC_FAR *pcbDstLength, /* [in] */ void __RPC_FAR *pSrc, /* [out] */ void __RPC_FAR *pDst, /* [in] */ ULONG cbDstMaxLength, /* [in] */ DBSTATUS dbsSrcStatus, /* [out] */ DBSTATUS __RPC_FAR *pdbsStatus, /* [in] */ BYTE bPrecision, /* [in] */ BYTE bScale, /* [in] */ DBDATACONVERT dwFlags) = 0; virtual HRESULT STDMETHODCALLTYPE CanConvert( /* [in] */ DBTYPE wSrcType, /* [in] */ DBTYPE wDstType) = 0; virtual /* [local] */ HRESULT STDMETHODCALLTYPE GetConversionSize( /* [in] */ DBTYPE wSrcType, /* [in] */ DBTYPE wDstType, /* [in] */ ULONG __RPC_FAR *pcbSrcLength, /* [out] */ ULONG __RPC_FAR *pcbDstLength, /* [size_is][in] */ void __RPC_FAR *pSrc) = 0; }; #else /* C style interface */ typedef struct IDataConvertVtbl { BEGIN_INTERFACE HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( IDataConvert __RPC_FAR * This, /* [in] */ REFIID riid, /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject); ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( IDataConvert __RPC_FAR * This); ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( IDataConvert __RPC_FAR * This); /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DataConvert )( IDataConvert __RPC_FAR * This, /* [in] */ DBTYPE wSrcType, /* [in] */ DBTYPE wDstType, /* [in] */ ULONG cbSrcLength, /* [out][in] */ ULONG __RPC_FAR *pcbDstLength, /* [in] */ void __RPC_FAR *pSrc, /* [out] */ void __RPC_FAR *pDst, /* [in] */ ULONG cbDstMaxLength, /* [in] */ DBSTATUS dbsSrcStatus, /* [out] */ DBSTATUS __RPC_FAR *pdbsStatus, /* [in] */ BYTE bPrecision, /* [in] */ BYTE bScale, /* [in] */ DBDATACONVERT dwFlags); HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CanConvert )( IDataConvert __RPC_FAR * This, /* [in] */ DBTYPE wSrcType, /* [in] */ DBTYPE wDstType); /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetConversionSize )( IDataConvert __RPC_FAR * This, /* [in] */ DBTYPE wSrcType, /* [in] */ DBTYPE wDstType, /* [in] */ ULONG __RPC_FAR *pcbSrcLength, /* [out] */ ULONG __RPC_FAR *pcbDstLength, /* [size_is][in] */ void __RPC_FAR *pSrc); END_INTERFACE } IDataConvertVtbl; interface IDataConvert { CONST_VTBL struct IDataConvertVtbl __RPC_FAR *lpVtbl; }; #ifdef COBJMACROS #define IDataConvert_QueryInterface(This,riid,ppvObject) \ (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) #define IDataConvert_AddRef(This) \ (This)->lpVtbl -> AddRef(This) #define IDataConvert_Release(This) \ (This)->lpVtbl -> Release(This) #define IDataConvert_DataConvert(This,wSrcType,wDstType,cbSrcLength,pcbDstLength,pSrc,pDst,cbDstMaxLength,dbsSrcStatus,pdbsStatus,bPrecision,bScale,dwFlags) \ (This)->lpVtbl -> DataConvert(This,wSrcType,wDstType,cbSrcLength,pcbDstLength,pSrc,pDst,cbDstMaxLength,dbsSrcStatus,pdbsStatus,bPrecision,bScale,dwFlags) #define IDataConvert_CanConvert(This,wSrcType,wDstType) \ (This)->lpVtbl -> CanConvert(This,wSrcType,wDstType) #define IDataConvert_GetConversionSize(This,wSrcType,wDstType,pcbSrcLength,pcbDstLength,pSrc) \ (This)->lpVtbl -> GetConversionSize(This,wSrcType,wDstType,pcbSrcLength,pcbDstLength,pSrc) #endif /* COBJMACROS */ #endif /* C style interface */ /* [local] */ HRESULT STDMETHODCALLTYPE IDataConvert_DataConvert_Proxy( IDataConvert __RPC_FAR * This, /* [in] */ DBTYPE wSrcType, /* [in] */ DBTYPE wDstType, /* [in] */ ULONG cbSrcLength, /* [out][in] */ ULONG __RPC_FAR *pcbDstLength, /* [in] */ void __RPC_FAR *pSrc, /* [out] */ void __RPC_FAR *pDst, /* [in] */ ULONG cbDstMaxLength, /* [in] */ DBSTATUS dbsSrcStatus, /* [out] */ DBSTATUS __RPC_FAR *pdbsStatus, /* [in] */ BYTE bPrecision, /* [in] */ BYTE bScale, /* [in] */ DBDATACONVERT dwFlags); void __RPC_STUB IDataConvert_DataConvert_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); HRESULT STDMETHODCALLTYPE IDataConvert_CanConvert_Proxy( IDataConvert __RPC_FAR * This, /* [in] */ DBTYPE wSrcType, /* [in] */ DBTYPE wDstType); void __RPC_STUB IDataConvert_CanConvert_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [local] */ HRESULT STDMETHODCALLTYPE IDataConvert_GetConversionSize_Proxy( IDataConvert __RPC_FAR * This, /* [in] */ DBTYPE wSrcType, /* [in] */ DBTYPE wDstType, /* [in] */ ULONG __RPC_FAR *pcbSrcLength, /* [out] */ ULONG __RPC_FAR *pcbDstLength, /* [size_is][in] */ void __RPC_FAR *pSrc); void __RPC_STUB IDataConvert_GetConversionSize_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); #endif /* __IDataConvert_INTERFACE_DEFINED__ */ #ifndef __IRowPosition_INTERFACE_DEFINED__ #define __IRowPosition_INTERFACE_DEFINED__ /**************************************** * Generated header for interface: IRowPosition * at Thu May 22 17:20:43 1997 * using MIDL 3.01.75 ****************************************/ /* [unique][helpstring][uuid][object] */ typedef DWORD DBPOSITIONFLAGS; enum DBPOSITIONFLAGSENUM { DBPOSITION_OK = 0, DBPOSITION_NOROW = DBPOSITION_OK + 1, DBPOSITION_BOF = DBPOSITION_NOROW + 1, DBPOSITION_EOF = DBPOSITION_BOF + 1 }; EXTERN_C const IID IID_IRowPosition; #if defined(__cplusplus) && !defined(CINTERFACE) interface DECLSPEC_UUID("0c733a94-2a1c-11ce-ade5-00aa0044773d") IRowPosition : public IUnknown { public: virtual HRESULT STDMETHODCALLTYPE ClearRowPosition( void) = 0; virtual HRESULT STDMETHODCALLTYPE GetRowPosition( /* [out] */ HCHAPTER __RPC_FAR *phChapter, /* [out] */ HROW __RPC_FAR *phRow, /* [out] */ DBPOSITIONFLAGS __RPC_FAR *pdwPositionFlags) = 0; virtual HRESULT STDMETHODCALLTYPE GetRowset( /* [in] */ REFIID riid, /* [iid_is][out] */ LPUNKNOWN __RPC_FAR *ppRowset) = 0; virtual HRESULT STDMETHODCALLTYPE Initialize( /* [in] */ IUnknown __RPC_FAR *pRowset) = 0; virtual HRESULT STDMETHODCALLTYPE SetRowPosition( /* [in] */ HCHAPTER hChapter, /* [in] */ HROW hRow, /* [in] */ DBPOSITIONFLAGS dwPositionFlags) = 0; }; #else /* C style interface */ typedef struct IRowPositionVtbl { BEGIN_INTERFACE HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( IRowPosition __RPC_FAR * This, /* [in] */ REFIID riid, /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject); ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( IRowPosition __RPC_FAR * This); ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( IRowPosition __RPC_FAR * This); HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ClearRowPosition )( IRowPosition __RPC_FAR * This); HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetRowPosition )( IRowPosition __RPC_FAR * This, /* [out] */ HCHAPTER __RPC_FAR *phChapter, /* [out] */ HROW __RPC_FAR *phRow, /* [out] */ DBPOSITIONFLAGS __RPC_FAR *pdwPositionFlags); HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetRowset )( IRowPosition __RPC_FAR * This, /* [in] */ REFIID riid, /* [iid_is][out] */ LPUNKNOWN __RPC_FAR *ppRowset); HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Initialize )( IRowPosition __RPC_FAR * This, /* [in] */ IUnknown __RPC_FAR *pRowset); HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetRowPosition )( IRowPosition __RPC_FAR * This, /* [in] */ HCHAPTER hChapter, /* [in] */ HROW hRow, /* [in] */ DBPOSITIONFLAGS dwPositionFlags); END_INTERFACE } IRowPositionVtbl; interface IRowPosition { CONST_VTBL struct IRowPositionVtbl __RPC_FAR *lpVtbl; }; #ifdef COBJMACROS #define IRowPosition_QueryInterface(This,riid,ppvObject) \ (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) #define IRowPosition_AddRef(This) \ (This)->lpVtbl -> AddRef(This) #define IRowPosition_Release(This) \ (This)->lpVtbl -> Release(This) #define IRowPosition_ClearRowPosition(This) \ (This)->lpVtbl -> ClearRowPosition(This) #define IRowPosition_GetRowPosition(This,phChapter,phRow,pdwPositionFlags) \ (This)->lpVtbl -> GetRowPosition(This,phChapter,phRow,pdwPositionFlags) #define IRowPosition_GetRowset(This,riid,ppRowset) \ (This)->lpVtbl -> GetRowset(This,riid,ppRowset) #define IRowPosition_Initialize(This,pRowset) \ (This)->lpVtbl -> Initialize(This,pRowset) #define IRowPosition_SetRowPosition(This,hChapter,hRow,dwPositionFlags) \ (This)->lpVtbl -> SetRowPosition(This,hChapter,hRow,dwPositionFlags) #endif /* COBJMACROS */ #endif /* C style interface */ HRESULT STDMETHODCALLTYPE IRowPosition_ClearRowPosition_Proxy( IRowPosition __RPC_FAR * This); void __RPC_STUB IRowPosition_ClearRowPosition_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); HRESULT STDMETHODCALLTYPE IRowPosition_GetRowPosition_Proxy( IRowPosition __RPC_FAR * This, /* [out] */ HCHAPTER __RPC_FAR *phChapter, /* [out] */ HROW __RPC_FAR *phRow, /* [out] */ DBPOSITIONFLAGS __RPC_FAR *pdwPositionFlags); void __RPC_STUB IRowPosition_GetRowPosition_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); HRESULT STDMETHODCALLTYPE IRowPosition_GetRowset_Proxy( IRowPosition __RPC_FAR * This, /* [in] */ REFIID riid, /* [iid_is][out] */ LPUNKNOWN __RPC_FAR *ppRowset); void __RPC_STUB IRowPosition_GetRowset_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); HRESULT STDMETHODCALLTYPE IRowPosition_Initialize_Proxy( IRowPosition __RPC_FAR * This, /* [in] */ IUnknown __RPC_FAR *pRowset); void __RPC_STUB IRowPosition_Initialize_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); HRESULT STDMETHODCALLTYPE IRowPosition_SetRowPosition_Proxy( IRowPosition __RPC_FAR * This, /* [in] */ HCHAPTER hChapter, /* [in] */ HROW hRow, /* [in] */ DBPOSITIONFLAGS dwPositionFlags); void __RPC_STUB IRowPosition_SetRowPosition_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); #endif /* __IRowPosition_INTERFACE_DEFINED__ */ #ifndef __IRowPositionChange_INTERFACE_DEFINED__ #define __IRowPositionChange_INTERFACE_DEFINED__ /**************************************** * Generated header for interface: IRowPositionChange * at Thu May 22 17:20:43 1997 * using MIDL 3.01.75 ****************************************/ /* [unique][helpstring][uuid][object] */ enum DBREASONPOSITIONENUM { DBREASON_ROWPOSITION_CHANGED = DBREASON_ROWSET_CHANGED + 1, DBREASON_ROWPOSITION_CHAPTERCHANGED = DBREASON_ROWPOSITION_CHANGED + 1, DBREASON_ROWPOSITION_CLEARED = DBREASON_ROWPOSITION_CHAPTERCHANGED + 1 }; EXTERN_C const IID IID_IRowPositionChange; #if defined(__cplusplus) && !defined(CINTERFACE) interface DECLSPEC_UUID("0997a571-126e-11d0-9f8a-00a0c9a0631e") IRowPositionChange : public IUnknown { public: virtual HRESULT STDMETHODCALLTYPE OnRowPositionChange( /* [in] */ DBREASON eReason, /* [in] */ DBEVENTPHASE ePhase, /* [in] */ BOOL fCantDeny) = 0; }; #else /* C style interface */ typedef struct IRowPositionChangeVtbl { BEGIN_INTERFACE HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( IRowPositionChange __RPC_FAR * This, /* [in] */ REFIID riid, /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject); ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( IRowPositionChange __RPC_FAR * This); ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( IRowPositionChange __RPC_FAR * This); HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnRowPositionChange )( IRowPositionChange __RPC_FAR * This, /* [in] */ DBREASON eReason, /* [in] */ DBEVENTPHASE ePhase, /* [in] */ BOOL fCantDeny); END_INTERFACE } IRowPositionChangeVtbl; interface IRowPositionChange { CONST_VTBL struct IRowPositionChangeVtbl __RPC_FAR *lpVtbl; }; #ifdef COBJMACROS #define IRowPositionChange_QueryInterface(This,riid,ppvObject) \ (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) #define IRowPositionChange_AddRef(This) \ (This)->lpVtbl -> AddRef(This) #define IRowPositionChange_Release(This) \ (This)->lpVtbl -> Release(This) #define IRowPositionChange_OnRowPositionChange(This,eReason,ePhase,fCantDeny) \ (This)->lpVtbl -> OnRowPositionChange(This,eReason,ePhase,fCantDeny) #endif /* COBJMACROS */ #endif /* C style interface */ HRESULT STDMETHODCALLTYPE IRowPositionChange_OnRowPositionChange_Proxy( IRowPositionChange __RPC_FAR * This, /* [in] */ DBREASON eReason, /* [in] */ DBEVENTPHASE ePhase, /* [in] */ BOOL fCantDeny); void __RPC_STUB IRowPositionChange_OnRowPositionChange_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); #endif /* __IRowPositionChange_INTERFACE_DEFINED__ */ #ifndef __MSDAUTILLib_LIBRARY_DEFINED__ #define __MSDAUTILLib_LIBRARY_DEFINED__ /**************************************** * Generated header for library: MSDAUTILLib * at Thu May 22 17:20:43 1997 * using MIDL 3.01.75 ****************************************/ /* [helpstring][version][uuid] */ EXTERN_C const IID LIBID_MSDAUTILLib; #ifdef __cplusplus EXTERN_C const CLSID CLSID_DataConvert; class DECLSPEC_UUID("c8b522d1-5cf3-11ce-ade5-00aa0044773d") DataConvert; #endif #ifdef __cplusplus EXTERN_C const CLSID CLSID_RowPosition; class DECLSPEC_UUID("2048EEE6-7FA2-11D0-9E6A-00A0C9138C29") RowPosition; DEFINE_GUID(CLSID_RowPosition, 0x2048eee6, 0x7fa2, 0x11d0, 0x9e, 0x6a, 0x0, 0xa0, 0xc9, 0x13, 0x8c, 0x29); DEFINE_GUID(IID_IRowPosition, 0x0c733a94, 0x2a1c, 0x11ce, 0xad, 0xe5, 0x0, 0xaa, 0x0, 0x44, 0x77, 0x3d); DEFINE_GUID(IID_IRowPositionChange, 0x0997a571, 0x126e, 0x11d0, 0x9f, 0x8a, 0x0, 0xa0, 0xc9, 0xa0, 0x63, 0x1e); #endif #endif /* __MSDAUTILLib_LIBRARY_DEFINED__ */ /* Additional Prototypes for ALL interfaces */ /* end of Additional Prototypes */ #ifdef __cplusplus } #endif #endif