IExchangeExportChanges::Synchronize

The Synchronize method exports a single incremental change from the synchronizer to the collector.

HRESULT Synchronize(
  ULONG FAR * pulSteps,  
  ULONG FAR * pulProgress   
);
 

Parameters

pulSteps
Output parameter. Points to a ULONG that holds the total number of steps needed to synchronize.
pulProgress
Output parameter. Points to a ULONG that holds the number of incremental changes that have been made.

Return Values

See Return Values.

In addition, Synchronize can return one of the following values:

SUCCESS_SUCCESS
Synchronization is complete.
SYNC_W_PROGRESS
Synchronization is in progress.

Remarks

The Synchronize method exports the incremental changes in small, atomic steps. After any Synchronize call, the agent can interrupt the process, update and save the state of the process with IExchangeExportChanges::UpdateState, close the Win32 IStream interface that was opened with IExchangeExportChanges::Config, and resume the process later.

See Also

IExchangeExportChanges, IExchangeExportChanges::Config, IExchangeExportChanges::UpdateState