📄 msado20.tli
字号:
inline HRESULT Fields::Delete ( const _variant_t & Index ) {
HRESULT _hr = raw_Delete(Index);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
//
// interface _Recordset15 wrapper method implementations
//
inline enum PositionEnum _Recordset15::GetAbsolutePosition ( ) {
enum PositionEnum _result;
HRESULT _hr = get_AbsolutePosition(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void _Recordset15::PutAbsolutePosition ( enum PositionEnum pl ) {
HRESULT _hr = put_AbsolutePosition(pl);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline void _Recordset15::PutRefActiveConnection ( IDispatch * pvar ) {
HRESULT _hr = putref_ActiveConnection(pvar);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline void _Recordset15::PutActiveConnection ( const _variant_t & pvar ) {
HRESULT _hr = put_ActiveConnection(pvar);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline _variant_t _Recordset15::GetActiveConnection ( ) {
VARIANT _result;
VariantInit(&_result);
HRESULT _hr = get_ActiveConnection(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _variant_t(_result, false);
}
inline VARIANT_BOOL _Recordset15::GetBOF ( ) {
VARIANT_BOOL _result = 0;
HRESULT _hr = get_BOF(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline _variant_t _Recordset15::GetBookmark ( ) {
VARIANT _result;
VariantInit(&_result);
HRESULT _hr = get_Bookmark(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _variant_t(_result, false);
}
inline void _Recordset15::PutBookmark ( const _variant_t & pvBookmark ) {
HRESULT _hr = put_Bookmark(pvBookmark);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline long _Recordset15::GetCacheSize ( ) {
long _result = 0;
HRESULT _hr = get_CacheSize(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void _Recordset15::PutCacheSize ( long pl ) {
HRESULT _hr = put_CacheSize(pl);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline enum CursorTypeEnum _Recordset15::GetCursorType ( ) {
enum CursorTypeEnum _result;
HRESULT _hr = get_CursorType(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void _Recordset15::PutCursorType ( enum CursorTypeEnum plCursorType ) {
HRESULT _hr = put_CursorType(plCursorType);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline VARIANT_BOOL _Recordset15::GetadoEOF ( ) {
VARIANT_BOOL _result = 0;
HRESULT _hr = get_adoEOF(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline FieldsPtr _Recordset15::GetFields ( ) {
struct Fields * _result = 0;
HRESULT _hr = get_Fields(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return FieldsPtr(_result, false);
}
inline enum LockTypeEnum _Recordset15::GetLockType ( ) {
enum LockTypeEnum _result;
HRESULT _hr = get_LockType(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void _Recordset15::PutLockType ( enum LockTypeEnum plLockType ) {
HRESULT _hr = put_LockType(plLockType);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline long _Recordset15::GetMaxRecords ( ) {
long _result = 0;
HRESULT _hr = get_MaxRecords(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void _Recordset15::PutMaxRecords ( long plMaxRecords ) {
HRESULT _hr = put_MaxRecords(plMaxRecords);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline long _Recordset15::GetRecordCount ( ) {
long _result = 0;
HRESULT _hr = get_RecordCount(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void _Recordset15::PutRefSource ( IDispatch * pvSource ) {
HRESULT _hr = putref_Source(pvSource);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline void _Recordset15::PutSource ( _bstr_t pvSource ) {
HRESULT _hr = put_Source(pvSource);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline _variant_t _Recordset15::GetSource ( ) {
VARIANT _result;
VariantInit(&_result);
HRESULT _hr = get_Source(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _variant_t(_result, false);
}
inline HRESULT _Recordset15::AddNew ( const _variant_t & FieldList, const _variant_t & Values ) {
HRESULT _hr = raw_AddNew(FieldList, Values);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT _Recordset15::CancelUpdate ( ) {
HRESULT _hr = raw_CancelUpdate();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT _Recordset15::Close ( ) {
HRESULT _hr = raw_Close();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT _Recordset15::Delete ( enum AffectEnum AffectRecords ) {
HRESULT _hr = raw_Delete(AffectRecords);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline _variant_t _Recordset15::GetRows ( long Rows, const _variant_t & Start, const _variant_t & Fields ) {
VARIANT _result;
VariantInit(&_result);
HRESULT _hr = raw_GetRows(Rows, Start, Fields, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _variant_t(_result, false);
}
inline HRESULT _Recordset15::Move ( long NumRecords, const _variant_t & Start ) {
HRESULT _hr = raw_Move(NumRecords, Start);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT _Recordset15::MoveNext ( ) {
HRESULT _hr = raw_MoveNext();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT _Recordset15::MovePrevious ( ) {
HRESULT _hr = raw_MovePrevious();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT _Recordset15::MoveFirst ( ) {
HRESULT _hr = raw_MoveFirst();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT _Recordset15::MoveLast ( ) {
HRESULT _hr = raw_MoveLast();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT _Recordset15::Open ( const _variant_t & Source, const _variant_t & ActiveConnection, enum CursorTypeEnum CursorType, enum LockTypeEnum LockType, long Options ) {
HRESULT _hr = raw_Open(Source, ActiveConnection, CursorType, LockType, Options);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT _Recordset15::Requery ( long Options ) {
HRESULT _hr = raw_Requery(Options);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT _Recordset15::_xResync ( enum AffectEnum AffectRecords ) {
HRESULT _hr = raw__xResync(AffectRecords);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT _Recordset15::Update ( const _variant_t & Fields, const _variant_t & Values ) {
HRESULT _hr = raw_Update(Fields, Values);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline enum PositionEnum _Recordset15::GetAbsolutePage ( ) {
enum PositionEnum _result;
HRESULT _hr = get_AbsolutePage(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void _Recordset15::PutAbsolutePage ( enum PositionEnum pl ) {
HRESULT _hr = put_AbsolutePage(pl);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline enum EditModeEnum _Recordset15::GetEditMode ( ) {
enum EditModeEnum _result;
HRESULT _hr = get_EditMode(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline _variant_t _Recordset15::GetFilter ( ) {
VARIANT _result;
VariantInit(&_result);
HRESULT _hr = get_Filter(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _variant_t(_result, false);
}
inline void _Recordset15::PutFilter ( const _variant_t & Criteria ) {
HRESULT _hr = put_Filter(Criteria);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline long _Recordset15::GetPageCount ( ) {
long _result = 0;
HRESULT _hr = get_PageCount(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long _Recordset15::GetPageSize ( ) {
long _result = 0;
HRESULT _hr = get_PageSize(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void _Recordset15::PutPageSize ( long pl ) {
HRESULT _hr = put_PageSize(pl);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline _bstr_t _Recordset15::GetSort ( ) {
BSTR _result = 0;
HRESULT _hr = get_Sort(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
inline void _Recordset15::PutSort ( _bstr_t Criteria ) {
HRESULT _hr = put_Sort(Criteria);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline long _Recordset15::GetStatus ( ) {
long _result = 0;
HRESULT _hr = get_Status(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long _Recordset15::GetState ( ) {
long _result = 0;
HRESULT _hr = get_State(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline _RecordsetPtr _Recordset15::_xClone ( ) {
struct _Recordset * _result = 0;
HRESULT _hr = raw__xClone(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _RecordsetPtr(_result, false);
}
inline HRESULT _Recordset15::UpdateBatch ( enum AffectEnum AffectRecords ) {
HRESULT _hr = raw_UpdateBatch(AffectRecords);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT _Recordset15::CancelBatch ( enum AffectEnum AffectRecords ) {
HRESULT _hr = raw_CancelBatch(AffectRecords);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline enum CursorLocationEnum _Recordset15::GetCursorLocation ( ) {
enum CursorLocationEnum _result;
HRESULT _hr = get_CursorLocation(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void _Recordset15::PutCursorLocation ( enum CursorLocationEnum plCursorLoc ) {
HRESULT _hr = put_CursorLocation(plCursorLoc);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -