Επεξεργασία

Κοινή χρήση μέσω


ISyncMgrConflictResolveInfo::GetPresenterChoice method (syncmgr.h)

Gets what kind of choice was made and whether to apply the choice to all subsequent conflicts in the set.

Syntax

HRESULT GetPresenterChoice(
  [out] SYNCMGR_PRESENTER_CHOICE *pnPresenterChoice,
  [out] BOOL                     *pfApplyToAll
);

Parameters

[out] pnPresenterChoice

Type: SYNCMGR_PRESENTER_CHOICE*

When this method returns, contains a pointer to the choice that was made about the conflict resolution. One of the members of the SYNCMGR_PRESENTER_CHOICE enumeration.

[out] pfApplyToAll

Type: BOOL*

When this method returns, contains a pointer to a flag. If TRUE, then the given choice is to be applied to all subsequent conflicts in the set, and ISyncMgrConflictResolveInfo::GetItemChoice and ISyncMgrConflictResolveInfo::GetItemChoiceCount have information on how to apply this choice. Otherwise FALSE.

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