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
-
Delete each recipient represented by the entry identifier from your container.
-
If your container's contents table is open:
-
Send an fnevTableModified notification with the ulTableEvent member set to TABLE_ROW_DELETED to registered clients for each deleted contents table row. If your provider uses the notification utility, call IMAPISupport::Notify to send these notifications.
-
If your provider supports object notifications, also send an fnevObjectDeleted notification.