Platform SDK: Exchange Server |
The ImportMessageDeletion method accepts a message deletion notification from the synchronizer.
HRESULT ImportMessageDeletion( ULONG ulFlags, LPENTRYLIST lpSourceEntryList );
Input parameter. Points to a MAPI ENTRYLIST structure, which contains the list of SOURCE_KEY properties that identify the messages to delete. This parameter cannot be NULL; if you pass a NULL value, ImportMessageDeletion raises an exception.
See Return Values.
In addition, ImportMessageDeletion can return one of the following values:
The ImportMessageDeletion method is called by the synchronizer for each message that is deleted. This method should not be called from the agent.
If one of the source key properties in the entry list is not a valid source key property, ImportMessageDeletion exits without processing the rest of the list and returns SYNC_E_INVALID_PARAMETER.
IExchangeImportContentsChanges, IExchangeImportHierarchyChanges::ImportFolderDeletion