NntpGetArticleSizeEx Function  
 
DWORD WINAPI NntpGetArticleSizeEx(
  HCLIENT hClient,  
  ULONGLONG nArticleId  
);

The NntpGetArticleSize function returns the size of the specified article.

Parameters

hClient
Handle to the client session.
nArticleId
An unsigned 64-bit integer value that identifies the article. The value may be zero, in which case the current article number is used.

Return Value

If the function succeeds, the return value is the size of the article in bytes. If the function fails, the return value is NNTP_ERROR. To get extended error information, call NntpGetLastError.

Remarks

The NntpGetArticleSizeEx function sends the XOVER command to the server to request the size of the specified 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

See Also