Microsoft DirectX 9.0

IComponents::Clone

The Clone method creates a new copy of the collection.

Syntax

HRESULT Clone(
  IComponents**  ppNewList
);

Parameters

ppNewList

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

Return Values

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

See Also