IFaxIncomingMessageIterator::MoveNext method (faxcomex.h)

The MoveNext method moves the archive cursor to the next message in the archive of inbound faxes.

Syntax

HRESULT MoveNext();

Return value

Type: HRESULT

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

Remarks

You can make the iteration process more efficient by using a prefetch buffer. A prefetch buffer contains messages and allows you to iterate through the buffer rather than through a folder. Set the size of the buffer (the number of messages to be held in the buffer) using the PrefetchSize property.

To use this method, a user must have the farQUERY_IN_ARCHIVE access right.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header faxcomex.h
DLL Fxscomex.dll

See also

FaxIncomingMessageIterator

IFaxIncomingMessageIterator

Visual Basic Example