ISyncMgrResolutionHandler::KeepItems method (syncmgr.h)
Keeps the Shell items that are passed in.
Syntax
HRESULT KeepItems(
[in] ISyncMgrConflictResolutionItems *pArray,
[out] SYNCMGR_RESOLUTION_FEEDBACK *pFeedback
);
Parameters
[in] pArray
Type: ISyncMgrConflictResolutionItems*
A pointer to an array ofISyncMgrConflictResolutionItems. The array will contain more than one item if method ISyncMgrResolutionHandler::QueryAbilities returned SYNCMGR_RA_KEEP_MULTIPLE in parameter pdwAbilities.
[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 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 |