IConflictLogAccess::GetItemConflicts

Gets a list that contains either all of the conflicts in the log, or only the conflicts that are identified by the specified list of requested items.

HRESULT GetItemConflicts(
  IEnumSyncChanges * pRequestedItems,
  IEnumLoggedConflicts ** ppEnum);

Parameters

  • pRequestedItems
    [in] Each conflict in the returned list of conflicts is identified by one of the items specified in this list.
  • ppEnum
    [out, retval] Returns a list that contains either all of the conflicts in the log, or only the conflicts that are identified by the specified list of requested items.

Return Value

  • S_OK

  • User-determined error codes

Remarks

The Sync Framework implementation of this method that is provided by the IMemoryConflictLog object returns a list that contains conflicts from both the in-memory conflict log and the conflict log of the provider, when an IConflictLogAccess object was specified in the call to Initialize. To accomplish this, the in-memory conflict log calls the GetItemConflicts method of the conflict log of the provider.

Notes for Implementers

The implementation of this method may simply return all of the conflicts in the log, and ignore the list of requested items specified by pRequestedItems.

If the implementation uses pRequestedItems to determine its output, it must return all conflicts in the log that are identified by an item ID or change unit ID listed in pRequestedItems.

See Also

Reference

IConflictLogAccess Interface