IRangeList::AddSingleValue method

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

Adds a single value to the message range list.

Syntax

HRESULT AddSingleValue(
  [in] const ULONG value
);

Parameters

value [in]

Type: const ULONG

Specifies the single value to add to the range list.

Value Meaning
RL_LAST_MESSAGE
((ULONG)-1)
Equivalent to "*" in an IMAP range list.

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
S_OK
Indicates success.
E_OUTOFMEMORY
Indicates that an attempt to allocate memory failed.

Remarks

For example, AddSingleValue(69) adds 69 to the range list.

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)