This structure is used by the GetFirstArticle and
GetNextArticle methods to return information about
news articles.
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 Coordinated Time (UTC).
Remarks
If the server uses 64-bit article IDs your application should use the
NEWSARTICLEEX 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: csnwsv11.lib
Unicode: Implemented as Unicode and ANSI versions
See Also
GetFirstArticle,
GetNextArticle,
ListArticles,
NEWSARTICLEEX,
NEWSGROUPEX
|