Share via


IFeedItemHistory::GetBy

Gets the by value for the item history

HRESULT GetBy(
  DWORD * pdwCcBy,
  LPWSTR wszBy);

Parameters

  • pdwCcBy
    [in, out] Specifies the number of characters in wszBy. Returns the number of characters required to retrieve the value when wszBy is too small, or returns the number of characters written.
  • wszBy
    [in, out, string, size_is(*pdwCcBy)] Returns the by value for the item history. The by value identifies the replica that made the change to this item.

Return Value

  • S_OK

  • S_FALSE if the item history does not contain a by value.

  • E_POINTER

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

Remarks

Sync Services for FeedSync does not interpret or validate this value in any way.

See Also

Reference

IFeedItemHistory Interface