Sdílet prostřednictvím


IFeedSharingInformation::GetExpires

Gets the expires value for the FeedSync sharing information.

HRESULT GetExpires(
  DWORD * pdwCcExpires,
  LPWSTR wszExpires);

Parameters

  • pdwCcExpires
    [in, out] Specifies the number of characters in wszExpires. Returns the number of characters required to retrieve the value if wszExpires is too small, or returns the number of characters written.
  • wszExpires
    [in, out, string, size_is(*pdwCcSince)] Returns the expires value for the FeedSync sharing information.

Return Value

  • S_OK

  • S_FALSE if the item history does not contain an expires value.

  • E_POINTER

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

Remarks

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

The expires value represents the expiration date and time that are suggested by the feed publisher. To avoid missing item updates, subscribers must read the feed before it expires.

See Also

Reference

IFeedSharingInformation Interface