ISyncMgrSynchronizeCallback::Progress method

Called by a registered application to update the progress information and determine whether an operation should continue.

Syntax

HRESULT Progress(
  REFGUID                   ItemID,
  const SYNCMGRPROGRESSITEM *pSyncProgressItem
);

Parameters

ItemID

Type: REFGUID

A reference to the item identifier for an item that is being updated.

pSyncProgressItem

Type: const SYNCMGRPROGRESSITEM*

A pointer to a SYNCMGRPROGRESSITEM structure that contains the updated progress information.

Return Value

Type: HRESULT

This method can return one of these values.

Return code Description
S_OK
Continues the synchronization.
S_SYNCMGR_CANCELITEM
Cancels the synchronization on a specified item, as soon as possible.
S_SYNCMGR_CANCELALL
Cancels the synchronization on all items that are associated with this application, as soon as possible.

Remarks

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

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header mobsync.h
DLL Mobsync.dll

See Also

ISyncMgrSynchronizeCallback

SYNCMGRFLAG

SYNCMGRPROGRESSITEM