IRangeList::RangeToIMAPString method

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

Returns the message range list as an Internet Message Access Protocol (IMAP) message set string for use with IMAP commands.

Syntax

HRESULT RangeToIMAPString(
  [out] LPSTR   *ppszDestination,
  [out] LPDWORD pdwLengthOfDestination
);

Parameters

ppszDestination [out]

Type: LPSTR*

Receives a pointer to an LPSTR that contains the IMAP message set string. The client is responsible for freeing this buffer by calling CoTaskMemFree.

pdwLengthOfDestination [out]

Type: LPDWORD

Receives an LPDWORD that contains the length of the IMAP message set string (excluding the terminating null character).

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

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)