Export (0) Print
Expand All

IEnumSpObjectTokens::Clone (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

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.

HRESULT Clone(
   IEnumSpObjectTokens   **ppEnum
);

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

ValueDescription
S_OKFunction completed successfully.
SPERR_UNINITIALIZEDAttribute parser interface is not initialized.
FAILED (hr)Appropriate error message.
Show:
© 2014 Microsoft