📄 msoutl.tli
字号:
#pragma implementation_key(190)
inline VARIANT_BOOL Outlook::MAPIFolder::GetIsSharePointFolder ( ) {
VARIANT_BOOL _result;
HRESULT _hr = get_IsSharePointFolder(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(191)
inline enum OlShowItemCount Outlook::MAPIFolder::GetShowItemCount ( ) {
enum OlShowItemCount _result;
HRESULT _hr = get_ShowItemCount(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(192)
inline void Outlook::MAPIFolder::PutShowItemCount ( enum OlShowItemCount ShowItemCount ) {
HRESULT _hr = put_ShowItemCount(ShowItemCount);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
//
// interface _Items wrapper method implementations
//
#pragma implementation_key(193)
inline Outlook::_ApplicationPtr Outlook::_Items::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(194)
inline enum OlObjectClass Outlook::_Items::GetClass ( ) {
enum OlObjectClass _result;
HRESULT _hr = get_Class(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(195)
inline Outlook::_NameSpacePtr Outlook::_Items::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(196)
inline IDispatchPtr Outlook::_Items::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(197)
inline long Outlook::_Items::GetCount ( ) {
long _result;
HRESULT _hr = get_Count(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(198)
inline IDispatchPtr Outlook::_Items::Item ( const _variant_t & Index ) {
IDispatch * _result;
HRESULT _hr = raw_Item(Index, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IDispatchPtr(_result, false);
}
#pragma implementation_key(199)
inline IUnknownPtr Outlook::_Items::GetRawTable ( ) {
IUnknown * _result;
HRESULT _hr = get_RawTable(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IUnknownPtr(_result, false);
}
#pragma implementation_key(200)
inline VARIANT_BOOL Outlook::_Items::GetIncludeRecurrences ( ) {
VARIANT_BOOL _result;
HRESULT _hr = get_IncludeRecurrences(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(201)
inline void Outlook::_Items::PutIncludeRecurrences ( VARIANT_BOOL IncludeRecurrences ) {
HRESULT _hr = put_IncludeRecurrences(IncludeRecurrences);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(202)
inline IDispatchPtr Outlook::_Items::Add ( const _variant_t & Type ) {
IDispatch * _result;
HRESULT _hr = raw_Add(Type, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IDispatchPtr(_result, false);
}
#pragma implementation_key(203)
inline IDispatchPtr Outlook::_Items::Find ( _bstr_t Filter ) {
IDispatch * _result;
HRESULT _hr = raw_Find(Filter, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IDispatchPtr(_result, false);
}
#pragma implementation_key(204)
inline IDispatchPtr Outlook::_Items::FindNext ( ) {
IDispatch * _result;
HRESULT _hr = raw_FindNext(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IDispatchPtr(_result, false);
}
#pragma implementation_key(205)
inline IDispatchPtr Outlook::_Items::GetFirst ( ) {
IDispatch * _result;
HRESULT _hr = raw_GetFirst(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IDispatchPtr(_result, false);
}
#pragma implementation_key(206)
inline IDispatchPtr Outlook::_Items::GetLast ( ) {
IDispatch * _result;
HRESULT _hr = raw_GetLast(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IDispatchPtr(_result, false);
}
#pragma implementation_key(207)
inline IDispatchPtr Outlook::_Items::GetNext ( ) {
IDispatch * _result;
HRESULT _hr = raw_GetNext(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IDispatchPtr(_result, false);
}
#pragma implementation_key(208)
inline IDispatchPtr Outlook::_Items::GetPrevious ( ) {
IDispatch * _result;
HRESULT _hr = raw_GetPrevious(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IDispatchPtr(_result, false);
}
#pragma implementation_key(209)
inline HRESULT Outlook::_Items::Remove ( long Index ) {
HRESULT _hr = raw_Remove(Index);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(210)
inline HRESULT Outlook::_Items::ResetColumns ( ) {
HRESULT _hr = raw_ResetColumns();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(211)
inline Outlook::_ItemsPtr Outlook::_Items::Restrict ( _bstr_t Filter ) {
struct _Items * _result;
HRESULT _hr = raw_Restrict(Filter, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _ItemsPtr(_result, false);
}
#pragma implementation_key(212)
inline HRESULT Outlook::_Items::SetColumns ( _bstr_t Columns ) {
HRESULT _hr = raw_SetColumns(Columns);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(213)
inline HRESULT Outlook::_Items::Sort ( _bstr_t Property, const _variant_t & Descending ) {
HRESULT _hr = raw_Sort(Property, Descending);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
//
// interface _Explorer wrapper method implementations
//
#pragma implementation_key(214)
inline Outlook::_ApplicationPtr Outlook::_Explorer::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(215)
inline enum OlObjectClass Outlook::_Explorer::GetClass ( ) {
enum OlObjectClass _result;
HRESULT _hr = get_Class(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(216)
inline Outlook::_NameSpacePtr Outlook::_Explorer::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(217)
inline IDispatchPtr Outlook::_Explorer::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(218)
inline _CommandBarsPtr Outlook::_Explorer::GetCommandBars ( ) {
struct _CommandBars * _result;
HRESULT _hr = get_CommandBars(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _CommandBarsPtr(_result, false);
}
#pragma implementation_key(219)
inline Outlook::MAPIFolderPtr Outlook::_Explorer::GetCurrentFolder ( ) {
struct MAPIFolder * _result;
HRESULT _hr = get_CurrentFolder(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return MAPIFolderPtr(_result, false);
}
#pragma implementation_key(220)
inline void Outlook::_Explorer::PutRefCurrentFolder ( struct MAPIFolder * CurrentFolder ) {
HRESULT _hr = putref_CurrentFolder(CurrentFolder);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(221)
inline HRESULT Outlook::_Explorer::Close ( ) {
HRESULT _hr = raw_Close();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(222)
inline HRESULT Outlook::_Explorer::Display ( ) {
HRESULT _hr = raw_Display();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(223)
inline _bstr_t Outlook::_Explorer::GetCaption ( ) {
BSTR _result;
HRESULT _hr = get_Caption(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
#pragma implementation_key(224)
inline _variant_t Outlook::_Explorer::GetCurrentView ( ) {
VARIANT _result;
VariantInit(&_result);
HRESULT _hr = get_CurrentView(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _variant_t(_result, false);
}
#pragma implementation_key(225)
inline void Outlook::_Explorer::PutCurrentView ( const _variant_t & CurrentView ) {
HRESULT _hr = put_CurrentView(CurrentView);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(226)
inline long Outlook::_Explorer::GetHeight ( ) {
long _result;
HRESULT _hr = get_Height(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(227)
inline void Outlook::_Explorer::PutHeight ( long Height ) {
HRESULT _hr = put_Height(Height);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(228)
inline long Outlook::_Explorer::GetLeft ( ) {
long _result;
HRESULT _hr = get_Left(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(229)
inline void Outlook::_Explorer::PutLeft ( long Left ) {
HRESULT _hr = put_Left(Left);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(230)
inline Outlook::PanesPtr Outlook::_Explorer::GetPanes ( ) {
struct Panes * _result;
HRESULT _hr = get_Panes(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return PanesPtr(_result, false);
}
#pragma implementation_key(231)
inline Outlook::SelectionPtr Outlook::_Explorer::GetSelection ( ) {
struct Selection * _result;
HRESULT _hr = get_Selection(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return SelectionPtr(_result, false);
}
#pragma implementation_key(232)
inline long Outlook::_Explorer::GetTop ( ) {
long _result;
HRESULT _hr = get_Top(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(233)
inline void Outlook::_Explorer::PutTop ( long Top ) {
HRESULT _hr = put_Top(Top);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(234)
inline long Outlook::_Explorer::GetWidth ( ) {
long _result;
HRESULT _hr = get_Width(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(235)
inline void Outlook::_Explorer::PutWidth ( long Width ) {
HRESULT _hr = put_Width(Width);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(236)
inline enum OlWindowState Outlook::_Explorer::GetWindowState ( ) {
enum OlWindowState _result;
HRESULT _hr = get_WindowState(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(237)
inline void Outlook::_Explorer::PutWindowState ( enum OlWindowState WindowS
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -