mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-17 06:06:00 -06:00
MAPIEx: Updated interface
git-svn-id: svn://ultimatepp.org/upp/trunk@6416 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
2203d89b08
commit
d08dae7b40
18 changed files with 2079 additions and 2054 deletions
|
|
@ -682,15 +682,17 @@ int CMAPIEx::ShowAddressBook(LPADRLIST& pAddressList, LPCTSTR szCaption)
|
|||
adrparm.lpszCaption=(LPTSTR)szNarrowCaption;
|
||||
}
|
||||
#endif
|
||||
adrparm.cDestFields=1;
|
||||
adrparm.lppszDestTitles=(LPTSTR*)lppszDestTitles;
|
||||
adrparm.lpulDestComps=lpulDestComps;
|
||||
adrparm.cDestFields = 1;
|
||||
adrparm.lppszDestTitles = (LPTSTR*)lppszDestTitles;
|
||||
adrparm.lpulDestComps = lpulDestComps;
|
||||
|
||||
HWND hDesktop=::GetDesktopWindow();
|
||||
HRESULT hr=pAddressBook->Address((ULONG_PTR*)&hDesktop, &adrparm, &pAddressList);
|
||||
HWND hDesktop = ::GetDesktopWindow();
|
||||
HRESULT hr = pAddressBook->Address((ULONG_PTR*)&hDesktop, &adrparm, &pAddressList);
|
||||
RELEASE(pAddressBook);
|
||||
if(hr==S_OK) return IDOK;
|
||||
if(hr==MAPI_E_USER_CANCEL) return IDCANCEL;
|
||||
if(hr == S_OK)
|
||||
return IDOK;
|
||||
if(hr == MAPI_E_USER_CANCEL)
|
||||
return IDCANCEL;
|
||||
}
|
||||
#endif
|
||||
return FALSE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue