In case when CMsgStore::QueryInterface
method queries for the IID_IMAPISync
it returns my own implementation (CSync) of the IMAPISync
interface. Later the CSync object got two method calls of CSync::AddRef
and then two method calls of CSync::Release
.
Can anybody help me to learn why the CSync::SynchronizeInBackground
method isn't called?