IContactCollection::Next method (icontact.h)

Moves to the next contact.

Syntax

HRESULT Next();

Return value

Type: HRESULT

Returns one of the following values:

Return code Description
S_OK
Move is successful.
S_FALSE
Could not move, positioned at the end of the collection.

Remarks

After S_FALSE is returned, calls to GetCurrent will fail.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header icontact.h
DLL Wab32.dll (Version 6.0 or later)