Note
Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.
Microsoft Speech Platform
ISpObjectToken::GetCategory
ISpObjectToken::GetCategory retrieves the category for a specified token if one is available.
<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>HRESULT GetCategory(</strong><a runat="server" href="jj127673(v=msdn.10).md"><strong>ISpObjectTokenCategory</strong></a> **<em>ppTokenCategory</em> <strong>);</strong> </pre>
Parameters
- ppTokenCategory
[out] The category interface for the token. ppTokenCategory must be freed when no longer required.
Return Values
Value | Description |
---|---|
S_OK | Function completed successfully. |
E_POINTER | ppTokenCategory is invalid or bad. |
SPERR_UNINITIALIZED | Token does not have a category. |
FAILED(hr) | Appropriate error message. |