共用方式為


IComponentTypes::Clone

 
Microsoft DirectShow 9.0

IComponentTypes::Clone

The Clone method creates a new copy of the collection.

Syntax

  HRESULT Clone(
  IComponentTypes**  ppNewList
);

Parameters

ppNewList

[out] Address of an IComponentTypes interface pointer that will be set to the new ComponentTypes object.

Return Values

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

Requirements

Header: Dshow.h.

Library: Quartz.dll.

See Also