ISyncMgrResolutionHandler::KeepOther method (syncmgr.h)
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
[in] psiOther
Type: IShellItem*
A pointer to the substitute IShellItem.
[out] pFeedback
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
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 |