INT WINAPI RssCloseFeed( |
|
HCHANNEL hChannel |
|
); |
The RssCloseFeed function closes the specified news feed
and releases memory allocated for the channel.
Parameters
- hChannel
- Handle to the news feed channel.
Return Value
If the function succeeds, the return value is zero. If the
function fails, the return value is RSS_ERROR. To get extended error
information, call RssGetLastError.
Remarks
The RssCloseFeed function must be called whenever the
application has completed processing the news feed. It is important
to note that the memory allocated for the channel will be released
when this function is called, which means that any data referenced in
the RSSCHANNEL and RSSCHANNELITEM structures will no longer be valid
and must not be used by the application after the feed has been
closed.
This function can fail if the feed is currently being updated,
such as when the RssRefreshFeed function is called. In this
case, the channel handle will not be released and the application
must attempt to close the feed at a later time.
Requirements
Minimum Desktop Platform: Windows 7 Service Pack 1
Minimum Server Platform: Windows Server 2008 R2 Service Pack 1
Header File: cstools11.h
Import Library: csrssv11.lib
See Also
RssOpenFeed
RssParseFeed
RssStoreFeed
|