Share via


IFeedItemDataXmlTextRetriever::GetItemDataXmlText

Gets the item data, represented as an XML string, in the FeedSync format.

HRESULT GetItemDataXmlText(
  DWORD * pdwCcItemText,
  LPWSTR wszItemText);

Parameters

  • pdwCcItemText
    [in, out] Specifies the number of characters in wszItemText. Returns either the number of characters that are required to retrieve the ID when wszItemText is too small, or the number of characters written
  • wszItemText
    [in, out, unique, string, size_is(*pdwCcItemText)] Returns the item data that is represented as an XML string in the FeedSync format.

Return Value

  • S_OK

  • E_POINTER

  • HRESULT_FROM_WIN32(ERROR_MORE_DATA) when wszItemText is too small. In this situation, the required number of characters is returned in pdwCcItemText.

  • SYNC_E_INVALID_OPERATION when the size of the data retrieved is greater than INT_MAX.

See Also

Reference

IFeedItemDataXmlTextRetriever Interface