Note
Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.
Microsoft Speech Platform
ISpDataKey::EnumKeys
ISpDataKey::EnumKeys enumerates the subkeys of the specified token.
<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>HRESULT EnumKeys(</strong> <strong> ULONG</strong> <em>Index</em>, <strong> LPWSTR </strong> **<em>ppszSubKeyName</em> <strong>);</strong> </pre>
Parameters
- Index
[in] Value indicating which token in the enumeration sequence to locate. - ppszSubKeyName
[out] Address of a pointer to a null-terminated string that receives the enumerated key name. This must be freed with CoTaskMemFree() when no longer required.
Return Values
Value | Description |
---|---|
S_OK | Function completed successfully. |
E_INVALIDARG | ppszSubKeyName is invalid or bad. |
SPERR_NOT_FOUND | Registry key not found. |
E_OUTOFMEMORY | Not enough memory to allocate string. |
SPERR_NO_MORE_ITEMS | No items could be accessed. |
FAILED(hr) | Appropriate error message. |