BOOL GetCurrentArticle( |
|
LONG * lpnArticleId |
|
); |
BOOL GetCurrentArticle( |
|
ULONGLONG * lpnArticleId |
|
); |
The GetCurrentArticle method returns the current article
number for the currently selected newsgroup.
Parameters
- lpnArticleId
- Pointer to an integer variable that will contain the current
article number when the method returns.
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
If the server can potentially return very large ID values, it is
recommended your application use ULONGLONGs (64-bit unsigned integers)
instead of LONGs (32-bit signed integers) to store article numbers.
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
See Also
OpenArticle,
GetArticleRange,
GetFirstArticle,
GetNextArticle,
ListArticles
|