Microsoft DirectX 8.1 (C++)

IEnumComponents::Clone

The Clone method creates a new copy of the entire collection.

Syntax

HRESULT Clone(
  IEnumComponents**  ppEnum
);

Parameters

ppEnum

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

Return Values

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

Remarks

The application must release this new collection when done with it.

See Also