CEnumPins::Clone

 
Microsoft DirectShow 9.0

CEnumPins::Clone

The Clone method makes a copy of the enumerator with the same enumeration state. This method implements the IEnumPins::Clone method.

Syntax

  HRESULT Clone(
    IEnumPins **ppEnum
);

Parameters

ppEnum

Address of a variable that receives a pointer to the IEnumPins interface of the new enumerator.

Return Value

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

Value Description
S_OK Success.
E_OUTOFMEMORY Insufficient memory.
E_POINTER NULL pointer argument.
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