ISyncMgrConflictResolveInfo::GetItemChoice method

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

Syntax


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

Parameters

iChoice [in]

Type: UINT

The item that the user wants to keep.

piChoiceindex [out]

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Syncmgr.h

IDL

Syncmgr.idl

See also

ISyncMgrConflictResolveInfo
ISyncMgrConflictResolveInfo::SetItemChoices

 

 

Show: