Microsoft DirectX 9.0

IComponent::Clone

The Clone method creates a copy of the component.

Syntax

HRESULT Clone(
  IComponent**  ppNewComponent
);

Parameters

ppNewComponent

[out] Address of a variable that receives an IComponent interface pointer. The caller must release the 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