IRangeList::Max method
[IRangeList::Max is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]
Returns the maximum value in the message range list.
Syntax
HRESULT Max(
[out] ULONG *pulMax
);
Parameters
-
pulMax [out]
-
Type: ULONG*
Receives a pointer to a ULONG that contains the maximum value in the range list.
Value Meaning - RL_RANGE_ERROR
- ((ULONG)-1)
Indicates that the range list is empty.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
For example, for the range list "10 20,31,44,50 65", Max() returns 65.
Requirements
Minimum supported client |
Windows XP [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Product |
Outlook Express 6.0 |
Header |
|
IDL |
|
DLL |
|