IItemEnumerator::MoveNext method (wcmconfig.h)

Moves the current position to the next item in the enumerator if available.

Syntax

HRESULT MoveNext(
  [out] BOOL *ItemValid
);

Parameters

[out] ItemValid

Returns True if a valid item is found in the position after the move.

Return value

This method returns an HRESULT value.

Return code Description
S_OK
Indicates success.

Remarks

Note  This method always returns S_OK on success, regardless of the state of the enumeration. If there are no more items, ItemValid is set to False, and this is how to determine if the end of the enumeration has been reached.
 

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header wcmconfig.h
DLL SMIEngine.dll

See also

IItemEnumerator