📄 msado15.tlh
字号:
void PutBookmark (
const _variant_t & pvBookmark );
long GetCacheSize ( );
void PutCacheSize (
long pl );
enum CursorTypeEnum GetCursorType ( );
void PutCursorType (
enum CursorTypeEnum plCursorType );
VARIANT_BOOL GetEndOfFile ( );
FieldsPtr GetFields ( );
enum LockTypeEnum GetLockType ( );
void PutLockType (
enum LockTypeEnum plLockType );
ADO_LONGPTR GetMaxRecords ( );
void PutMaxRecords (
ADO_LONGPTR plMaxRecords );
ADO_LONGPTR GetRecordCount ( );
void PutRefSource (
IDispatch * pvSource );
void PutSource (
_bstr_t pvSource );
_variant_t GetSource ( );
HRESULT AddNew (
const _variant_t & FieldList = vtMissing,
const _variant_t & Values = vtMissing );
HRESULT CancelUpdate ( );
HRESULT Close ( );
HRESULT Delete (
enum AffectEnum AffectRecords );
_variant_t GetRows (
long Rows,
const _variant_t & Start = vtMissing,
const _variant_t & Fields = vtMissing );
HRESULT Move (
ADO_LONGPTR NumRecords,
const _variant_t & Start = vtMissing );
HRESULT MoveNext ( );
HRESULT MovePrevious ( );
HRESULT MoveFirst ( );
HRESULT MoveLast ( );
HRESULT Open (
const _variant_t & Source,
const _variant_t & ActiveConnection,
enum CursorTypeEnum CursorType,
enum LockTypeEnum LockType,
long Options );
HRESULT Requery (
long Options );
HRESULT _xResync (
enum AffectEnum AffectRecords );
HRESULT Update (
const _variant_t & Fields = vtMissing,
const _variant_t & Values = vtMissing );
PositionEnum_Param GetAbsolutePage ( );
void PutAbsolutePage (
PositionEnum_Param pl );
enum EditModeEnum GetEditMode ( );
_variant_t GetFilter ( );
void PutFilter (
const _variant_t & Criteria );
ADO_LONGPTR GetPageCount ( );
long GetPageSize ( );
void PutPageSize (
long pl );
_bstr_t GetSort ( );
void PutSort (
_bstr_t Criteria );
long GetStatus ( );
long GetState ( );
_RecordsetPtr _xClone ( );
HRESULT UpdateBatch (
enum AffectEnum AffectRecords );
HRESULT CancelBatch (
enum AffectEnum AffectRecords );
enum CursorLocationEnum GetCursorLocation ( );
void PutCursorLocation (
enum CursorLocationEnum plCursorLoc );
_RecordsetPtr NextRecordset (
VARIANT * RecordsAffected );
VARIANT_BOOL Supports (
enum CursorOptionEnum CursorOptions );
_variant_t GetCollect (
const _variant_t & Index );
void PutCollect (
const _variant_t & Index,
const _variant_t & pvar );
enum MarshalOptionsEnum GetMarshalOptions ( );
void PutMarshalOptions (
enum MarshalOptionsEnum peMarshal );
HRESULT Find (
_bstr_t Criteria,
ADO_LONGPTR SkipRecords,
enum SearchDirectionEnum SearchDirection,
const _variant_t & Start = vtMissing );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_AbsolutePosition (
PositionEnum_Param * pl ) = 0;
virtual HRESULT __stdcall put_AbsolutePosition (
PositionEnum_Param pl ) = 0;
virtual HRESULT __stdcall putref_ActiveConnection (
IDispatch * pvar ) = 0;
virtual HRESULT __stdcall put_ActiveConnection (
VARIANT pvar ) = 0;
virtual HRESULT __stdcall get_ActiveConnection (
VARIANT * pvar ) = 0;
virtual HRESULT __stdcall get_BOF (
VARIANT_BOOL * pb ) = 0;
virtual HRESULT __stdcall get_Bookmark (
VARIANT * pvBookmark ) = 0;
virtual HRESULT __stdcall put_Bookmark (
VARIANT pvBookmark ) = 0;
virtual HRESULT __stdcall get_CacheSize (
long * pl ) = 0;
virtual HRESULT __stdcall put_CacheSize (
long pl ) = 0;
virtual HRESULT __stdcall get_CursorType (
enum CursorTypeEnum * plCursorType ) = 0;
virtual HRESULT __stdcall put_CursorType (
enum CursorTypeEnum plCursorType ) = 0;
virtual HRESULT __stdcall get_EndOfFile (
VARIANT_BOOL * pb ) = 0;
virtual HRESULT __stdcall get_Fields (
struct Fields * * ppvObject ) = 0;
virtual HRESULT __stdcall get_LockType (
enum LockTypeEnum * plLockType ) = 0;
virtual HRESULT __stdcall put_LockType (
enum LockTypeEnum plLockType ) = 0;
virtual HRESULT __stdcall get_MaxRecords (
ADO_LONGPTR * plMaxRecords ) = 0;
virtual HRESULT __stdcall put_MaxRecords (
ADO_LONGPTR plMaxRecords ) = 0;
virtual HRESULT __stdcall get_RecordCount (
ADO_LONGPTR * pl ) = 0;
virtual HRESULT __stdcall putref_Source (
IDispatch * pvSource ) = 0;
virtual HRESULT __stdcall put_Source (
BSTR pvSource ) = 0;
virtual HRESULT __stdcall get_Source (
VARIANT * pvSource ) = 0;
virtual HRESULT __stdcall raw_AddNew (
VARIANT FieldList = vtMissing,
VARIANT Values = vtMissing ) = 0;
virtual HRESULT __stdcall raw_CancelUpdate ( ) = 0;
virtual HRESULT __stdcall raw_Close ( ) = 0;
virtual HRESULT __stdcall raw_Delete (
enum AffectEnum AffectRecords ) = 0;
virtual HRESULT __stdcall raw_GetRows (
long Rows,
VARIANT Start,
VARIANT Fields,
VARIANT * pvar ) = 0;
virtual HRESULT __stdcall raw_Move (
ADO_LONGPTR NumRecords,
VARIANT Start = vtMissing ) = 0;
virtual HRESULT __stdcall raw_MoveNext ( ) = 0;
virtual HRESULT __stdcall raw_MovePrevious ( ) = 0;
virtual HRESULT __stdcall raw_MoveFirst ( ) = 0;
virtual HRESULT __stdcall raw_MoveLast ( ) = 0;
virtual HRESULT __stdcall raw_Open (
VARIANT Source,
VARIANT ActiveConnection,
enum CursorTypeEnum CursorType,
enum LockTypeEnum LockType,
long Options ) = 0;
virtual HRESULT __stdcall raw_Requery (
long Options ) = 0;
virtual HRESULT __stdcall raw__xResync (
enum AffectEnum AffectRecords ) = 0;
virtual HRESULT __stdcall raw_Update (
VARIANT Fields = vtMissing,
VARIANT Values = vtMissing ) = 0;
virtual HRESULT __stdcall get_AbsolutePage (
PositionEnum_Param * pl ) = 0;
virtual HRESULT __stdcall put_AbsolutePage (
PositionEnum_Param pl ) = 0;
virtual HRESULT __stdcall get_EditMode (
enum EditModeEnum * pl ) = 0;
virtual HRESULT __stdcall get_Filter (
VARIANT * Criteria ) = 0;
virtual HRESULT __stdcall put_Filter (
VARIANT Criteria ) = 0;
virtual HRESULT __stdcall get_PageCount (
ADO_LONGPTR * pl ) = 0;
virtual HRESULT __stdcall get_PageSize (
long * pl ) = 0;
virtual HRESULT __stdcall put_PageSize (
long pl ) = 0;
virtual HRESULT __stdcall get_Sort (
BSTR * Criteria ) = 0;
virtual HRESULT __stdcall put_Sort (
BSTR Criteria ) = 0;
virtual HRESULT __stdcall get_Status (
long * pl ) = 0;
virtual HRESULT __stdcall get_State (
long * plObjState ) = 0;
virtual HRESULT __stdcall raw__xClone (
struct _Recordset * * ppvObject ) = 0;
virtual HRESULT __stdcall raw_UpdateBatch (
enum AffectEnum AffectRecords ) = 0;
virtual HRESULT __stdcall raw_CancelBatch (
enum AffectEnum AffectRecords ) = 0;
virtual HRESULT __stdcall get_CursorLocation (
enum CursorLocationEnum * plCursorLoc ) = 0;
virtual HRESULT __stdcall put_CursorLocation (
enum CursorLocationEnum plCursorLoc ) = 0;
virtual HRESULT __stdcall raw_NextRecordset (
VARIANT * RecordsAffected,
struct _Recordset * * ppiRs ) = 0;
virtual HRESULT __stdcall raw_Supports (
enum CursorOptionEnum CursorOptions,
VARIANT_BOOL * pb ) = 0;
virtual HRESULT __stdcall get_Collect (
VARIANT Index,
VARIANT * pvar ) = 0;
virtual HRESULT __stdcall put_Collect (
VARIANT Index,
VARIANT pvar ) = 0;
virtual HRESULT __stdcall get_MarshalOptions (
enum MarshalOptionsEnum * peMarshal ) = 0;
virtual HRESULT __stdcall put_MarshalOptions (
enum MarshalOptionsEnum peMarshal ) = 0;
virtual HRESULT __stdcall raw_Find (
BSTR Criteria,
ADO_LONGPTR SkipRecords,
enum SearchDirectionEnum SearchDirection,
VARIANT Start = vtMissing ) = 0;
};
struct __declspec(uuid("0000054f-0000-0010-8000-00aa006d2ea4"))
Recordset20 : Recordset15
{
//
// Property data
//
__declspec(property(get=GetDataSource,put=PutRefDataSource))
IUnknownPtr DataSource;
__declspec(property(get=GetActiveCommand))
IDispatchPtr ActiveCommand;
__declspec(property(get=GetStayInSync,put=PutStayInSync))
VARIANT_BOOL StayInSync;
__declspec(property(get=GetDataMember,put=PutDataMember))
_bstr_t DataMember;
//
// Wrapper methods for error-handling
//
HRESULT Cancel ( );
IUnknownPtr GetDataSource ( );
void PutRefDataSource (
IUnknown * ppunkDataSource );
HRESULT _xSave (
_bstr_t FileName,
enum PersistFormatEnum PersistFormat );
IDispatchPtr GetActiveCommand ( );
void PutStayInSync (
VARIANT_BOOL pbStayInSync );
VARIANT_BOOL GetStayInSync ( );
_bstr_t GetString (
enum StringFormatEnum StringFormat,
long NumRows,
_bstr_t ColumnDelimeter,
_bstr_t RowDelimeter,
_bstr_t NullExpr );
_bstr_t GetDataMember ( );
void PutDataMember (
_bstr_t pbstrDataMember );
enum CompareEnum CompareBookmarks (
const _variant_t & Bookmark1,
const _variant_t & Bookmark2 );
_RecordsetPtr Clone (
enum LockTypeEnum LockType );
HRESULT Resync (
enum AffectEnum AffectRecords,
enum ResyncEnum ResyncValues );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall raw_Cancel ( ) = 0;
virtual HRESULT __stdcall get_DataSource (
IUnknown * * ppunkDataSource ) = 0;
virtual HRESULT __stdcall putref_DataSource (
IUnknown * ppunkDataSource ) = 0;
virtual HRESULT __stdcall raw__xSave (
BSTR FileName,
enum PersistFormatEnum PersistFormat ) = 0;
virtual HRESULT __stdcall get_ActiveCommand (
IDispatch * * ppCmd ) = 0;
virtual HRESULT __stdcall put_StayInSync (
VARIANT_BOOL pbStayInSync ) = 0;
virtual HRESULT __stdcall get_StayInSync (
VARIANT_BOOL * pbStayInSync ) = 0;
virtual HRESULT __stdcall raw_GetString (
enum StringFormatEnum StringFormat,
long NumRows,
BSTR ColumnDelimeter,
BSTR RowDelimeter,
BSTR NullExpr,
BSTR * pRetString ) = 0;
virtual HRESULT __stdcall get_DataMember (
BSTR * pbstrDataMember ) = 0;
virtual HRESULT __stdcall put_DataMember (
BSTR pbstrDataMember ) = 0;
virtual HRESULT __stdcall raw_CompareBookmarks (
VARIANT Bookmark1,
VARIANT Bookmark2,
enum CompareEnum * pCompare ) = 0;
virtual HRESULT __stdcall raw_Clone (
enum LockTypeEnum LockType,
struct _Recordset * * ppvObject ) = 0;
virtual HRESULT __stdcall raw_Resync (
enum AffectEnum AffectRecords,
enum ResyncEnum ResyncValues ) = 0;
};
struct __declspec(uuid("00000555-0000-0010-8000-00aa006d2ea4"))
Recordset21 : Recordset20
{
//
// Property data
//
__declspec(property(get=GetIndex,put=PutIndex))
_bstr_t Index;
//
// Wrapper methods for error-handling
//
HRESULT Seek (
const _variant_t & KeyValues,
enum SeekEnum SeekOption );
void PutIndex (
_bstr_t pbstrIndex );
_bstr_t GetIndex ( );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall raw_Seek (
VARIANT KeyValues,
enum SeekEnum SeekOption ) = 0;
virtual HRESULT __stdcall put_Index (
BSTR pbstrIndex ) = 0;
virtual HRESULT __stdcall get_Index (
BSTR * pbstrIndex ) = 0;
};
struct __declspec(uuid("00000556-0000-0010-8000-00aa006d2ea4"))
_Recordset : Recordset21
{
//
// Wrapper methods for error-handling
//
HRESULT Save (
const _variant_t & Destination,
enum PersistFormatEnum PersistFormat );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall raw_Save (
VARIANT Destination,
enum PersistFormatEnum PersistFormat ) = 0;
};
struct __declspec(uuid("00000506-0000-0010-8000-00aa006d2ea4"))
Fields15 : _Collection
{
//
// Property data
//
__declspec(property(get=GetItem))
FieldPtr Item[];
//
// Wrapper methods for error-handling
//
FieldPtr GetItem (
const _variant_t & Index );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_Item (
VARIANT Index,
struct Field * * ppvObject ) = 0;
};
struct __declspec(uuid("0000054d-0000-0010-8000-00aa006d2ea4"))
Fields20 : Fields15
{
//
// Wrapper methods for error-handling
//
HRESULT _Append (
_bstr_t Name,
enum DataTypeEnum Type,
ADO_LONGPTR DefinedSize,
enum FieldAttributeEnum Attrib );
HRESULT Delete (
const _variant_t & Index );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall raw__Append (
BSTR Name,
enum DataTypeEnum Type,
ADO_LONGPTR DefinedSize,
enum FieldAttributeEnum Attrib ) = 0;
virtual HRESULT __stdcall raw_Delete (
VARIANT Index ) = 0;
};
struct __declspec(uuid("00000564-0000-0010-8000-00aa006d2ea4"))
Fields : Fields20
{
//
// Wrapper methods for error-handling
//
HRESULT Append (
_bstr_t Name,
enum DataTypeEnum Type,
ADO_LONGPTR DefinedSize,
enum FieldAttributeEnum Attrib,
const _variant_t & FieldValue = vtMissing );
HRESULT Update ( );
HRESULT Resync (
enum ResyncEnum ResyncValues );
HRESULT CancelUpdate ( );
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -