Share via


Note

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

Microsoft Speech Platform

ISpRecognizer::GetRecognizer

ISpRecognizer::GetRecognizer retrieves the current recognizer token being used with this ISpRecognizer instance.

<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>HRESULT GetRecognizer(</strong><a runat="server" href="jj127672(v=msdn.10).md"><strong>ISpObjectToken</strong></a> **<em>ppEngineToken</em> <strong>);</strong> </pre>

Parameters

  • ppEngineToken
    [out] The object token representing the current speech recognizer.

Return Values

Value Description
S_OK Function completed successfully.
E_POINTER ppEngineToken is not valid or bad.
FAILED(hr) Appropriate error message.