RssGetItemCount Function  
 
INT WINAPI RssGetItemCount(
  HCHANNEL hChannel  
);

The RssGetItemCount function returns the number of items in the news feed channel.

Parameters

hChannel
Handle to the news feed channel.

Return Value

If the function succeeds, the return value is the number of items in the news feed. A value of zero indicates that the feed channel is empty. If the function fails, the return value is RSS_ERROR. To get extended error information, call RssGetLastError.

Remarks

The RssGetItemCount function is used to determine the number of items that are contained in the news feed channel, and therefore determine the maximum value of the item identifier which can be used to reference a specific item in the feed. This value is the same as the value specified by the nItemCount member of the RSSCHANNEL structure.

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

RssFindItem, RssGetItem, RssGetItemProperty, RssGetItemText, RSSCHANNEL