IEnumFilters::Clone

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

HRESULT Clone(
  IEnumFilters** ppEnum
);

Parameters

  • ppEnum
    [out] Duplicate of the enumerator.

Return Values

None.

Remarks

This method produces two enumerators (the original and the duplicate); both are set at the same filter. After they are created, however, they are independent; therefore, calling the IEnumFilters::Next method for one does not affect the other.

Requirements

DirectShow applications and DirectShow filters have different include file and link library requirements. See Setting Up the Build Environment for more information.

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header:

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.