Share via


CEnumPins::Skip

 
Microsoft DirectShow 9.0

CEnumPins::Skip

The Skip method skips over a specified number of pins in the enumeration sequence. This method implements the IEnumPins::Skip method.

Syntax

  HRESULT Skip(
    ULONG cPins
);

Parameters

cPins

Number of pins to skip.

Return Value

Returns one of the HRESULT values shown in the following table.

Value Description
S_FALSE Skipped past the end of the sequence.
S_OK Success.
VFW_E_ENUM_OUT_OF_SYNC The filter's state has changed and is now inconsistent with the enumerator.

Requirements

**  Header:** Declared in Amfilter.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also