Share via


IMailSyncHandler::Synchronize

4/8/2010

The Synchronize method is called by Messaging to place a synchronize request with the transport.

Syntax

HRESULT Synchronize (
  MAILSYNCREQUEST * pRqst
);

Parameters

  • pRqst
    [in] Reference to a MAILSYNCREQUEST structure that defines what to synchronize. If NULL, the transport should do a full synchronization.

Return Value

This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:

  • S_OK
    Indicates success.

Remarks

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.

Requirements

Header cemapi.h
Library cemapi.lib
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Pocket PC 2002 and later, Smartphone 2002 and later

See Also

Reference

IMailSyncHandler

Other Resources

Messaging