Note
Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.
Microsoft Speech Platform
ISpRecoContext::GetRecognizer
ISpRecoContext::GetRecognizer returns a reference to the current recognizer object associated with this context.
<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>HRESULT GetRecognizer(</strong><a runat="server" href="jj127740(v=msdn.10).md"><strong>ISpRecognizer</strong></a> **<em>ppRecognizer</em> <strong>);</strong> </pre>
Parameters
- ppRecognizer
[out] Address of a pointer that receives the ISpRecognizer interface. The application must call IUnknown::Release when finished with the interface.
Return Values
Value | Description |
---|---|
S_OK | Function completed successfully. |
E_POINTER | Invalid pointer. |
FAILED (hr) | Appropriate error message. |