ISyncMgrConflictResolveInfo::SetItemChoices method (syncmgr.h)

Sets the array of indexes that represents which items the user wants to keep. This method is used when the user chooses to apply the same operation to all selected conflicts of the same type from the same handler.

Syntax

HRESULT SetItemChoices(
  [in] UINT *prgiConflictItemIndexes,
  [in] UINT cChoices
);

Parameters

[in] prgiConflictItemIndexes

Type: UINT*

The array of indexes of items that the user wants to keep.

[in] cChoices

Type: UINT

The number of item choices in prgiConflictItemIndexes.

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::GetItemChoice