Share via


INNTPTransport::GetHeaders method

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

Retrieves an array of headers from the server. If a GROUP command has not been previously sent this command is not valid. This function will first try to retrieve the specified range of headers using the XOVER command. If the server doesn't support XOVER, then the function tries other methods such as a series of XHDR commands.

Syntax

HRESULT GetHeaders(
  [in] LPRANGE pRange
);

Parameters

pRange [in]

Type: LPRANGE

The range of headers to request. See the documentation for the RANGE structure above to see how to specify a range.

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
E_INVALIDARG
An invalid parameter was passed in
E_OUTOFMEMORY
An 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)