Entry Identifier Identifies Specific Object for Notification
An application can register to receive notification of the deletion of an object in any of three ways:
In the call to Advise, pass the entry identifier of the particular object, whether it is a folder object or a message object. To receive notification of the deletion of a message within a folder, the application must be registered for notifications about the message itself, not the folder that contains it.
Pass NULL in the Advise call to request notification of all deleted objects in the information store.
Register for table notification on a contents table of the folder.