The Synchronize method is called by Messaging to place a synchronize request with the transport.
HRESULT Synchronize ( MAILSYNCREQUEST * pRqst );
[in] Reference to a MAILSYNCREQUEST structure that defines what to synchronize. If NULL, the transport should do a full synchronization.
This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:
While synchronizing, if the transport encounters an error event, it should use IMailSyncCallBack::LogEvent to log it with Messaging. If the error condition is catastrophic, the transport should stop synchronizing. Otherwise, it should continue with the rest of the synchronization.
Pocket PC: Pocket PC 2002 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later
Send Feedback on this topic to the authors