📄 pclient.tli
字号:
#pragma implementation_key(100)
inline HRESULT GRecordset::MoveNext ( ) {
HRESULT _hr = raw_MoveNext();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(101)
inline HRESULT GRecordset::MovePrevious ( ) {
HRESULT _hr = raw_MovePrevious();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(102)
inline HRESULT GRecordset::Update ( ) {
HRESULT _hr = raw_Update();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
//
// interface _IGCollection wrapper method implementations
//
#pragma implementation_key(103)
inline short _IGCollection::GetCount ( ) {
short _result;
HRESULT _hr = get_Count(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(104)
inline IUnknownPtr _IGCollection::_NewEnum ( ) {
IUnknown * _result;
HRESULT _hr = raw__NewEnum(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IUnknownPtr(_result, false);
}
//
// interface _IGDynaCollection wrapper method implementations
//
#pragma implementation_key(105)
inline HRESULT _IGDynaCollection::Append ( IDispatch * Object ) {
HRESULT _hr = raw_Append(Object);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(106)
inline HRESULT _IGDynaCollection::Delete ( _bstr_t Name ) {
HRESULT _hr = raw_Delete(Name);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
//
// interface GFields wrapper method implementations
//
#pragma implementation_key(107)
inline GFieldPtr GFields::GetItem ( const _variant_t & Index ) {
struct GField * _result;
HRESULT _hr = get_Item(Index, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return GFieldPtr(_result, false);
}
//
// interface GField wrapper method implementations
//
#pragma implementation_key(108)
inline _variant_t GField::GetValue ( ) {
VARIANT _result;
VariantInit(&_result);
HRESULT _hr = get_Value(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _variant_t(_result, false);
}
#pragma implementation_key(109)
inline void GField::PutValue ( const _variant_t & pValue ) {
HRESULT _hr = put_Value(pValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(110)
inline VARIANT_BOOL GField::GetAllowZeroLength ( ) {
VARIANT_BOOL _result;
HRESULT _hr = get_AllowZeroLength(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(111)
inline void GField::PutAllowZeroLength ( VARIANT_BOOL pAllow ) {
HRESULT _hr = put_AllowZeroLength(pAllow);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(112)
inline long GField::GetAttributes ( ) {
long _result;
HRESULT _hr = get_Attributes(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(113)
inline void GField::PutAttributes ( long pAttr ) {
HRESULT _hr = put_Attributes(pAttr);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(114)
inline long GField::GetCollatingOrder ( ) {
long _result;
HRESULT _hr = get_CollatingOrder(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(115)
inline _variant_t GField::GetCoordSystemGUID ( ) {
VARIANT _result;
VariantInit(&_result);
HRESULT _hr = get_CoordSystemGUID(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _variant_t(_result, false);
}
#pragma implementation_key(116)
inline void GField::PutCoordSystemGUID ( const _variant_t & CSGuid ) {
HRESULT _hr = put_CoordSystemGUID(CSGuid);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(117)
inline VARIANT_BOOL GField::GetDataUpdatable ( ) {
VARIANT_BOOL _result;
HRESULT _hr = get_DataUpdatable(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(118)
inline void GField::PutDefaultValue ( _bstr_t pValue ) {
HRESULT _hr = put_DefaultValue(pValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(119)
inline _bstr_t GField::GetDefaultValue ( ) {
BSTR _result;
HRESULT _hr = get_DefaultValue(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
#pragma implementation_key(120)
inline _bstr_t GField::GetName ( ) {
BSTR _result;
HRESULT _hr = get_Name(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
#pragma implementation_key(121)
inline void GField::PutName ( _bstr_t pName ) {
HRESULT _hr = put_Name(pName);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(122)
inline VARIANT_BOOL GField::GetRequired ( ) {
VARIANT_BOOL _result;
HRESULT _hr = get_Required(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(123)
inline void GField::PutRequired ( VARIANT_BOOL pRequired ) {
HRESULT _hr = put_Required(pRequired);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(124)
inline long GField::GetSize ( ) {
long _result;
HRESULT _hr = get_Size(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(125)
inline void GField::PutSize ( long pSize ) {
HRESULT _hr = put_Size(pSize);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(126)
inline _bstr_t GField::GetSourceDatabase ( ) {
BSTR _result;
HRESULT _hr = get_SourceDatabase(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
#pragma implementation_key(127)
inline _bstr_t GField::GetSourceField ( ) {
BSTR _result;
HRESULT _hr = get_SourceField(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
#pragma implementation_key(128)
inline _bstr_t GField::GetSourceTable ( ) {
BSTR _result;
HRESULT _hr = get_SourceTable(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
#pragma implementation_key(129)
inline long GField::GetSubType ( ) {
long _result;
HRESULT _hr = get_SubType(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(130)
inline void GField::PutSubType ( long pGeometryType ) {
HRESULT _hr = put_SubType(pGeometryType);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(131)
inline short GField::GetType ( ) {
short _result;
HRESULT _hr = get_Type(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(132)
inline void GField::PutType ( short pType ) {
HRESULT _hr = put_Type(pType);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(133)
inline HRESULT GField::AppendChunk ( const _variant_t & Val ) {
HRESULT _hr = raw_AppendChunk(Val);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(134)
inline long GField::FieldSize ( ) {
long _result;
HRESULT _hr = raw_FieldSize(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(135)
inline _variant_t GField::GetChunk ( long Offset, long Bytes ) {
VARIANT _result;
VariantInit(&_result);
HRESULT _hr = raw_GetChunk(Offset, Bytes, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _variant_t(_result, false);
}
#pragma implementation_key(136)
inline IDispatchPtr GField::GetExtension ( _bstr_t Name ) {
IDispatch * _result;
HRESULT _hr = raw_GetExtension(Name, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IDispatchPtr(_result, false);
}
//
// interface DGMConnections wrapper method implementations
//
#pragma implementation_key(137)
inline IDispatchPtr DGMConnections::GetApplication ( ) {
IDispatch * _result;
HRESULT _hr = get_Application(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IDispatchPtr(_result, false);
}
#pragma implementation_key(138)
inline void DGMConnections::PutApplication ( IDispatch * Application ) {
HRESULT _hr = put_Application(Application);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(139)
inline IDispatchPtr DGMConnections::GetParent ( ) {
IDispatch * _result;
HRESULT _hr = get_Parent(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IDispatchPtr(_result, false);
}
#pragma implementation_key(140)
inline void DGMConnections::PutParent ( IDispatch * Parent ) {
HRESULT _hr = put_Parent(Parent);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(141)
inline long DGMConnections::GetCount ( ) {
long _result;
HRESULT _hr = get_Count(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(142)
inline DGMConnectionPtr DGMConnections::Add ( _bstr_t Name ) {
struct DGMConnection * _result;
HRESULT _hr = raw_Add(Name, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return DGMConnectionPtr(_result, false);
}
#pragma implementation_key(143)
inline DGMConnectionPtr DGMConnections::Item ( const _variant_t & Index ) {
struct DGMConnection * _result;
HRESULT _hr = raw_Item(Index, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return DGMConnectionPtr(_result, false);
}
#pragma implementation_key(144)
inline HRESULT DGMConnections::Delete ( const _variant_t & Index ) {
HRESULT _hr = raw_Delete(Index);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(145)
inline IUnknownPtr DGMConnections::_NewEnum ( ) {
IUnknown * _result;
HRESULT _hr = raw__NewEnum(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IUnknownPtr(_result, false);
}
#pragma implementation_key(146)
inline HRESULT DGMConnections::Append ( struct DGMConnection * Connection ) {
HRESULT _hr = raw_Append(Connection);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(147)
inline DGMConnectionPtr DGMConnections::Remove ( const _variant_t & Index ) {
struct DGMConnection * _result;
HRESULT _hr = raw_Remove(Index, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return DGMConnectionPtr(_result, false);
}
//
// interface Notification wrapper method implementations
//
#pragma implementation_key(148)
inline HRESULT Notification::AddListener ( struct RecordsetListener * Listener, long * NotificationHandle ) {
HRESULT _hr = raw_AddListener(Listener, NotificationHandle);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -