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

📄 msoutl.tli

📁 自动传真系统
💻 TLI
📖 第 1 页 / 共 5 页
字号:
    HRESULT _hr = get_RawTable(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return IUnknownPtr(_result, false);
}

#pragma implementation_key(142)
inline Outlook::MAPIFolderPtr Outlook::_Folders::Add ( _bstr_t Name, const _variant_t & Type ) {
    struct MAPIFolder * _result;
    HRESULT _hr = raw_Add(Name, Type, &_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return MAPIFolderPtr(_result, false);
}

#pragma implementation_key(143)
inline Outlook::MAPIFolderPtr Outlook::_Folders::GetFirst ( ) {
    struct MAPIFolder * _result;
    HRESULT _hr = raw_GetFirst(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return MAPIFolderPtr(_result, false);
}

#pragma implementation_key(144)
inline Outlook::MAPIFolderPtr Outlook::_Folders::GetLast ( ) {
    struct MAPIFolder * _result;
    HRESULT _hr = raw_GetLast(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return MAPIFolderPtr(_result, false);
}

#pragma implementation_key(145)
inline Outlook::MAPIFolderPtr Outlook::_Folders::GetNext ( ) {
    struct MAPIFolder * _result;
    HRESULT _hr = raw_GetNext(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return MAPIFolderPtr(_result, false);
}

#pragma implementation_key(146)
inline Outlook::MAPIFolderPtr Outlook::_Folders::GetPrevious ( ) {
    struct MAPIFolder * _result;
    HRESULT _hr = raw_GetPrevious(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return MAPIFolderPtr(_result, false);
}

#pragma implementation_key(147)
inline HRESULT Outlook::_Folders::Remove ( long Index ) {
    HRESULT _hr = raw_Remove(Index);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

//
// interface MAPIFolder wrapper method implementations
//

#pragma implementation_key(148)
inline Outlook::_ApplicationPtr Outlook::MAPIFolder::GetApplication ( ) {
    struct _Application * _result;
    HRESULT _hr = get_Application(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _ApplicationPtr(_result, false);
}

#pragma implementation_key(149)
inline enum OlObjectClass Outlook::MAPIFolder::GetClass ( ) {
    enum OlObjectClass _result;
    HRESULT _hr = get_Class(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(150)
inline Outlook::_NameSpacePtr Outlook::MAPIFolder::GetSession ( ) {
    struct _NameSpace * _result;
    HRESULT _hr = get_Session(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _NameSpacePtr(_result, false);
}

#pragma implementation_key(151)
inline IDispatchPtr Outlook::MAPIFolder::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(152)
inline enum OlItemType Outlook::MAPIFolder::GetDefaultItemType ( ) {
    enum OlItemType _result;
    HRESULT _hr = get_DefaultItemType(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(153)
inline _bstr_t Outlook::MAPIFolder::GetDefaultMessageClass ( ) {
    BSTR _result;
    HRESULT _hr = get_DefaultMessageClass(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _bstr_t(_result, false);
}

#pragma implementation_key(154)
inline _bstr_t Outlook::MAPIFolder::GetDescription ( ) {
    BSTR _result;
    HRESULT _hr = get_Description(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _bstr_t(_result, false);
}

#pragma implementation_key(155)
inline void Outlook::MAPIFolder::PutDescription ( _bstr_t Description ) {
    HRESULT _hr = put_Description(Description);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(156)
inline _bstr_t Outlook::MAPIFolder::GetEntryID ( ) {
    BSTR _result;
    HRESULT _hr = get_EntryID(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _bstr_t(_result, false);
}

#pragma implementation_key(157)
inline Outlook::_FoldersPtr Outlook::MAPIFolder::GetFolders ( ) {
    struct _Folders * _result;
    HRESULT _hr = get_Folders(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _FoldersPtr(_result, false);
}

#pragma implementation_key(158)
inline Outlook::_ItemsPtr Outlook::MAPIFolder::GetItems ( ) {
    struct _Items * _result;
    HRESULT _hr = get_Items(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _ItemsPtr(_result, false);
}

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

#pragma implementation_key(161)
inline _bstr_t Outlook::MAPIFolder::GetStoreID ( ) {
    BSTR _result;
    HRESULT _hr = get_StoreID(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _bstr_t(_result, false);
}

#pragma implementation_key(162)
inline long Outlook::MAPIFolder::GetUnReadItemCount ( ) {
    long _result;
    HRESULT _hr = get_UnReadItemCount(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(163)
inline Outlook::MAPIFolderPtr Outlook::MAPIFolder::CopyTo ( struct MAPIFolder * DestinationFolder ) {
    struct MAPIFolder * _result;
    HRESULT _hr = raw_CopyTo(DestinationFolder, &_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return MAPIFolderPtr(_result, false);
}

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

#pragma implementation_key(165)
inline HRESULT Outlook::MAPIFolder::Display ( ) {
    HRESULT _hr = raw_Display();
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

#pragma implementation_key(166)
inline Outlook::_ExplorerPtr Outlook::MAPIFolder::GetExplorer ( const _variant_t & DisplayMode ) {
    struct _Explorer * _result;
    HRESULT _hr = raw_GetExplorer(DisplayMode, &_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _ExplorerPtr(_result, false);
}

#pragma implementation_key(167)
inline HRESULT Outlook::MAPIFolder::MoveTo ( struct MAPIFolder * DestinationFolder ) {
    HRESULT _hr = raw_MoveTo(DestinationFolder);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

#pragma implementation_key(168)
inline IDispatchPtr Outlook::MAPIFolder::GetUserPermissions ( ) {
    IDispatch * _result;
    HRESULT _hr = get_UserPermissions(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return IDispatchPtr(_result, false);
}

#pragma implementation_key(169)
inline VARIANT_BOOL Outlook::MAPIFolder::GetWebViewOn ( ) {
    VARIANT_BOOL _result;
    HRESULT _hr = get_WebViewOn(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(170)
inline void Outlook::MAPIFolder::PutWebViewOn ( VARIANT_BOOL WebViewOn ) {
    HRESULT _hr = put_WebViewOn(WebViewOn);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(171)
inline _bstr_t Outlook::MAPIFolder::GetWebViewURL ( ) {
    BSTR _result;
    HRESULT _hr = get_WebViewURL(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _bstr_t(_result, false);
}

#pragma implementation_key(172)
inline void Outlook::MAPIFolder::PutWebViewURL ( _bstr_t WebViewURL ) {
    HRESULT _hr = put_WebViewURL(WebViewURL);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(173)
inline VARIANT_BOOL Outlook::MAPIFolder::GetWebViewAllowNavigation ( ) {
    VARIANT_BOOL _result;
    HRESULT _hr = get_WebViewAllowNavigation(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(174)
inline void Outlook::MAPIFolder::PutWebViewAllowNavigation ( VARIANT_BOOL WebViewAllowNavigation ) {
    HRESULT _hr = put_WebViewAllowNavigation(WebViewAllowNavigation);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(175)
inline HRESULT Outlook::MAPIFolder::AddToPFFavorites ( ) {
    HRESULT _hr = raw_AddToPFFavorites();
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

#pragma implementation_key(176)
inline _bstr_t Outlook::MAPIFolder::GetAddressBookName ( ) {
    BSTR _result;
    HRESULT _hr = get_AddressBookName(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _bstr_t(_result, false);
}

#pragma implementation_key(177)
inline void Outlook::MAPIFolder::PutAddressBookName ( _bstr_t AddressBookName ) {
    HRESULT _hr = put_AddressBookName(AddressBookName);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(178)
inline VARIANT_BOOL Outlook::MAPIFolder::GetShowAsOutlookAB ( ) {
    VARIANT_BOOL _result;
    HRESULT _hr = get_ShowAsOutlookAB(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(179)
inline void Outlook::MAPIFolder::PutShowAsOutlookAB ( VARIANT_BOOL ShowAsOutlookAB ) {
    HRESULT _hr = put_ShowAsOutlookAB(ShowAsOutlookAB);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(180)
inline _bstr_t Outlook::MAPIFolder::GetFolderPath ( ) {
    BSTR _result;
    HRESULT _hr = get_FolderPath(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _bstr_t(_result, false);
}

#pragma implementation_key(181)
inline HRESULT Outlook::MAPIFolder::AddToFavorites ( const _variant_t & fNoUI, const _variant_t & Name ) {
    HRESULT _hr = raw_AddToFavorites(fNoUI, Name);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

#pragma implementation_key(182)
inline VARIANT_BOOL Outlook::MAPIFolder::GetInAppFolderSyncObject ( ) {
    VARIANT_BOOL _result;
    HRESULT _hr = get_InAppFolderSyncObject(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(183)
inline void Outlook::MAPIFolder::PutInAppFolderSyncObject ( VARIANT_BOOL InAppFolderSyncObject ) {
    HRESULT _hr = put_InAppFolderSyncObject(InAppFolderSyncObject);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(184)
inline Outlook::ViewPtr Outlook::MAPIFolder::GetCurrentView ( ) {
    struct View * _result;
    HRESULT _hr = get_CurrentView(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return ViewPtr(_result, false);
}

#pragma implementation_key(185)
inline VARIANT_BOOL Outlook::MAPIFolder::GetCustomViewsOnly ( ) {
    VARIANT_BOOL _result;
    HRESULT _hr = get_CustomViewsOnly(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(186)
inline void Outlook::MAPIFolder::PutCustomViewsOnly ( VARIANT_BOOL CustomViewsOnly ) {
    HRESULT _hr = put_CustomViewsOnly(CustomViewsOnly);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(187)
inline Outlook::_ViewsPtr Outlook::MAPIFolder::GetViews ( ) {
    struct _Views * _result;
    HRESULT _hr = get_Views(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _ViewsPtr(_result, false);
}

#pragma implementation_key(188)
inline IUnknownPtr Outlook::MAPIFolder::GetMAPIOBJECT ( ) {
    IUnknown * _result;
    HRESULT _hr = get_MAPIOBJECT(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return IUnknownPtr(_result, false);
}

#pragma implementation_key(189)
inline _bstr_t Outlook::MAPIFolder::GetFullFolderPath ( ) {
    BSTR _result;
    HRESULT _hr = get_FullFolderPath(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _bstr_t(_result, false);
}

⌨️ 快捷键说明

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