IEnumEventObject::Skip method (eventsys.h)

Skips over the specified number of items in the enumeration sequence.

Syntax

HRESULT Skip(
  [in] ULONG cSkipElem
);

Parameters

[in] cSkipElem

The number of elements to be skipped.

Return value

This method can return the following values.

Return code Description
S_OK
The requested number of elements was skipped.
S_FALSE
The number of elements skipped was not the same as the number requested.

Remarks

Skip may return S_FALSE if cSkipElem is greater than the remaining number of elements. In this case, Skip moves to the last element in the enumeration sequence.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header eventsys.h

See also

IEnumEventObject