Share via


IComponent::Clone Method

The Clone method creates a copy of the component.

Syntax

HRESULT Clone(
  [out]  IComponent **ppNewComponent
);

Parameters

  • ppNewComponent [out]
    Address of a variable that receives an IComponent interface pointer. The caller must release the interface.

Return Value

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

Requirements

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

See Also

IComponent Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008