Note
Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.
Microsoft Speech Platform
SpSetDefaultTokenIdForCategoryId
SpSetDefaultTokenIdForCategoryId sets a specific token ID as the default for the specified category ID.
Found in: sphelper.h
<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>inline HRESULT SpSetDefaultTokenIdForCategoryId(</strong> <strong> const WCHAR</strong> *<em>pszCategoryId</em>, <strong> const WCHAR</strong> *<em>pszTokenId</em> <strong>);</strong> </pre>
Parameters
- pszCategoryId
[in] The null-terminated token ID string. - pszTokenId
[in] The null-terminated token ID that will be set as default token ID for this specific category.
Return Values
Value | Description |
---|---|
S_OK | Function completed successfully. |
FAILED (hr) | Appropriate error message. |