ISyncMgrConflictResolveInfo::GetItemChoice method (syncmgr.h)

Gets the index of an item that the user wants to keep.

Syntax

HRESULT GetItemChoice(
  [in]  UINT iChoice,
  [out] UINT *piChoiceIndex
);

Parameters

[in] iChoice

Type: UINT

The item that the user wants to keep.

[out] piChoiceIndex

Type: UINT*

The index into the conflict's item array. This value is passed to the resolver for subsequent conflicts in the same conflict set if the user chooses to apply the same operation to all selected conflicts of the same type from the same handler.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

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

See also

ISyncMgrConflictResolveInfo

ISyncMgrConflictResolveInfo::SetItemChoices