IInternetTransport::GetServerInfo method

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

Gets the server information for the transport.

Syntax

HRESULT GetServerInfo(
  [in, out] LPINETSERVER pInetServer
);

Parameters

pInetServer [in, out]

Type: LPINETSERVER

Receives a pointer to the INETSERVER structure that contains the current server information for the transport.

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
S_OK
Indicates success.
E_INVALIDARG
Indicates that pInetServer is NULL.

Remarks

The data in the INETSERVER structure is valid only after IInternetTransport::Connect is called.

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)