ISyncMgrSynchronizeCallback::Progress method (mobsync.h)

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

Syntax

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

Parameters

[in] ItemID

Type: REFGUID

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

[in] 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

Requirement Value
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