NEWSARTICLE Structure  
 

This structure is used by the GetFirstArticle and GetNextArticle methods to return information about articles in the currently selected directory.

typedef struct _NEWSARTICLE
{
    LONG        nArticleId;
    LONG        nBytes;
    LONG        nLines;
    TCHAR       szSubject[NNTP_MAXSUBJLEN];
    TCHAR       szAuthor[NNTP_MAXAUTHLEN];
    TCHAR       szMessageId[NNTP_MAXMSGIDLEN];
    TCHAR       szReferences[NNTP_MAXREFLEN];
    SYSTEMTIME  stPosted;
} NEWSARTICLE, *LPNEWSARTICLE;

Members

nArticleId
A long integer which specifies the article number.
nBytes
The length of the news article in bytes.
nLines
The length of the news article specified as the number of lines of text.
szSubject
A pointer to a string which specifies the subject of the article.
szAuthor
A pointer to a string which specifies the email address of the user who posted the article.
szMessageId
A pointer to a string which specifies the message ID for the article.
szReferences
A pointer to a string which specifies references to the article.
stPosted
A SYSTEMTIME structure which specifies when the article was posted in Universal Coodinated Time (UTC).

Requirements

Minimum Desktop Platform: Windows 7 (Service Pack 1)
Minimum Server Platform: Windows Server 2008 R2 (Service Pack 1)
Header File: cstools10.h
Import Library: csnwsv10.lib
Unicode: Implemented as Unicode and ANSI versions.