ISyncMgrResolutionHandler::KeepItems method

Keeps the Shell items that are passed in.

Syntax


HRESULT KeepItems(
  [in]   ISyncMgrConflictResolutionItems *pArray,
  [out]  SYNCMGR_RESOLUTION_FEEDBACK *pFeedback
);

Parameters

pArray [in]

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.

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.