ISyncMgrSyncCallback interface
Exposes methods that allow a synchronization process to report progress and events to Sync Center, or to query whether the process has been canceled.
Members
The ISyncMgrSyncCallback interface inherits from the IUnknown interface. ISyncMgrSyncCallback also has these types of members:
Methods
The ISyncMgrSyncCallback interface has these methods.
| Method | Description |
|---|---|
| AddItemToSession |
Adds a specified item to the set of items currently being synchronized. |
| CanContinue |
Determines whether the synchronization has been canceled. |
| CommitItem |
Confirms a specified item as a member of the handler's sync set and confirms that it should be shown in the UI. |
| ProposeItem |
Proposes the addition of a new item to the set of items previously enumerated. |
| QueryForAdditionalItems |
Retrieves an enumerator of the set of items that have a pending request to be synchronized. This is the set of items that will be synchronized once the current synchronization is finished. |
| ReportEvent |
Provides an event to add to the Sync Results folder for an item being synchronized. |
| ReportManualSync |
Reports that a synchronization operation is being performed that was requested manually from outside the Sync Center UI. |
| ReportProgress |
Reports the progress of the synchronization of a single sync item to Sync Center. |
| SetHandlerProgressText |
Sets the content of an information field for the handler while that handler is performing a synchronization. |
Remarks
This interface is passed to ISyncMgrSessionCreator::CreateSession, which in turn is referenced in the call to ISyncMgrHandler::Synchronize.
The handler is expected to call this interface to update the folder's progress UI for each item and to notify Sync Center when it has completed the synchronization of each item.
ISyncMgrSyncCallback is a replacement for ISyncMgrSynchronizeCallback.
Requirements
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
|
IDL |
|