CEnumMediaTypes::Clone
Microsoft DirectShow 9.0 |
CEnumMediaTypes::Clone
The Clone method makes a copy of the enumerator with the same enumeration state. This method implements the IEnumMediaTypes::Clone method.
Syntax
HRESULT Clone( IEnumMediaTypes **ppEnum );
Parameters
ppEnum
Address of a variable that receives a pointer to the IEnumMediaTypes 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 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