Share via


INNTPTransport::CommandSTAT method

[INNTPTransport::CommandSTAT is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

Issues a STAT command to the server. If an article is specified, then this command has the effect of moving the current article pointer to the specified message and returning the article number and message ID of the new current article. Otherwise, the function returns the article number and message ID of the current article.

Syntax

HRESULT CommandSTAT(
  [in] LPARTICLEID pArticleId
);

Parameters

pArticleId [in]

Type: LPARTICLEID

Article number or message ID of the article to retrieve status for. If a message ID is specified, the current article pointer will NOT be updated.

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
E_INVALIDARG
pArticleId is not valid
E_OUTOFMEMORY
An memory allocation failed
IXP_E_NOT_INIT
IXP_E_NOT_CONNECTED
IXP_E_BUSY

Requirements

Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Product
Outlook Express 6.0
Header
Imnxport.h
IDL
Imnxport.idl
DLL
Inetcomm.dll (version 6.0 or later)