| |
| INT WINAPI NntpGetArticleMessageIdEx( |
| |
HCLIENT hClient, |
|
| |
ULONGLONG nArticleId, |
|
| |
LPTSTR lpszMessageId, |
|
| |
INT cbMessageId |
|
| ); |
The NntpGetArticleMessageIdEx function returns the message
identifier for the specified article in the current newsgroup.
Parameters
- hClient
- Handle to the client session.
- nArticleId
- Article number to retrieve the message identifier for. The
value may be zero, in which case the current article number is
used.
- lpszMessageId
- Pointer to a string buffer which will contain
the message identifier for the specified article.
- cbMessageId
- Maximum number of characters that may be copied into the
buffer, including the terminating null character.
Return Value
If the function succeeds, the return value is the length of the
message identifier string. If the function fails, the return value is
NNTP_ERROR. To get extended error information, call
NntpGetLastError.
Remarks
The message identifier is a string which can uniquely identify the
message on the news server. This value may be used to retrieve the
contents of the article. This function provides support
for servers which use 64-bit article IDs.
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: csnwsv12.lib
Unicode: Implemented as Unicode and ANSI versions
See Also
|
|