Platform SDK: Synchronization Manager

ISyncMgrSynchronizeCallback::Progress

The registered application calls the ISyncMgrSynchronizeCallback::Progress method to update the progress information and determine whether the operation should continue.

HRESULT Progress(
  REFSYNCMGRITEMID pItemID,                 // Item identifier
  LPSYNCMGRPROGRESSITEM lpSyncProgressItem  // SYNCMGRPROGRESSITEM structure
);

Parameters

pItemID
[in] Item identifier for the item being updated.
lpSyncProgressItem
[in] Pointer to a SYNCMGRPROGRESSITEM structure containing the updated progress information.

Return Values

S_OK
Continues the synchronization.
S_SYNCMGR_CANCELITEM
Cancel the synchronization on the specified ItemID as soon as possible.
S_SYNCMGR_CANCELALL
Cancel the synchronization on all items associated with this application as soon as possible.

Remarks

Registered applications should call this to provide normal feedback even when the SYNCMGRFLAG_MAYBOTHERUSER flag has been set.

Requirements

  Windows NT/2000: Requires Windows 2000 (or Windows NT 4.0 with Internet Explorer 5 or later).
  Windows 95/98: Requires Windows 95 or later (with Internet Explorer 5 or later).
  Header: Declared in Mobsync.h.

See Also

SYNCMGRFLAG, SYNCMGRPROGRESSITEM