Platform SDK: MAPI

Removing Address Book Entries

Your container's IABContainer::DeleteEntries method is called to remove one or more recipients. DeleteEntries has two parameters: an array of entry identifiers representing the recipients to be deleted and a reserved flags value. Deleting a recipient affects the contents table of your container; in addition to deleting the recipient, your container must delete the contents table row that represents the recipient. When the row has been removed from the table, your container must issue a table notification to each registered client.

To implement IABContainer::DeleteEntries

  1. Delete each recipient represented by the entry identifier from your container.
  2. If your container's contents table is open: