Microsoft DirectX 9.0

IEnumComponentTypes::Clone

The Clone method creates a new copy of the collection and all its sub-objects.

Syntax

HRESULT Clone(
    IEnumComponentTypes** ppEnum
    );

Parameters

ppEnum

[out] Address of an IEnumComponentTypes interface pointer that will be set to the returned collection 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