Udostępnij za pośrednictwem


ILoggedConflict::GetWinnerItemId

Gets the item ID that is used to identify the merged item in the synchronization community, when this conflict is on a merge tombstone.

HRESULT GetWinnerItemId(
  BYTE * pbWinnerItemId,
  DWORD * pcbIdSize);

Parameters

  • pbWinnerItemId
    [in, out, unique, size_is(*pcbIdSize)] Returns the item ID that is used to identify the merged item in the synchronization community.
  • pcbIdSize
    [in, out] Specifies the number of bytes in pbWinnerItemId. Returns the number of bytes required to retrieve the ID when pbWinnerItemId is too small, or returns the number of bytes written.

Return Value

  • S_OK.

  • S_FALSE when this conflict is not on a merge tombstone.

  • E_POINTER.

  • HRESULT_FROM_WIN32(ERROR_MORE_DATA) when pbWinnerItemId is too small. In this case, the required number of bytes is returned in pcbIdSize.

See Also

Reference

ILoggedConflict Interface