Sdílet prostřednictvím


IFeedItemHistory::GetWhen

Gets the when value for the item history.

HRESULT GetWhen(
  DWORD * pdwCcWhen,
  LPWSTR wszWhen);

Parameters

  • pdwCcWhen
    [in, out] Specifies the number of characters in wszWhen. Returns the number of characters required to retrieve the value when wszWhen is too small, or returns the number of characters written.
  • wszWhen
    [in, out, string, size_is(*pdwCcWhen)] Returns the when value for the item history. The when value represents the date and time when the item was changed.

Return Value

  • S_OK.

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

  • E_POINTER.

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

Remarks

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

See Also

Reference

IFeedItemHistory Interface