📄 msoutl.tli
字号:
// Created by Microsoft (R) C/C++ Compiler Version 12.00.8964.0 (b5c2f737).
//
// e:\automemter\faxsrv\release\msoutl.tli
//
// Wrapper implementations for Win32 type library D:\Program Files\Microsoft Office\OFFICE11\msoutl.olb
// compiler-generated file created 02/26/04 at 09:43:44 - DO NOT EDIT!
//
// interface Action wrapper method implementations
//
#pragma implementation_key(1)
inline Outlook::_ApplicationPtr Outlook::Action::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(2)
inline enum OlObjectClass Outlook::Action::GetClass ( ) {
enum OlObjectClass _result;
HRESULT _hr = get_Class(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(3)
inline Outlook::_NameSpacePtr Outlook::Action::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(4)
inline IDispatchPtr Outlook::Action::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(5)
inline enum OlActionCopyLike Outlook::Action::GetCopyLike ( ) {
enum OlActionCopyLike _result;
HRESULT _hr = get_CopyLike(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(6)
inline void Outlook::Action::PutCopyLike ( enum OlActionCopyLike CopyLike ) {
HRESULT _hr = put_CopyLike(CopyLike);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(7)
inline VARIANT_BOOL Outlook::Action::GetEnabled ( ) {
VARIANT_BOOL _result;
HRESULT _hr = get_Enabled(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(8)
inline void Outlook::Action::PutEnabled ( VARIANT_BOOL Enabled ) {
HRESULT _hr = put_Enabled(Enabled);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(9)
inline _bstr_t Outlook::Action::GetMessageClass ( ) {
BSTR _result;
HRESULT _hr = get_MessageClass(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
#pragma implementation_key(10)
inline void Outlook::Action::PutMessageClass ( _bstr_t MessageClass ) {
HRESULT _hr = put_MessageClass(MessageClass);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(11)
inline _bstr_t Outlook::Action::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(12)
inline void Outlook::Action::PutName ( _bstr_t Name ) {
HRESULT _hr = put_Name(Name);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(13)
inline _bstr_t Outlook::Action::GetPrefix ( ) {
BSTR _result;
HRESULT _hr = get_Prefix(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
#pragma implementation_key(14)
inline void Outlook::Action::PutPrefix ( _bstr_t Prefix ) {
HRESULT _hr = put_Prefix(Prefix);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(15)
inline enum OlActionReplyStyle Outlook::Action::GetReplyStyle ( ) {
enum OlActionReplyStyle _result;
HRESULT _hr = get_ReplyStyle(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(16)
inline void Outlook::Action::PutReplyStyle ( enum OlActionReplyStyle ReplyStyle ) {
HRESULT _hr = put_ReplyStyle(ReplyStyle);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(17)
inline enum OlActionResponseStyle Outlook::Action::GetResponseStyle ( ) {
enum OlActionResponseStyle _result;
HRESULT _hr = get_ResponseStyle(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(18)
inline void Outlook::Action::PutResponseStyle ( enum OlActionResponseStyle ResponseStyle ) {
HRESULT _hr = put_ResponseStyle(ResponseStyle);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(19)
inline enum OlActionShowOn Outlook::Action::GetShowOn ( ) {
enum OlActionShowOn _result;
HRESULT _hr = get_ShowOn(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(20)
inline void Outlook::Action::PutShowOn ( enum OlActionShowOn ShowOn ) {
HRESULT _hr = put_ShowOn(ShowOn);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(21)
inline HRESULT Outlook::Action::Delete ( ) {
HRESULT _hr = raw_Delete();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(22)
inline IDispatchPtr Outlook::Action::Execute ( ) {
IDispatch * _result;
HRESULT _hr = raw_Execute(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IDispatchPtr(_result, false);
}
//
// interface _Application wrapper method implementations
//
#pragma implementation_key(23)
inline Outlook::_ApplicationPtr Outlook::_Application::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(24)
inline enum OlObjectClass Outlook::_Application::GetClass ( ) {
enum OlObjectClass _result;
HRESULT _hr = get_Class(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(25)
inline Outlook::_NameSpacePtr Outlook::_Application::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(26)
inline IDispatchPtr Outlook::_Application::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(27)
inline AssistantPtr Outlook::_Application::GetAssistant ( ) {
struct Assistant * _result;
HRESULT _hr = get_Assistant(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return AssistantPtr(_result, false);
}
#pragma implementation_key(28)
inline _bstr_t Outlook::_Application::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(29)
inline _bstr_t Outlook::_Application::GetVersion ( ) {
BSTR _result;
HRESULT _hr = get_Version(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
#pragma implementation_key(30)
inline Outlook::_ExplorerPtr Outlook::_Application::ActiveExplorer ( ) {
struct _Explorer * _result;
HRESULT _hr = raw_ActiveExplorer(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _ExplorerPtr(_result, false);
}
#pragma implementation_key(31)
inline Outlook::_InspectorPtr Outlook::_Application::ActiveInspector ( ) {
struct _Inspector * _result;
HRESULT _hr = raw_ActiveInspector(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _InspectorPtr(_result, false);
}
#pragma implementation_key(32)
inline IDispatchPtr Outlook::_Application::CreateItem ( enum OlItemType ItemType ) {
IDispatch * _result;
HRESULT _hr = raw_CreateItem(ItemType, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IDispatchPtr(_result, false);
}
#pragma implementation_key(33)
inline IDispatchPtr Outlook::_Application::CreateItemFromTemplate ( _bstr_t TemplatePath, const _variant_t & InFolder ) {
IDispatch * _result;
HRESULT _hr = raw_CreateItemFromTemplate(TemplatePath, InFolder, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IDispatchPtr(_result, false);
}
#pragma implementation_key(34)
inline IDispatchPtr Outlook::_Application::CreateObject ( _bstr_t ObjectName ) {
IDispatch * _result;
HRESULT _hr = raw_CreateObject(ObjectName, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IDispatchPtr(_result, false);
}
#pragma implementation_key(35)
inline Outlook::_NameSpacePtr Outlook::_Application::GetNamespace ( _bstr_t Type ) {
struct _NameSpace * _result;
HRESULT _hr = raw_GetNamespace(Type, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _NameSpacePtr(_result, false);
}
#pragma implementation_key(36)
inline HRESULT Outlook::_Application::Quit ( ) {
HRESULT _hr = raw_Quit();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(37)
inline COMAddInsPtr Outlook::_Application::GetCOMAddIns ( ) {
struct COMAddIns * _result;
HRESULT _hr = get_COMAddIns(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return COMAddInsPtr(_result, false);
}
#pragma implementation_key(38)
inline Outlook::_ExplorersPtr Outlook::_Application::GetExplorers ( ) {
struct _Explorers * _result;
HRESULT _hr = get_Explorers(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _ExplorersPtr(_result, false);
}
#pragma implementation_key(39)
inline Outlook::_InspectorsPtr Outlook::_Application::GetInspectors ( ) {
struct _Inspectors * _result;
HRESULT _hr = get_Inspectors(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _InspectorsPtr(_result, false);
}
#pragma implementation_key(40)
inline LanguageSettingsPtr Outlook::_Application::GetLanguageSettings ( ) {
struct LanguageSettings * _result;
HRESULT _hr = get_LanguageSettings(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return LanguageSettingsPtr(_result, false);
}
#pragma implementation_key(41)
inline _bstr_t Outlook::_Application::GetProductCode ( ) {
BSTR _result;
HRESULT _hr = get_ProductCode(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
#pragma implementation_key(42)
inline AnswerWizardPtr Outlook::_Application::GetAnswerWizard ( ) {
struct AnswerWizard * _result;
HRESULT _hr = get_AnswerWizard(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return AnswerWizardPtr(_result, false);
}
#pragma implementation_key(43)
inline enum MsoFeatureInstall Outlook::_Application::GetFeatureInstall ( ) {
enum MsoFeatureInstall _result;
HRESULT _hr = get_FeatureInstall(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(44)
inline void Outlook::_Application::PutFeatureInstall ( enum MsoFeatureInstall FeatureInstall ) {
HRESULT _hr = put_FeatureInstall(FeatureInstall);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(45)
inline IDispatchPtr Outlook::_Application::ActiveWindow ( ) {
IDispatch * _result;
HRESULT _hr = raw_ActiveWindow(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IDispatchPtr(_result, false);
}
#pragma implementation_key(46)
inline IDispatchPtr Outlook::_Application::CopyFile ( _bstr_t FilePath, _bstr_t DestFolderPath ) {
IDispatch * _result;
HRESULT _hr = raw_CopyFile(FilePath, DestFolderPath, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IDispatchPtr(_result, false);
}
#pragma implementation_key(47)
inline Outlook::SearchPtr Outlook::_Application::AdvancedSearch ( _bstr_t Scope, const _variant_t & Filter, const _variant_t & SearchSubFolders, const _variant_t & Tag ) {
struct Search * _result;
HRESULT _hr = raw_AdvancedSearch(Scope, Filter, SearchSubFolders, Tag, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -