INNTPTransport::CommandMODE method

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

Issues a MODE command to the server.pszMode is a required argument, an example of which are "MODE READER" to tell the server that the connection is for a user instead of another server. Refer to RFC977 for more details.

Syntax

HRESULT CommandMODE(
  [in] LPSTR pszMode
);

Parameters

pszMode [in]

Type: LPSTR

Required argument to the MODE command.

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
E_INVALIDARG
An invalid parameter was passed in
E_OUTOFMEMORY
A memory allocation failed

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)