Microsoft DirectX 9.0

IComponentType::Clone

The Clone method creates a new copy of this component type.

Syntax

HRESULT Clone(
  IComponentType**  ppNewCT
);

Parameters

ppNewCT

[out] Address of the IComponentType interface pointer that will be set to the returned interface.

Return Values

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

See Also