⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sd_oledb_d5.hpp

📁 SQLDirect Component Library is a light-weight Borland Database Engine replacement for Borland Delphi
💻 HPP
📖 第 1 页 / 共 5 页
字号:
	
{
	
public:
	virtual HRESULT __safecall CreateDataSource(unsigned cPropertySets, PDBPropSetArray rgPropertySets, 
		const _di_IUnknown punkOuter, const GUID &riid, /* out */ _di_IUnknown &ppDBSession) = 0 ;
	virtual HRESULT __safecall DestroyDataSource(void) = 0 ;
	virtual HRESULT __safecall GetCreationProperties(unsigned cPropertyIDSets, PDBPropIDSetArray rgPropertyIDSets
		, PUINT pcPropertyInfoSets, /* out */ PDBPropInfoSet &prgPropertyInfoSets, Activex::PPOleStr ppDescBuffer
		) = 0 ;
	virtual HRESULT __safecall ModifyDataSource(unsigned cPropertySets, PDBPropSetArray rgPropertySets)
		 = 0 ;
};

__interface ISessionProperties;
typedef System::DelphiInterface<ISessionProperties> _di_ISessionProperties;
__interface INTERFACE_UUID("{0C733A85-2A1C-11CE-ADE5-00AA0044773D}") ISessionProperties  : public IUnknown 
	
{
	
public:
	virtual HRESULT __stdcall GetProperties(unsigned cPropertyIDSets, PDBPropIDSetArray rgPropertyIDSets
		, unsigned &pcPropertySets, /* out */ PDBPropSet &prgPropertySets) = 0 ;
	virtual HRESULT __stdcall SetProperties(unsigned cPropertySets, PDBPropSetArray rgPropertySets) = 0 
		;
};

__interface ISessionPropertiesSC;
typedef System::DelphiInterface<ISessionPropertiesSC> _di_ISessionPropertiesSC;
__interface INTERFACE_UUID("{0C733A85-2A1C-11CE-ADE5-00AA0044773D}") ISessionPropertiesSC  : public IUnknown 
	
{
	
public:
	virtual HRESULT __safecall GetProperties(unsigned cPropertyIDSets, PDBPropIDSetArray rgPropertyIDSets
		, unsigned &pcPropertySets, /* out */ PDBPropSet &prgPropertySets) = 0 ;
	virtual HRESULT __safecall SetProperties(unsigned cPropertySets, PDBPropSetArray rgPropertySets) = 0 
		;
};

__interface IIndexDefinition;
typedef System::DelphiInterface<IIndexDefinition> _di_IIndexDefinition;
__interface INTERFACE_UUID("{0C733A68-2A1C-11CE-ADE5-00AA0044773D}") IIndexDefinition  : public IUnknown 
	
{
	
public:
	virtual HRESULT __stdcall CreateIndex(DBID &pTableID, PDBID pIndexID, unsigned cIndexColumnDescs, PDBIndexColumnDescArray 
		rgIndexColumnDescs, unsigned cPropertySets, PDBPropSetArray rgPropertySets, PPDBID ppIndexID) = 0 
		;
	virtual HRESULT __stdcall DropIndex(DBID &TableID, PDBID pIndexID) = 0 ;
};

__interface IIndexDefinitionSC;
typedef System::DelphiInterface<IIndexDefinitionSC> _di_IIndexDefinitionSC;
__interface INTERFACE_UUID("{0C733A68-2A1C-11CE-ADE5-00AA0044773D}") IIndexDefinitionSC  : public IUnknown 
	
{
	
public:
	virtual HRESULT __safecall CreateIndex(DBID &pTableID, PDBID pIndexID, unsigned cIndexColumnDescs, 
		PDBIndexColumnDescArray rgIndexColumnDescs, unsigned cPropertySets, PDBPropSetArray rgPropertySets
		, PPDBID ppIndexID) = 0 ;
	virtual HRESULT __safecall DropIndex(DBID &TableID, PDBID pIndexID) = 0 ;
};

__interface ITableDefinition;
typedef System::DelphiInterface<ITableDefinition> _di_ITableDefinition;
__interface INTERFACE_UUID("{0C733A86-2A1C-11CE-ADE5-00AA0044773D}") ITableDefinition  : public IUnknown 
	
{
	
public:
	virtual HRESULT __stdcall CreateTable(const _di_IUnknown punkOuter, PDBID pTableID, unsigned cColumnDescs
		, PDBColumnDescArray rgColumnDescs, const GUID &riid, unsigned cPropertySets, PDBPropSetArray rgPropertySets
		, PPDBID ppTableID, PIUnknown ppRowset) = 0 ;
	virtual HRESULT __stdcall DropTable(DBID &pTableID) = 0 ;
	virtual HRESULT __stdcall AddColumn(DBID &pTableID, DBCOLUMNDESC &pColumnDesc, PPDBID ppColumnID) = 0 
		;
	virtual HRESULT __stdcall DropColumn(DBID &pTableID, DBID &pColumnID) = 0 ;
};

__interface ITableDefinitionSC;
typedef System::DelphiInterface<ITableDefinitionSC> _di_ITableDefinitionSC;
__interface INTERFACE_UUID("{0C733A86-2A1C-11CE-ADE5-00AA0044773D}") ITableDefinitionSC  : public IUnknown 
	
{
	
public:
	virtual HRESULT __safecall CreateTable(const _di_IUnknown punkOuter, PDBID pTableID, unsigned cColumnDescs
		, PDBColumnDescArray rgColumnDescs, const GUID &riid, unsigned cPropertySets, PDBPropSetArray rgPropertySets
		, PPDBID ppTableID, PIUnknown ppRowset) = 0 ;
	virtual HRESULT __safecall DropTable(DBID &pTableID) = 0 ;
	virtual HRESULT __safecall AddColumn(DBID &pTableID, DBCOLUMNDESC &pColumnDesc, PPDBID ppColumnID) = 0 
		;
	virtual HRESULT __safecall DropColumn(DBID &pTableID, DBID &pColumnID) = 0 ;
};

__interface IOpenRowset;
typedef System::DelphiInterface<IOpenRowset> _di_IOpenRowset;
__interface INTERFACE_UUID("{0C733A69-2A1C-11CE-ADE5-00AA0044773D}") IOpenRowset  : public IUnknown 
	
{
	
public:
	virtual HRESULT __stdcall OpenRowset(const _di_IUnknown punkOuter, PDBID pTableID, PDBID pIndexID, 
		const GUID &riid, unsigned cPropertySets, PDBPropSetArray rgPropertySets, PIUnknown ppRowset) = 0 
		;
};

__interface IOpenRowsetSC;
typedef System::DelphiInterface<IOpenRowsetSC> _di_IOpenRowsetSC;
__interface INTERFACE_UUID("{0C733A69-2A1C-11CE-ADE5-00AA0044773D}") IOpenRowsetSC  : public IUnknown 
	
{
	
public:
	virtual HRESULT __safecall OpenRowset(const _di_IUnknown punkOuter, PDBID pTableID, PDBID pIndexID, 
		const GUID &riid, unsigned cPropertySets, PDBPropSetArray rgPropertySets, PIUnknown ppRowset) = 0 
		;
};

__interface IErrorLookup;
typedef System::DelphiInterface<IErrorLookup> _di_IErrorLookup;
__interface INTERFACE_UUID("{0C733A66-2A1C-11CE-ADE5-00AA0044773D}") IErrorLookup  : public IUnknown 
	
{
	
public:
	virtual HRESULT __stdcall GetErrorDescription(HRESULT hrError, unsigned dwLookupID, Activex::PDispParams 
		pdispparams, unsigned lcid, /* out */ WideString &pbstrSource, /* out */ WideString &pbstrDescription
		) = 0 ;
	virtual HRESULT __stdcall GetHelpInfo(HRESULT hrError, unsigned dwLookupID, unsigned lcid, /* out */ 
		WideString &pbstrHelpFile, /* out */ unsigned &pdwHelpContext) = 0 ;
	virtual HRESULT __stdcall ReleaseErrors(unsigned dwDynamicErrorID) = 0 ;
};

__interface IErrorLookupSC;
typedef System::DelphiInterface<IErrorLookupSC> _di_IErrorLookupSC;
__interface INTERFACE_UUID("{0C733A66-2A1C-11CE-ADE5-00AA0044773D}") IErrorLookupSC  : public IUnknown 
	
{
	
public:
	virtual HRESULT __safecall GetErrorDescription(HRESULT hrError, unsigned dwLookupID, Activex::PDispParams 
		pdispparams, unsigned lcid, /* out */ WideString &pbstrSource, /* out */ WideString &pbstrDescription
		) = 0 ;
	virtual HRESULT __safecall GetHelpInfo(HRESULT hrError, unsigned dwLookupID, unsigned lcid, /* out */ 
		WideString &pbstrHelpFile, /* out */ unsigned &pdwHelpContext) = 0 ;
	virtual HRESULT __safecall ReleaseErrors(unsigned dwDynamicErrorID) = 0 ;
};

__interface ISQLErrorInfo;
typedef System::DelphiInterface<ISQLErrorInfo> _di_ISQLErrorInfo;
__interface INTERFACE_UUID("{0C733A74-2A1C-11CE-ADE5-00AA0044773D}") ISQLErrorInfo  : public IUnknown 
	
{
	
public:
	virtual HRESULT __stdcall GetSQLInfo(/* out */ WideString &pbstrSQLState, /* out */ int &plNativeError
		) = 0 ;
};

__interface ISQLErrorInfoSC;
typedef System::DelphiInterface<ISQLErrorInfoSC> _di_ISQLErrorInfoSC;
__interface INTERFACE_UUID("{0C733A74-2A1C-11CE-ADE5-00AA0044773D}") ISQLErrorInfoSC  : public IUnknown 
	
{
	
public:
	virtual HRESULT __safecall GetSQLInfo(/* out */ WideString &pbstrSQLState, /* out */ int &plNativeError
		) = 0 ;
};

__interface IGetDataSource;
typedef System::DelphiInterface<IGetDataSource> _di_IGetDataSource;
__interface INTERFACE_UUID("{0C733A75-2A1C-11CE-ADE5-00AA0044773D}") IGetDataSource  : public IUnknown 
	
{
	
public:
	virtual HRESULT __stdcall GetDataSource(const GUID &riid, /* out */ _di_IUnknown &ppDataSource) = 0 
		;
};

__interface IGetDataSourceSC;
typedef System::DelphiInterface<IGetDataSourceSC> _di_IGetDataSourceSC;
__interface INTERFACE_UUID("{0C733A75-2A1C-11CE-ADE5-00AA0044773D}") IGetDataSourceSC  : public IUnknown 
	
{
	
public:
	virtual HRESULT __safecall GetDataSource(const GUID &riid, /* out */ _di_IUnknown &ppDataSource) = 0 
		;
};

__interface ITransactionLocal;
typedef System::DelphiInterface<ITransactionLocal> _di_ITransactionLocal;
__interface INTERFACE_UUID("{0C733A5F-2A1C-11CE-ADE5-00AA0044773D}") ITransactionLocal  : public ITransaction 
	
{
	
public:
	virtual HRESULT __stdcall GetOptionsObject(/* out */ _di_ITransactionOptions &ppOptions) = 0 ;
	virtual HRESULT __stdcall StartTransaction(int isoLevel, unsigned isoFlags, const _di_ITransactionOptions 
		pOtherOptions, PUINT pulTransactionLevel) = 0 ;
};

__interface ITransactionLocalSC;
typedef System::DelphiInterface<ITransactionLocalSC> _di_ITransactionLocalSC;
__interface INTERFACE_UUID("{0C733A5F-2A1C-11CE-ADE5-00AA0044773D}") ITransactionLocalSC  : public ITransaction 
	
{
	
public:
	virtual HRESULT __safecall GetOptionsObject(/* out */ _di_ITransactionOptions &ppOptions) = 0 ;
	virtual HRESULT __safecall StartTransaction(int isoLevel, unsigned isoFlags, const _di_ITransactionOptions 
		pOtherOptions, PUINT pulTransactionLevel) = 0 ;
};

__interface ITransactionJoin;
typedef System::DelphiInterface<ITransactionJoin> _di_ITransactionJoin;
__interface INTERFACE_UUID("{0C733A5E-2A1C-11CE-ADE5-00AA0044773D}") ITransactionJoin  : public IUnknown 
	
{
	
public:
	virtual HRESULT __stdcall GetOptionsObject(/* out */ _di_ITransactionOptions &ppOptions) = 0 ;
	virtual HRESULT __stdcall JoinTransaction(const _di_IUnknown punkTransactionCoord, int isoLevel, unsigned 
		isoFlags, const _di_ITransactionOptions pOtherOptions) = 0 ;
};

__interface ITransactionJoinSC;
typedef System::DelphiInterface<ITransactionJoinSC> _di_ITransactionJoinSC;
__interface INTERFACE_UUID("{0C733A5E-2A1C-11CE-ADE5-00AA0044773D}") ITransactionJoinSC  : public IUnknown 
	
{
	
public:
	virtual HRESULT __safecall GetOptionsObject(/* out */ _di_ITransactionOptions &ppOptions) = 0 ;
	virtual HRESULT __safecall JoinTransaction(const _di_IUnknown punkTransactionCoord, int isoLevel, unsigned 
		isoFlags, const _di_ITransactionOptions pOtherOptions) = 0 ;
};

__interface ITransactionObject;
typedef System::DelphiInterface<ITransactionObject> _di_ITransactionObject;
__interface INTERFACE_UUID("{0C733A60-2A1C-11CE-ADE5-00AA0044773D}") ITransactionObject  : public IUnknown 
	
{
	
public:
	virtual HRESULT __stdcall GetTransactionObject(unsigned ulTransactionLevel, /* out */ _di_ITransaction 
		&ppTransactionObject) = 0 ;
};

__interface ITransactionObjectSC;
typedef System::DelphiInterface<ITransactionObjectSC> _di_ITransactionObjectSC;
__interface INTERFACE_UUID("{0C733A60-2A1C-11CE-ADE5-00AA0044773D}") ITransactionObjectSC  : public IUnknown 
	
{
	
public:
	virtual HRESULT __safecall GetTransactionObject(unsigned ulTransactionLevel, /* out */ _di_ITransaction 
		&ppTransactionObject) = 0 ;
};

__interface IDBAsynchStatus;
typedef System::DelphiInterface<IDBAsynchStatus> _di_IDBAsynchStatus;
__interface INTERFACE_UUID("{0C733A95-2A1C-11CE-ADE5-00AA0044773D}") IDBAsynchStatus  : public IUnknown 
	
{
	
public:
	virtual HRESULT __stdcall Abort(unsigned HCHAPTER, unsigned eOperation) = 0 ;
	virtual HRESULT __stdcall GetStatus(unsigned HCHAPTER, unsigned eOperation, PUINT pulProgress, PUINT 
		pulProgressMax, PDBASYNCHPHASE peAsynchPhase, Activex::PPOleStr ppwszStatusText) = 0 ;
};

__interface IDBAsynchStatusSC;
typedef System::DelphiInterface<IDBAsynchStatusSC> _di_IDBAsynchStatusSC;
__interface INTERFACE_UUID("{0C733A95-2A1C-11CE-ADE5-00AA0044773D}") IDBAsynchStatusSC  : public IUnknown 
	
{
	
public:
	virtual HRESULT __safecall Abort(unsigned HCHAPTER, unsigned eOperation) = 0 ;
	virtual HRESULT __safecall GetStatus(unsigned HCHAPTER, unsigned eOperation, PUINT pulProgress, PUINT 
		pulProgressMax, PDBASYNCHPHASE peAsynchPhase, Activex::PPOleStr ppwszStatusText) = 0 ;
};

__interface IRowsetFind;
typedef System::DelphiInterface<IRowsetFind> _di_IRowsetFind;
__interface INTERFACE_UUID("{0C733A9D-2A1C-11CE-ADE5-00AA0044773D}") IRowsetFind  : public IUnknown 
	
{
	
public:
	virtual HRESULT __stdcall FindNextRow(unsigned HCHAPTER, unsigned HACCESSOR, void * pFindValue, unsigned 
		CompareOp, unsigned cbBookmark, Windows::PByte pBookmark, int lRowsOffset, int cRows, unsigned &pcRowsObtained
		, /* out */ PHROW &prghRows) = 0 ;
};

__interface IRowsetFindSC;
typedef System::DelphiInterface<IRowsetFindSC> _di_IRowsetFindSC;
__interface INTERFACE_UUID("{0C733A9D-2A1C-11CE-ADE5-00AA0044773D}") IRowsetFindSC  : public IUnknown 
	
{
	
public:
	virtual HRESULT __safecall FindNextRow(unsigned HCHAPTER, unsigned HACCESSOR, void * pFindValue, unsigned 
		CompareOp, unsigned cbBookmark, Windows::PByte pBookmark, int lRowsOffset, int cRows, unsigned &pcRowsObtained
		, /* out */ PHROW &prghRows) = 0 ;
};

__interface IRowPosition;
typedef System::DelphiInterface<IRowPosition> _di_IRowPosition;
__interface INTERFACE_UUID("{0C733A94-2A1C-11CE-ADE5-00AA0044773D}") IRowPosition  : public IUnknown 
	
{
	
public:
	virtual HRESULT __stdcall ClearRowPosition(void) = 0 ;
	virtual HRESULT __stdcall GetRowPosition(/* out */ unsigned &phChapter, /* out */ unsigned &phRow, 
		/* out */ unsigned &pdwPositionFlags) = 0 ;
	virtual HRESULT __stdcall GetRowset(const GUID &riid, /* out */ _di_IUnknown &ppRowset) = 0 ;
	virtual HRESULT __stdcall Initialize(const _di_IUnknown pRowset) = 0 ;
	virtual HRESULT __stdcall SetRowPosition(unsigned HCHAPTER, unsigned HROW, unsigned dwPositionFlags
		) = 0 ;
};

__interface IRowPositionSC;
typedef System::DelphiInterface<IRowPositionSC> _di_IRowPositionSC;
__interface INTERFACE_UUID("{0C733A94-2A1C-11CE-ADE5-00AA0044773D}") IRowPositionSC  : public IUnknown 
	
{
	
public:
	virtual HRESULT __safecall ClearRowPosition(void) = 0 ;
	virtual HRESULT __safecall GetRowPosition(/* out */ unsigned &phChapter, /* out */ unsigned &phRow, 
		/* out */ unsigned &pdwPositionFlags) = 0 ;
	virtual HRESULT __safecall GetRowset(const GUID &riid, /* out */ _di_IUnknown &ppRowset) = 0 ;
	virtual HRESULT __safecall Initialize(const _di_IUnknown pRowset) = 0 ;
	virtual HRESULT __safecall SetRowPosition(unsigned HCHAPTER, unsigned HROW, unsigned dwPositionFlags
		) = 0 ;
};

__interface IRowPositionChange;
typedef System::DelphiInterface<IRowPositionChange> _di_IRowPositionChange;
__interface INTERFACE_UUID("{0997A571-126E-11D0-9F8A-00A0C9A0631E}") IRowPositionChange  : public IUnknown 
	
{
	
public:
	virtual HRESULT __stdcall OnRowPositionChange(unsigned eReason, unsigned ePhase, BOOL fCantDeny) = 0 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -