⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pclient.tli

📁 GemoMedia 应用 演示了其使用方法
💻 TLI
📖 第 1 页 / 共 5 页
字号:
    long _result;
    HRESULT _hr = get_OriginatingPipeCount(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(50)
inline DGMCoordSystemsMgrPtr DGMConnection::GetCoordSystemsMgr ( ) {
    struct DGMCoordSystemsMgr * _result;
    HRESULT _hr = get_CoordSystemsMgr(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return DGMCoordSystemsMgrPtr(_result, false);
}

#pragma implementation_key(51)
inline void DGMConnection::PutRefCoordSystemsMgr ( struct DGMCoordSystemsMgr * CoordSystemsMgr ) {
    HRESULT _hr = putref_CoordSystemsMgr(CoordSystemsMgr);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(52)
inline _bstr_t DGMConnection::GetProxyType ( ) {
    BSTR _result;
    HRESULT _hr = get_ProxyType(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _bstr_t(_result, false);
}

#pragma implementation_key(53)
inline void DGMConnection::PutProxyType ( _bstr_t pbstrProxyType ) {
    HRESULT _hr = put_ProxyType(pbstrProxyType);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(54)
inline _bstr_t DGMConnection::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(55)
inline void DGMConnection::PutName ( _bstr_t ConnectionName ) {
    HRESULT _hr = put_Name(ConnectionName);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

//
// interface DGMSpatialFilter wrapper method implementations
//

#pragma implementation_key(56)
inline _bstr_t DGMSpatialFilter::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(57)
inline void DGMSpatialFilter::PutName ( _bstr_t Name ) {
    HRESULT _hr = put_Name(Name);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(58)
inline IDispatchPtr DGMSpatialFilter::GetGeometry ( ) {
    IDispatch * _result;
    HRESULT _hr = get_Geometry(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return IDispatchPtr(_result, false);
}

#pragma implementation_key(59)
inline void DGMSpatialFilter::PutRefGeometry ( IDispatch * Geometry ) {
    HRESULT _hr = putref_Geometry(Geometry);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(60)
inline short DGMSpatialFilter::GetOperator ( ) {
    short _result;
    HRESULT _hr = get_Operator(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(61)
inline void DGMSpatialFilter::PutOperator ( short Operator ) {
    HRESULT _hr = put_Operator(Operator);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(62)
inline IDispatchPtr DGMSpatialFilter::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(63)
inline void DGMSpatialFilter::PutRefParent ( IDispatch * Parent ) {
    HRESULT _hr = putref_Parent(Parent);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(64)
inline IDispatchPtr DGMSpatialFilter::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(65)
inline void DGMSpatialFilter::PutRefApplication ( IDispatch * Application ) {
    HRESULT _hr = putref_Application(Application);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

//
// interface OriginatingPipe wrapper method implementations
//

#pragma implementation_key(66)
inline GRecordsetPtr OriginatingPipe::GetOutputRecordset ( ) {
    struct GRecordset * _result;
    HRESULT _hr = get_OutputRecordset(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return GRecordsetPtr(_result, false);
}

#pragma implementation_key(67)
inline _bstr_t OriginatingPipe::GetTable ( ) {
    BSTR _result;
    HRESULT _hr = get_Table(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _bstr_t(_result, false);
}

#pragma implementation_key(68)
inline void OriginatingPipe::PutTable ( _bstr_t TableName ) {
    HRESULT _hr = put_Table(TableName);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(69)
inline _bstr_t OriginatingPipe::GetFilter ( ) {
    BSTR _result;
    HRESULT _hr = get_Filter(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _bstr_t(_result, false);
}

#pragma implementation_key(70)
inline void OriginatingPipe::PutFilter ( _bstr_t Filter ) {
    HRESULT _hr = put_Filter(Filter);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(71)
inline _variant_t OriginatingPipe::GetSpatialOperator ( ) {
    VARIANT _result;
    VariantInit(&_result);
    HRESULT _hr = get_SpatialOperator(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _variant_t(_result, false);
}

#pragma implementation_key(72)
inline void OriginatingPipe::PutSpatialOperator ( const _variant_t & SpatialOp ) {
    HRESULT _hr = put_SpatialOperator(SpatialOp);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(73)
inline _variant_t OriginatingPipe::GetSpatialFilter ( ) {
    VARIANT _result;
    VariantInit(&_result);
    HRESULT _hr = get_SpatialFilter(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _variant_t(_result, false);
}

#pragma implementation_key(74)
inline void OriginatingPipe::PutSpatialFilter ( const _variant_t & SpatialFilter ) {
    HRESULT _hr = put_SpatialFilter(SpatialFilter);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(75)
inline _variant_t OriginatingPipe::GetGeometryFieldName ( ) {
    VARIANT _result;
    VariantInit(&_result);
    HRESULT _hr = get_GeometryFieldName(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _variant_t(_result, false);
}

#pragma implementation_key(76)
inline void OriginatingPipe::PutGeometryFieldName ( const _variant_t & GeometryFieldName ) {
    HRESULT _hr = put_GeometryFieldName(GeometryFieldName);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(77)
inline IDispatchPtr OriginatingPipe::GetConnection ( ) {
    IDispatch * _result;
    HRESULT _hr = get_Connection(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return IDispatchPtr(_result, false);
}

//
// interface GRecordset wrapper method implementations
//

#pragma implementation_key(78)
inline GFieldsPtr GRecordset::GetGFields ( ) {
    struct GFields * _result;
    HRESULT _hr = get_GFields(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return GFieldsPtr(_result, false);
}

#pragma implementation_key(79)
inline VARIANT_BOOL GRecordset::GetBOF ( ) {
    VARIANT_BOOL _result;
    HRESULT _hr = get_BOF(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(80)
inline SAFEARRAY * GRecordset::GetBookmark ( ) {
    SAFEARRAY * _result;
    HRESULT _hr = get_Bookmark(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(81)
inline void GRecordset::PutBookmark ( SAFEARRAY * * ppsach ) {
    HRESULT _hr = put_Bookmark(ppsach);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(82)
inline VARIANT_BOOL GRecordset::GetBookmarkable ( ) {
    VARIANT_BOOL _result;
    HRESULT _hr = get_Bookmarkable(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(83)
inline short GRecordset::GetEditMode ( ) {
    short _result;
    HRESULT _hr = get_EditMode(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(84)
inline VARIANT_BOOL GRecordset::Get_EOF ( ) {
    VARIANT_BOOL _result;
    HRESULT _hr = get__EOF(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(85)
inline SAFEARRAY * GRecordset::GetLastModified ( ) {
    SAFEARRAY * _result;
    HRESULT _hr = get_LastModified(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(86)
inline _bstr_t GRecordset::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(87)
inline long GRecordset::GetRecordCount ( ) {
    long _result;
    HRESULT _hr = get_RecordCount(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(88)
inline short GRecordset::GetType ( ) {
    short _result;
    HRESULT _hr = get_Type(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(89)
inline VARIANT_BOOL GRecordset::GetUpdatable ( ) {
    VARIANT_BOOL _result;
    HRESULT _hr = get_Updatable(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(90)
inline HRESULT GRecordset::AddNew ( ) {
    HRESULT _hr = raw_AddNew();
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

#pragma implementation_key(91)
inline HRESULT GRecordset::CancelUpdate ( ) {
    HRESULT _hr = raw_CancelUpdate();
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

#pragma implementation_key(92)
inline HRESULT GRecordset::Close ( ) {
    HRESULT _hr = raw_Close();
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

#pragma implementation_key(93)
inline HRESULT GRecordset::Delete ( ) {
    HRESULT _hr = raw_Delete();
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

#pragma implementation_key(94)
inline HRESULT GRecordset::Edit ( ) {
    HRESULT _hr = raw_Edit();
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

#pragma implementation_key(95)
inline IDispatchPtr GRecordset::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);
}

#pragma implementation_key(96)
inline _variant_t GRecordset::GetRows ( const _variant_t & Rows ) {
    VARIANT _result;
    VariantInit(&_result);
    HRESULT _hr = raw_GetRows(Rows, &_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _variant_t(_result, false);
}

#pragma implementation_key(97)
inline HRESULT GRecordset::Move ( long Rows, const _variant_t & StartBookmark ) {
    HRESULT _hr = raw_Move(Rows, StartBookmark);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

#pragma implementation_key(98)
inline HRESULT GRecordset::MoveFirst ( ) {
    HRESULT _hr = raw_MoveFirst();
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

#pragma implementation_key(99)
inline HRESULT GRecordset::MoveLast ( ) {
    HRESULT _hr = raw_MoveLast();
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -