The CloseFeed method closes the specified news feed and
releases memory allocated for the channel.
Parameters
None.
Return Value
If the method succeeds, the return value is non-zero. If the
method fails, the return value is zero. To get extended error
information, call GetLastError.
Remarks
The CloseFeed method 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 method can fail if the feed is currently being updated, such
as when the RefreshFeed method 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: cstools12.h
Import Library: csrssv12.lib
See Also
|