IFeedItemHistory::GetBy

Gets the by value for the item history


HRESULT GetBy(
  DWORD * pdwCcBy,
  LPWSTR wszBy);

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.

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

Sync Framework does not interpret or validate this value in any way.

Show: