Morya Chen
March 31st, 1999, 01:44 AM
I have already got the user name lists from the following MAPI codes
(all the PR_DISPLAY_NAME entries are pointer by "lppAdrList" pointer)
...
hr = MAPIInitialize(NULL);
...
hr = MAPILogonEx(0, NULL, NULL, MAPI_USE_DEFAULT, &lpSession);
...
hr = lpSession->OpenAddressBook(m_hnd, NULL, 0, &lpAddrbk);
...
hr = lpAddrbk->Address(&m_hnd, &adrparm, &lppAdrList);
...
How can I further retrieve the other data in the PAB (Personal Address Book)
according to lppAdrList? (Such as Tel number,Fax Number, ....)
(all the PR_DISPLAY_NAME entries are pointer by "lppAdrList" pointer)
...
hr = MAPIInitialize(NULL);
...
hr = MAPILogonEx(0, NULL, NULL, MAPI_USE_DEFAULT, &lpSession);
...
hr = lpSession->OpenAddressBook(m_hnd, NULL, 0, &lpAddrbk);
...
hr = lpAddrbk->Address(&m_hnd, &adrparm, &lppAdrList);
...
How can I further retrieve the other data in the PAB (Personal Address Book)
according to lppAdrList? (Such as Tel number,Fax Number, ....)