Share via


CEnumMediaTypes::Skip

 
Microsoft DirectShow 9.0

CEnumMediaTypes::Skip

The Skip method skips over a specified number of media types. This method implements the IEnumMediaTypes::Skip method.

Syntax

  HRESULT Skip(
    ULONG cMediaTypes
);

Parameters

cMediaTypes

Number of media types 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 pin'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