Share via


Note

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

Microsoft Speech Platform

SpSetDefaultTokenForCategoryId

SpSetDefaultTokenForCategoryId sets the default token for the specified category ID.

Found in: sphelper.h

<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>inline HRESULT SpSetDefaultTokenForCategoryId(</strong> <strong> const WCHAR</strong> *<em>pszCategoryId</em>, <strong> <a runat="server" href="jj127672(v=msdn.10).md">ISpObjectToken</a></strong> *<em>pToken</em> <strong>);</strong> </pre>

Parameters

  • pszCategoryId
    [in] The null-terminated string for the category ID.
  • pToken
    [in] The token to be set as the default for the category ID.

Return Values

Value Description
S_OK Function completed successfully.
FAILED (hr) Appropriate error message.