Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

Microsoft Speech Platform

IEnumSpObjectTokens::Clone

IEnumSpObjectTokens::Clone creates a new enumerator object with the same items.

Returns a new enumerator object with the same items but an independent index. The items in the clone are not guaranteed to be in the same order as the original enumerator.

<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>HRESULT Clone(</strong><a runat="server" href="jj127584(v=msdn.10).md"><strong>IEnumSpObjectTokens</strong></a> <em>**ppEnum</em> <strong>);</strong> </pre>

Parameters

  • ppEnum
    [out] Address of the IEnumSpObjectTokens pointer variable that receives the interface pointer to the cloned enumerator. Using Clone, it is possible to record a particular point in the enumeration sequence and then return to that point at a later time. The enumerator returned is of the same interface type as the one being cloned.

Return Values

Value Description
S_OK Function completed successfully.
SPERR_UNINITIALIZED Attribute parser interface is not initialized.
FAILED (hr) Appropriate error message.