📄 msoutl.tli
字号:
return SearchPtr(_result, false);
}
#pragma implementation_key(48)
inline VARIANT_BOOL Outlook::_Application::IsSearchSynchronous ( _bstr_t LookInFolders ) {
VARIANT_BOOL _result;
HRESULT _hr = raw_IsSearchSynchronous(LookInFolders, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(49)
inline HRESULT Outlook::_Application::GetNewNickNames ( VARIANT * pvar ) {
HRESULT _hr = raw_GetNewNickNames(pvar);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(50)
inline Outlook::_RemindersPtr Outlook::_Application::GetReminders ( ) {
struct _Reminders * _result;
HRESULT _hr = get_Reminders(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _RemindersPtr(_result, false);
}
//
// interface _NameSpace wrapper method implementations
//
#pragma implementation_key(51)
inline Outlook::_ApplicationPtr Outlook::_NameSpace::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(52)
inline enum OlObjectClass Outlook::_NameSpace::GetClass ( ) {
enum OlObjectClass _result;
HRESULT _hr = get_Class(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(53)
inline Outlook::_NameSpacePtr Outlook::_NameSpace::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(54)
inline IDispatchPtr Outlook::_NameSpace::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(55)
inline Outlook::RecipientPtr Outlook::_NameSpace::GetCurrentUser ( ) {
struct Recipient * _result;
HRESULT _hr = get_CurrentUser(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return RecipientPtr(_result, false);
}
#pragma implementation_key(56)
inline Outlook::_FoldersPtr Outlook::_NameSpace::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(57)
inline _bstr_t Outlook::_NameSpace::GetType ( ) {
BSTR _result;
HRESULT _hr = get_Type(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
#pragma implementation_key(58)
inline Outlook::AddressListsPtr Outlook::_NameSpace::GetAddressLists ( ) {
struct AddressLists * _result;
HRESULT _hr = get_AddressLists(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return AddressListsPtr(_result, false);
}
#pragma implementation_key(59)
inline Outlook::RecipientPtr Outlook::_NameSpace::CreateRecipient ( _bstr_t RecipientName ) {
struct Recipient * _result;
HRESULT _hr = raw_CreateRecipient(RecipientName, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return RecipientPtr(_result, false);
}
#pragma implementation_key(60)
inline Outlook::MAPIFolderPtr Outlook::_NameSpace::GetDefaultFolder ( enum OlDefaultFolders FolderType ) {
struct MAPIFolder * _result;
HRESULT _hr = raw_GetDefaultFolder(FolderType, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return MAPIFolderPtr(_result, false);
}
#pragma implementation_key(61)
inline Outlook::MAPIFolderPtr Outlook::_NameSpace::GetFolderFromID ( _bstr_t EntryIDFolder, const _variant_t & EntryIDStore ) {
struct MAPIFolder * _result;
HRESULT _hr = raw_GetFolderFromID(EntryIDFolder, EntryIDStore, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return MAPIFolderPtr(_result, false);
}
#pragma implementation_key(62)
inline IDispatchPtr Outlook::_NameSpace::GetItemFromID ( _bstr_t EntryIDItem, const _variant_t & EntryIDStore ) {
IDispatch * _result;
HRESULT _hr = raw_GetItemFromID(EntryIDItem, EntryIDStore, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IDispatchPtr(_result, false);
}
#pragma implementation_key(63)
inline Outlook::RecipientPtr Outlook::_NameSpace::GetRecipientFromID ( _bstr_t EntryID ) {
struct Recipient * _result;
HRESULT _hr = raw_GetRecipientFromID(EntryID, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return RecipientPtr(_result, false);
}
#pragma implementation_key(64)
inline Outlook::MAPIFolderPtr Outlook::_NameSpace::GetSharedDefaultFolder ( struct Recipient * Recipient, enum OlDefaultFolders FolderType ) {
struct MAPIFolder * _result;
HRESULT _hr = raw_GetSharedDefaultFolder(Recipient, FolderType, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return MAPIFolderPtr(_result, false);
}
#pragma implementation_key(65)
inline HRESULT Outlook::_NameSpace::Logoff ( ) {
HRESULT _hr = raw_Logoff();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(66)
inline HRESULT Outlook::_NameSpace::Logon ( const _variant_t & Profile, const _variant_t & Password, const _variant_t & ShowDialog, const _variant_t & NewSession ) {
HRESULT _hr = raw_Logon(Profile, Password, ShowDialog, NewSession);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(67)
inline Outlook::MAPIFolderPtr Outlook::_NameSpace::PickFolder ( ) {
struct MAPIFolder * _result;
HRESULT _hr = raw_PickFolder(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return MAPIFolderPtr(_result, false);
}
#pragma implementation_key(68)
inline HRESULT Outlook::_NameSpace::RefreshRemoteHeaders ( ) {
HRESULT _hr = raw_RefreshRemoteHeaders();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(69)
inline Outlook::SyncObjectsPtr Outlook::_NameSpace::GetSyncObjects ( ) {
struct SyncObjects * _result;
HRESULT _hr = get_SyncObjects(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return SyncObjectsPtr(_result, false);
}
#pragma implementation_key(70)
inline HRESULT Outlook::_NameSpace::AddStore ( const _variant_t & Store ) {
HRESULT _hr = raw_AddStore(Store);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(71)
inline HRESULT Outlook::_NameSpace::RemoveStore ( struct MAPIFolder * Folder ) {
HRESULT _hr = raw_RemoveStore(Folder);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(72)
inline VARIANT_BOOL Outlook::_NameSpace::GetOffline ( ) {
VARIANT_BOOL _result;
HRESULT _hr = get_Offline(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(73)
inline HRESULT Outlook::_NameSpace::Dial ( const _variant_t & ContactItem ) {
HRESULT _hr = raw_Dial(ContactItem);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(74)
inline IUnknownPtr Outlook::_NameSpace::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(75)
inline enum OlExchangeConnectionMode Outlook::_NameSpace::GetExchangeConnectionMode ( ) {
enum OlExchangeConnectionMode _result;
HRESULT _hr = get_ExchangeConnectionMode(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(76)
inline HRESULT Outlook::_NameSpace::AddStoreEx ( const _variant_t & Store, enum OlStoreType Type ) {
HRESULT _hr = raw_AddStoreEx(Store, Type);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
//
// interface Recipient wrapper method implementations
//
#pragma implementation_key(77)
inline Outlook::_ApplicationPtr Outlook::Recipient::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(78)
inline enum OlObjectClass Outlook::Recipient::GetClass ( ) {
enum OlObjectClass _result;
HRESULT _hr = get_Class(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(79)
inline Outlook::_NameSpacePtr Outlook::Recipient::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(80)
inline IDispatchPtr Outlook::Recipient::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(81)
inline _bstr_t Outlook::Recipient::GetAddress ( ) {
BSTR _result;
HRESULT _hr = get_Address(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
#pragma implementation_key(82)
inline Outlook::AddressEntryPtr Outlook::Recipient::GetAddressEntry ( ) {
struct AddressEntry * _result;
HRESULT _hr = get_AddressEntry(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return AddressEntryPtr(_result, false);
}
#pragma implementation_key(83)
inline void Outlook::Recipient::PutRefAddressEntry ( struct AddressEntry * AddressEntry ) {
HRESULT _hr = putref_AddressEntry(AddressEntry);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(84)
inline _bstr_t Outlook::Recipient::GetAutoResponse ( ) {
BSTR _result;
HRESULT _hr = get_AutoResponse(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
#pragma implementation_key(85)
inline void Outlook::Recipient::PutAutoResponse ( _bstr_t AutoResponse ) {
HRESULT _hr = put_AutoResponse(AutoResponse);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(86)
inline enum OlDisplayType Outlook::Recipient::GetDisplayType ( ) {
enum OlDisplayType _result;
HRESULT _hr = get_DisplayType(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(87)
inline _bstr_t Outlook::Recipient::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(88)
inline long Outlook::Recipient::GetIndex ( ) {
long _result;
HRESULT _hr = get_Index(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(89)
inline enum OlResponseStatus Outlook::Recipient::GetMeetingResponseStatus ( ) {
enum OlResponseStatus _result;
HRESULT _hr = get_MeetingResponseStatus(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(90)
inline _bstr_t Outlook::Recipient::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(91)
inline VARIANT_BOOL Outlook::Recipient::GetResolved ( ) {
VARIANT_BOOL _result;
HRESULT _hr = get_Resolved(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(92)
inline enum OlTrackingStatus Outlook::Recipient::GetTrackingStatus ( ) {
enum OlTrackingStatus _result;
HRESULT _hr = get_TrackingStatus(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(93)
inline void Outlook::Recipient::PutTrackingStatus ( enum OlTrackingStatus TrackingStatus ) {
HRESULT _hr = put_TrackingStatus(TrackingStatus);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(94)
inline DATE Outlook::Recipient::GetTrackingStatusTime ( ) {
DATE _result;
HRESULT _hr = get_TrackingStatusTime(&_result);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -