ISyncMgrResolutionHandler::KeepOther method

Replaces the versions in conflict with a different Shell item that is usually a merged version of the originals.

Syntax


HRESULT KeepOther(
  [in]  IShellItem                  *psiOther,
  [out] SYNCMGR_RESOLUTION_FEEDBACK *pFeedback
);

Parameters

psiOther [in]

Type: IShellItem*

A pointer to the substitute IShellItem.

pFeedback [out]

Type: SYNCMGR_RESOLUTION_FEEDBACK*

When this method returns, contains a SYNCMGR_RESOLUTION_FEEDBACK value.

Return value

Type: HRESULT

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

Remarks

The specified Shell item that replaces the Shell item(s) in conflict may not have been one of those originally in conflict. It may be a merged copy, or a replacement copy.

The SYNCMGR_RESOLUTION_FEEDBACK value returned in pFeedback determines how the next conflict is resolved. If this method fails, an error message is displayed and the user is asked how to proceed.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Syncmgr.h

IDL

Syncmgr.idl

 

 

Show: