IEnum::Skip

HRESULT IEnum::Skip(celt)

Attempt to skip over the next celt elements in the enumeration sequence. Return S_OK if this was accomplished, or S_FALSE if the end of the sequence was reached first.

Argument

Type

Description

celt

ULONG

The number of elements that are to be skipped.


Return Value

Meaning

S_OK

Success. The requested number of elements were skipped.

S_FALSE

Success. Some skipping was done, but the end of the sequence was hit before the requested number of elements could be skipped.

E_UNEXPECTED

An unknown error occurred.