Partager via


IEnumFilters::Clone (Compact 2013)

3/26/2014

This method retrieves a duplicate enumerator containing the same enumeration state as the current one.

Syntax

HRESULT Clone(
  IEnumFilters** ppEnum
);

Parameters

  • ppEnum
    [out] Duplicate of the enumerator.

Return Value

None.

Remarks

This method produces two enumerators (the original and the duplicate); both are set at the same filter.

However, after they are created they are independent. Therefore, calling the IEnumFilters::Next method for one does not affect the other.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IEnumFilters Interface