R
ryotyankou via OfficeKB.com
I get the item entry id as follow:
1. Use IAddrBook::GetSearchPath get SRowSet.
2. Use PropFindProp check SRowSet for IABContainer PR_ENTRYID.
3. Use IAddrBook::OpenEntry open the entry id to get IABContainer.
4. Use IABContainer::GetContentsTable to get contact table.
5. Then i get wanted items in table and save their entry ids.
Now i have the item entry id, if i want to remove the item, i should call
IABContainer:eleteEntries, but how could i get IABContainer then?
1. Use IAddrBook::GetSearchPath get SRowSet.
2. Use PropFindProp check SRowSet for IABContainer PR_ENTRYID.
3. Use IAddrBook::OpenEntry open the entry id to get IABContainer.
4. Use IABContainer::GetContentsTable to get contact table.
5. Then i get wanted items in table and save their entry ids.
Now i have the item entry id, if i want to remove the item, i should call
IABContainer:eleteEntries, but how could i get IABContainer then?