ISyncMgrConflictStore interface (syncmgr.h)

Exposes methods that allow a handler to provide conflicts that appear in the Conflicts folder.

Inheritance

The ISyncMgrConflictStore interface inherits from the IUnknown interface. ISyncMgrConflictStore also has these types of members:

Methods

The ISyncMgrConflictStore interface has these methods.

 
ISyncMgrConflictStore::BindToConflict

Binds to a particular conflict specified by IID.
ISyncMgrConflictStore::EnumConflicts

Enumerates conflicts scoped to the provided sync handler and sync item.
ISyncMgrConflictStore::GetCount

Gets the number of conflicts in the store.
ISyncMgrConflictStore::RemoveConflicts

Deletes a set of conflicts, specified by conflict ID, from the store.

Remarks

Conflict is provided to enable the user to select a version of a IShellItem as needed, instead of being forced to pick to complete a sync selection set. The fact that we current display them in the conflict folder is purely secondary.

The conflict store must notify sync center when its contents change. Nothing is assumed to happen to conflicts when methods are called that affect the conflict. This includes when they are resolved.

Sync Center requests a conflict store from a handler by calling ISyncMgrHandler::GetObject with SYNCMGR_OBJECTID_ConflictStore if the mask returned from ISyncMgrHandler::GetCapabilities includes SYNCMGR_HCM_CONFLICT_STORE. The handler can also provide an event store filtered by item by setting the SYNCMGR_ICM_CONFLICT_STORE flag in the mask returned from ISyncMgrSyncItem::GetCapabilities.

If conflicts are added to the conflict store, the handler (or a related component) should call ISyncMgrControl::UpdateConflicts so that both the Conflicts folder and conflict counts can be updated.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header syncmgr.h