IEnumFilters::Clone
Microsoft DirectShow 9.0 |
IEnumFilters::Clone
The Clone method makes a copy of the enumerator object. The returned object starts with the same enumeration state as the original.
Syntax
HRESULT Clone( IEnumFilters **ppEnum );
Parameters
ppEnum
[out] Receives a pointer to the IEnumFilters interface of the new enumerator. The caller must release the interface.
Return Values
Returns one of the following HRESULTs.
Value | Description |
S_OK | Success. |
E_OUTOFMEMORY | Insufficient memory. |
E_POINTER | NULL pointer argument. |
Requirements
Header: Declared in Strmif.h; include Dshow.h.
Library: Use Strmiids.lib.
See Also