Microsoft DirectX 8.1 (C++)

IComponent::Clone

The Clone method creates a new copy of the component.

Syntax

HRESULT Clone(
  IComponent**  ppNewComponent
);

Parameters

ppNewComponent

[out] Address of an IComponent interface pointer that will be set to the new component.

Return Values

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

See Also