Share via


IMailSyncHandler::Synchronize

Send Feedback

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 Values

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

Pocket PC: Pocket PC 2002 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later
Header: cemapi.h
Library: cemapi.lib

See Also

IMailSyncHandler | Messaging

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.