📄 msado15.tlh
字号:
//
// Wrapper methods for error-handling
//
IUnknownPtr GetRow ( );
void PutRow (
IUnknown * ppRow );
void PutParentRow (
IUnknown * _arg1 );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_Row (
/*[out,retval]*/ IUnknown * * ppRow ) = 0;
virtual HRESULT __stdcall put_Row (
/*[in]*/ IUnknown * ppRow ) = 0;
virtual HRESULT __stdcall put_ParentRow (
/*[in]*/ IUnknown * _arg1 ) = 0;
};
struct __declspec(uuid("00000568-0000-0010-8000-00aa006d2ea4"))
ADOStreamConstruction : IDispatch
{
//
// Property data
//
__declspec(property(get=GetStream,put=PutStream))
IUnknownPtr Stream;
//
// Wrapper methods for error-handling
//
IUnknownPtr GetStream ( );
void PutStream (
IUnknown * ppStm );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_Stream (
/*[out,retval]*/ IUnknown * * ppStm ) = 0;
virtual HRESULT __stdcall put_Stream (
/*[in]*/ IUnknown * ppStm ) = 0;
};
struct __declspec(uuid("00000517-0000-0010-8000-00aa006d2ea4"))
ADOCommandConstruction : IUnknown
{
//
// Property data
//
__declspec(property(get=GetOLEDBCommand,put=PutOLEDBCommand))
IUnknownPtr OLEDBCommand;
//
// Wrapper methods for error-handling
//
IUnknownPtr GetOLEDBCommand ( );
void PutOLEDBCommand (
IUnknown * ppOLEDBCommand );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_OLEDBCommand (
/*[out,retval]*/ IUnknown * * ppOLEDBCommand ) = 0;
virtual HRESULT __stdcall put_OLEDBCommand (
/*[in]*/ IUnknown * ppOLEDBCommand ) = 0;
};
struct __declspec(uuid("00000507-0000-0010-8000-00aa006d2ea4"))
Command;
// [ default ] interface _Command
struct __declspec(uuid("00000535-0000-0010-8000-00aa006d2ea4"))
Recordset;
// [ default ] interface _Recordset
// [ default, source ] dispinterface RecordsetEvents
struct __declspec(uuid("00000283-0000-0010-8000-00aa006d2ea4"))
ADORecordsetConstruction : IDispatch
{
//
// Property data
//
__declspec(property(get=GetRowset,put=PutRowset))
IUnknownPtr Rowset;
__declspec(property(get=GetChapter,put=PutChapter))
ADO_LONGPTR Chapter;
__declspec(property(get=GetRowPosition,put=PutRowPosition))
IUnknownPtr RowPosition;
//
// Wrapper methods for error-handling
//
IUnknownPtr GetRowset ( );
void PutRowset (
IUnknown * ppRowset );
ADO_LONGPTR GetChapter ( );
void PutChapter (
ADO_LONGPTR plChapter );
IUnknownPtr GetRowPosition ( );
void PutRowPosition (
IUnknown * ppRowPos );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_Rowset (
/*[out,retval]*/ IUnknown * * ppRowset ) = 0;
virtual HRESULT __stdcall put_Rowset (
/*[in]*/ IUnknown * ppRowset ) = 0;
virtual HRESULT __stdcall get_Chapter (
/*[out,retval]*/ ADO_LONGPTR * plChapter ) = 0;
virtual HRESULT __stdcall put_Chapter (
/*[in]*/ ADO_LONGPTR plChapter ) = 0;
virtual HRESULT __stdcall get_RowPosition (
/*[out,retval]*/ IUnknown * * ppRowPos ) = 0;
virtual HRESULT __stdcall put_RowPosition (
/*[in]*/ IUnknown * ppRowPos ) = 0;
};
struct __declspec(uuid("00000505-0000-0010-8000-00aa006d2ea4"))
Field15 : _ADO
{
//
// Property data
//
__declspec(property(get=GetValue,put=PutValue))
_variant_t Value;
__declspec(property(get=GetName))
_bstr_t Name;
__declspec(property(get=GetType))
enum DataTypeEnum Type;
__declspec(property(get=GetDefinedSize))
ADO_LONGPTR DefinedSize;
__declspec(property(get=GetOriginalValue))
_variant_t OriginalValue;
__declspec(property(get=GetUnderlyingValue))
_variant_t UnderlyingValue;
__declspec(property(get=GetActualSize))
ADO_LONGPTR ActualSize;
__declspec(property(get=GetPrecision))
unsigned char Precision;
__declspec(property(get=GetNumericScale))
unsigned char NumericScale;
__declspec(property(get=GetAttributes))
long Attributes;
//
// Wrapper methods for error-handling
//
ADO_LONGPTR GetActualSize ( );
long GetAttributes ( );
ADO_LONGPTR GetDefinedSize ( );
_bstr_t GetName ( );
enum DataTypeEnum GetType ( );
_variant_t GetValue ( );
void PutValue (
const _variant_t & pvar );
unsigned char GetPrecision ( );
unsigned char GetNumericScale ( );
HRESULT AppendChunk (
const _variant_t & Data );
_variant_t GetChunk (
long Length );
_variant_t GetOriginalValue ( );
_variant_t GetUnderlyingValue ( );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_ActualSize (
/*[out,retval]*/ ADO_LONGPTR * pl ) = 0;
virtual HRESULT __stdcall get_Attributes (
/*[out,retval]*/ long * pl ) = 0;
virtual HRESULT __stdcall get_DefinedSize (
/*[out,retval]*/ ADO_LONGPTR * pl ) = 0;
virtual HRESULT __stdcall get_Name (
/*[out,retval]*/ BSTR * pbstr ) = 0;
virtual HRESULT __stdcall get_Type (
/*[out,retval]*/ enum DataTypeEnum * pDataType ) = 0;
virtual HRESULT __stdcall get_Value (
/*[out,retval]*/ VARIANT * pvar ) = 0;
virtual HRESULT __stdcall put_Value (
/*[in]*/ VARIANT pvar ) = 0;
virtual HRESULT __stdcall get_Precision (
/*[out,retval]*/ unsigned char * pbPrecision ) = 0;
virtual HRESULT __stdcall get_NumericScale (
/*[out,retval]*/ unsigned char * pbNumericScale ) = 0;
virtual HRESULT __stdcall raw_AppendChunk (
/*[in]*/ VARIANT Data ) = 0;
virtual HRESULT __stdcall raw_GetChunk (
/*[in]*/ long Length,
/*[out,retval]*/ VARIANT * pvar ) = 0;
virtual HRESULT __stdcall get_OriginalValue (
/*[out,retval]*/ VARIANT * pvar ) = 0;
virtual HRESULT __stdcall get_UnderlyingValue (
/*[out,retval]*/ VARIANT * pvar ) = 0;
};
struct __declspec(uuid("0000050b-0000-0010-8000-00aa006d2ea4"))
Parameter;
// [ default ] interface _Parameter
struct __declspec(uuid("00000508-0000-0010-8000-00aa006d2ea4"))
Command15 : _ADO
{
//
// Property data
//
__declspec(property(get=GetParameters))
ParametersPtr Parameters;
__declspec(property(get=GetActiveConnection,put=PutRefActiveConnection))
_ConnectionPtr ActiveConnection;
__declspec(property(get=GetCommandText,put=PutCommandText))
_bstr_t CommandText;
__declspec(property(get=GetCommandTimeout,put=PutCommandTimeout))
long CommandTimeout;
__declspec(property(get=GetPrepared,put=PutPrepared))
VARIANT_BOOL Prepared;
__declspec(property(get=GetCommandType,put=PutCommandType))
enum CommandTypeEnum CommandType;
__declspec(property(get=GetName,put=PutName))
_bstr_t Name;
//
// Wrapper methods for error-handling
//
_ConnectionPtr GetActiveConnection ( );
void PutRefActiveConnection (
struct _Connection * ppvObject );
void PutActiveConnection (
const _variant_t & ppvObject );
_bstr_t GetCommandText ( );
void PutCommandText (
_bstr_t pbstr );
long GetCommandTimeout ( );
void PutCommandTimeout (
long pl );
VARIANT_BOOL GetPrepared ( );
void PutPrepared (
VARIANT_BOOL pfPrepared );
_RecordsetPtr Execute (
VARIANT * RecordsAffected,
VARIANT * Parameters,
long Options );
_ParameterPtr CreateParameter (
_bstr_t Name,
enum DataTypeEnum Type,
enum ParameterDirectionEnum Direction,
ADO_LONGPTR Size,
const _variant_t & Value = vtMissing );
ParametersPtr GetParameters ( );
void PutCommandType (
enum CommandTypeEnum plCmdType );
enum CommandTypeEnum GetCommandType ( );
_bstr_t GetName ( );
void PutName (
_bstr_t pbstrName );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_ActiveConnection (
/*[out,retval]*/ struct _Connection * * ppvObject ) = 0;
virtual HRESULT __stdcall putref_ActiveConnection (
/*[in]*/ struct _Connection * ppvObject ) = 0;
virtual HRESULT __stdcall put_ActiveConnection (
/*[in]*/ VARIANT ppvObject ) = 0;
virtual HRESULT __stdcall get_CommandText (
/*[out,retval]*/ BSTR * pbstr ) = 0;
virtual HRESULT __stdcall put_CommandText (
/*[in]*/ BSTR pbstr ) = 0;
virtual HRESULT __stdcall get_CommandTimeout (
/*[out,retval]*/ long * pl ) = 0;
virtual HRESULT __stdcall put_CommandTimeout (
/*[in]*/ long pl ) = 0;
virtual HRESULT __stdcall get_Prepared (
/*[out,retval]*/ VARIANT_BOOL * pfPrepared ) = 0;
virtual HRESULT __stdcall put_Prepared (
/*[in]*/ VARIANT_BOOL pfPrepared ) = 0;
virtual HRESULT __stdcall raw_Execute (
/*[out]*/ VARIANT * RecordsAffected,
/*[in]*/ VARIANT * Parameters,
/*[in]*/ long Options,
/*[out,retval]*/ struct _Recordset * * ppiRs ) = 0;
virtual HRESULT __stdcall raw_CreateParameter (
/*[in]*/ BSTR Name,
/*[in]*/ enum DataTypeEnum Type,
/*[in]*/ enum ParameterDirectionEnum Direction,
/*[in]*/ ADO_LONGPTR Size,
/*[in]*/ VARIANT Value,
/*[out,retval]*/ struct _Parameter * * ppiprm ) = 0;
virtual HRESULT __stdcall get_Parameters (
/*[out,retval]*/ struct Parameters * * ppvObject ) = 0;
virtual HRESULT __stdcall put_CommandType (
/*[in]*/ enum CommandTypeEnum plCmdType ) = 0;
virtual HRESULT __stdcall get_CommandType (
/*[out,retval]*/ enum CommandTypeEnum * plCmdType ) = 0;
virtual HRESULT __stdcall get_Name (
/*[out,retval]*/ BSTR * pbstrName ) = 0;
virtual HRESULT __stdcall put_Name (
/*[in]*/ BSTR pbstrName ) = 0;
};
struct __declspec(uuid("0000054e-0000-0010-8000-00aa006d2ea4"))
Command25 : Command15
{
//
// Property data
//
__declspec(property(get=GetState))
long State;
//
// Wrapper methods for error-handling
//
long GetState ( );
HRESULT Cancel ( );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_State (
/*[out,retval]*/ long * plObjState ) = 0;
virtual HRESULT __stdcall raw_Cancel ( ) = 0;
};
struct __declspec(uuid("b08400bd-f9d1-4d02-b856-71d5dba123e9"))
_Command : Command25
{
//
// Property data
//
__declspec(property(get=GetDialect,put=PutDialect))
_bstr_t Dialect;
__declspec(property(get=GetNamedParameters,put=PutNamedParameters))
VARIANT_BOOL NamedParameters;
//
// Wrapper methods for error-handling
//
void PutRefCommandStream (
IUnknown * pvStream );
_variant_t GetCommandStream ( );
void PutDialect (
_bstr_t pbstrDialect );
_bstr_t GetDialect ( );
void PutNamedParameters (
VARIANT_BOOL pfNamedParameters );
VARIANT_BOOL GetNamedParameters ( );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall putref_CommandStream (
/*[in]*/ IUnknown * pvStream ) = 0;
virtual HRESULT __stdcall get_CommandStream (
/*[out,retval]*/ VARIANT * pvStream ) = 0;
virtual HRESULT __stdcall put_Dialect (
/*[in]*/ BSTR pbstrDialect ) = 0;
virtual HRESULT __stdcall get_Dialect (
/*[out,retval]*/ BSTR * pbstrDialect ) = 0;
virtual HRESULT __stdcall put_NamedParameters (
/*[in]*/ VARIANT_BOOL pfNamedParameters ) = 0;
virtual HRESULT __stdcall get_NamedParameters (
/*[out,retval]*/ VARIANT_BOOL * pfNamedParameters ) = 0;
};
struct __declspec(uuid("00000515-0000-0010-8000-00aa006d2ea4"))
Connection15 : _ADO
{
//
// Property data
//
__declspec(property(get=GetConnectionString,put=PutConnectionString))
_bstr_t ConnectionString;
__declspec(property(get=GetCommandTimeout,put=PutCommandTimeout))
long CommandTimeout;
__declspec(property(get=GetConnectionTimeout,put=PutConnectionTimeout))
long ConnectionTimeout;
__declspec(property(get=GetVersion))
_bstr_t Version;
__declspec(property(get=GetErrors))
ErrorsPtr Errors;
__declspec(property(get=GetDefaultDatabase,put=PutDefaultDatabase))
_bstr_t DefaultDatabase;
__declspec(property(get=GetIsolationLevel,put=PutIsolationLevel))
enum IsolationLevelEnum IsolationLevel;
__declspec(property(get=GetAttributes,put=PutAttributes))
long Attributes;
__declspec(property(get=GetCursorLocation,put=PutCursorLocation))
enum CursorLocationEnum CursorLocation;
__declspec(property(get=GetMode,put=PutMode))
enum ConnectModeEnum Mode;
__declspec(property(get=GetProvider,put=PutProvider))
_bstr_t Provider;
__declspec(property(get=GetState))
long State;
//
// Wrapper methods for error-handling
//
_bstr_t GetConnectionString ( );
void PutConnectionString (
_bstr_t pbstr );
long GetCommandTimeout ( );
void PutCommandTimeout (
long plTimeout );
long GetConnectionTimeout ( );
void PutConnectionTimeout (
long plTimeout );
_bstr_t GetVe
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -