The ImportFolderDeletion method accepts a folder deletion notification from the synchronizer.
HRESULT ImportFolderDeletion(
ULONG ulFlags,
LPENTRYLIST lpSourceEntryList
);
See Return Values.
In addition, ImportFolderDeletion can return one of the following values:
The ImportFolderDeletion method is called by the synchronizer for each folder that is deleted. This method should not be called from the agent.
If one of the folders in the entry list is not a valid folder or cannot be deleted, ImportFolderDeletion exits without processing the rest of the list and returns SYNC_E_INVALID_PARAMETER.
IExchangeImportContentsChanges::ImportMessageDeletion, IExchangeImportHierarchyChanges