Share via


ISyncMergeTombstoneChange::GetWinnerItemId

Gets the item ID that is used to identify the merged item in the synchronization community.

Syntax

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.

  • 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

ISyncMergeTombstoneChange Interface