IFeedItemConverter::ConvertItemDataToXml
When implemented by a derived class, converts items from the provider format to an XML node in the FeedSync format.
HRESULT ConvertItemDataToXml(
IUnknown *pItemData,
IFeedItemConverterCallback *pCallback);
Parameters
- pItemData
[in] The item data in the provider format.
- pCallback
[in] The IFeedItemConverterCallback::ConvertItemDataToXmlComplete method of this object is called to return the converted item data.
Return Value
S_OK.
E_NOTIMPL to cause Sync Framework to call IFeedItemConverter::ConvertItemDataToXml.
User-defined error codes.
Notes for Implementers
To convert item data from the provider format to the FeedSync format, Sync Framework first calls ConvertItemDataToXml. If ConvertItemDataToXml returns E_NOTIMPL, Sync Framework will call ConvertItemDataToXmlText to convert the item data. Only one of these methods has to be implemented.