Microsoft DirectX 8.1 (C++)

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.

See Also