📄 spacedeploy.tli
字号:
// Created by Microsoft (R) C/C++ Compiler Version 12.00.8168.0 (e5bc47f1).
//
// SpaceDeploy.tli
//
// Wrapper implementations for Win32 type library SpaceDeploy.tlb
// compiler-generated file created 07/03/07 at 14:37:02 - DO NOT EDIT!
#pragma once
//
// interface IStuffManage wrapper method implementations
//
inline _RecordsetPtr IStuffManage::SelectStuff ( ) {
struct _Recordset * _result;
HRESULT _hr = raw_SelectStuff(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _RecordsetPtr(_result, false);
}
inline HRESULT IStuffManage::ConnectDatabase ( LPWSTR strConnect ) {
HRESULT _hr = raw_ConnectDatabase(strConnect);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
//
// interface _ADO wrapper method implementations
//
inline PropertiesPtr _ADO::GetProperties ( ) {
struct Properties * _result;
HRESULT _hr = get_Properties(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return PropertiesPtr(_result, false);
}
//
// interface _Recordset wrapper method implementations
//
inline PositionEnum _Recordset::GetAbsolutePosition ( ) {
PositionEnum _result;
HRESULT _hr = get_AbsolutePosition(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void _Recordset::PutAbsolutePosition ( PositionEnum pl ) {
HRESULT _hr = put_AbsolutePosition(pl);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline void _Recordset::PutRefActiveConnection ( IDispatch * pvar ) {
HRESULT _hr = putref_ActiveConnection(pvar);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline void _Recordset::PutActiveConnection ( const _variant_t & pvar ) {
HRESULT _hr = put_ActiveConnection(pvar);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline _variant_t _Recordset::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 _Recordset::GetBOF ( ) {
VARIANT_BOOL _result;
HRESULT _hr = get_BOF(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline _variant_t _Recordset::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 _Recordset::PutBookmark ( const _variant_t & pvBookmark ) {
HRESULT _hr = put_Bookmark(pvBookmark);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline long _Recordset::GetCacheSize ( ) {
long _result;
HRESULT _hr = get_CacheSize(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void _Recordset::PutCacheSize ( long pl ) {
HRESULT _hr = put_CacheSize(pl);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline CursorTypeEnum _Recordset::GetCursorType ( ) {
CursorTypeEnum _result;
HRESULT _hr = get_CursorType(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void _Recordset::PutCursorType ( CursorTypeEnum plCursorType ) {
HRESULT _hr = put_CursorType(plCursorType);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline VARIANT_BOOL _Recordset::GetADOEOF ( ) {
VARIANT_BOOL _result;
HRESULT _hr = get_ADOEOF(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline FieldsPtr _Recordset::GetFields ( ) {
struct Fields * _result;
HRESULT _hr = get_Fields(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return FieldsPtr(_result, false);
}
inline LockTypeEnum _Recordset::GetLockType ( ) {
LockTypeEnum _result;
HRESULT _hr = get_LockType(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void _Recordset::PutLockType ( LockTypeEnum plLockType ) {
HRESULT _hr = put_LockType(plLockType);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline long _Recordset::GetMaxRecords ( ) {
long _result;
HRESULT _hr = get_MaxRecords(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void _Recordset::PutMaxRecords ( long plMaxRecords ) {
HRESULT _hr = put_MaxRecords(plMaxRecords);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline long _Recordset::GetRecordCount ( ) {
long _result;
HRESULT _hr = get_RecordCount(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void _Recordset::PutRefSource ( IDispatch * pvSource ) {
HRESULT _hr = putref_Source(pvSource);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline void _Recordset::PutSource ( _bstr_t pvSource ) {
HRESULT _hr = put_Source(pvSource);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline _variant_t _Recordset::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 _Recordset::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 _Recordset::CancelUpdate ( ) {
HRESULT _hr = raw_CancelUpdate();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT _Recordset::Close ( ) {
HRESULT _hr = raw_Close();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT _Recordset::Delete ( AffectEnum AffectRecords ) {
HRESULT _hr = raw_Delete(AffectRecords);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline _variant_t _Recordset::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 _Recordset::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 _Recordset::MoveNext ( ) {
HRESULT _hr = raw_MoveNext();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT _Recordset::MovePrevious ( ) {
HRESULT _hr = raw_MovePrevious();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT _Recordset::MoveFirst ( ) {
HRESULT _hr = raw_MoveFirst();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT _Recordset::MoveLast ( ) {
HRESULT _hr = raw_MoveLast();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT _Recordset::Open ( const _variant_t & Source, const _variant_t & ActiveConnection, CursorTypeEnum CursorType, 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 _Recordset::Requery ( long Options ) {
HRESULT _hr = raw_Requery(Options);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT _Recordset::_xResync ( AffectEnum AffectRecords ) {
HRESULT _hr = raw__xResync(AffectRecords);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT _Recordset::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 PositionEnum _Recordset::GetAbsolutePage ( ) {
PositionEnum _result;
HRESULT _hr = get_AbsolutePage(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void _Recordset::PutAbsolutePage ( PositionEnum pl ) {
HRESULT _hr = put_AbsolutePage(pl);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline EditModeEnum _Recordset::GetEditMode ( ) {
EditModeEnum _result;
HRESULT _hr = get_EditMode(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline _variant_t _Recordset::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 _Recordset::PutFilter ( const _variant_t & Criteria ) {
HRESULT _hr = put_Filter(Criteria);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline long _Recordset::GetPageCount ( ) {
long _result;
HRESULT _hr = get_PageCount(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long _Recordset::GetPageSize ( ) {
long _result;
HRESULT _hr = get_PageSize(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void _Recordset::PutPageSize ( long pl ) {
HRESULT _hr = put_PageSize(pl);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline _bstr_t _Recordset::GetSort ( ) {
BSTR _result;
HRESULT _hr = get_Sort(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
inline void _Recordset::PutSort ( _bstr_t Criteria ) {
HRESULT _hr = put_Sort(Criteria);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline long _Recordset::GetStatus ( ) {
long _result;
HRESULT _hr = get_Status(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long _Recordset::GetState ( ) {
long _result;
HRESULT _hr = get_State(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline _RecordsetPtr _Recordset::_xClone ( ) {
struct _Recordset * _result;
HRESULT _hr = raw__xClone(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _RecordsetPtr(_result, false);
}
inline HRESULT _Recordset::UpdateBatch ( AffectEnum AffectRecords ) {
HRESULT _hr = raw_UpdateBatch(AffectRecords);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT _Recordset::CancelBatch ( AffectEnum AffectRecords ) {
HRESULT _hr = raw_CancelBatch(AffectRecords);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline CursorLocationEnum _Recordset::GetCursorLocation ( ) {
CursorLocationEnum _result;
HRESULT _hr = get_CursorLocation(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -