Note

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

Microsoft Speech Platform

SpGetDefaultTokenIdFromCategoryId

SpGetDefaultTokenIdFromCategoryId gets the default token ID for the specified category.

Found in: sphelper.h

<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>inline HRESULT SpGetDefaultTokenIdFromCategoryId(</strong> <strong> const WCHAR</strong> *<em>pszCategoryId</em>, <strong> WCHAR</strong> **<em>ppszTokenId</em> <strong>);</strong> </pre>

Parameters

  • pszCategoryId
    [in] The null-terminated string indicating the category ID.
  • ppszTokenId
    [out] The null-terminated string ID of the owning default token.

Return Values

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