IEnumComponents::Clone Method

The Clone method creates a new copy of the entire collection.

Syntax

HRESULT Clone(
  [out]  IEnumComponents **ppEnum
);

Parameters

  • ppEnum [out]
    Address of an IEnumComponents interface pointer that will be set to the new collection.

Return Value

Returns S_OK if successful. If the method fails, error information can be retrieved using the standard COM IErrorInfo interface.

Remarks

The application must release this new collection when done with it.

Requirements

Header Declared in Dshow.h.
DLL Requires Quartz.dll.

See Also

IEnumComponents Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008