IXFeedItem::Guid Method
Retrieves the guid from the feed item.
Syntax
HRESULT Guid( LPWSTR *ppszGuid );
Parameters
- ppszGuid
[out] Pointer to a string that receives the guid element of the feed item.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
Guid is an optional feed item element. The property value is NULL if not specified in the source.
The GUID string uniquely identifies the feed item; however, the syntax of the string is left up to the author of the feed. If the guid element has an attribute named "isPermaLink" with a value of true, the string is assumed to be a valid URL to the item. The Windows RSS Platform copies the permalink value to the IFeedItem::Link property of the FeedItem object when the feed is normalized, if IFeedItem::Link is not otherwise defined.
The user is responsible for freeing the memory with CoTaskMemFree.
See Also