Share via


Note

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

Microsoft Speech Platform

ISpRecognizer::GetStatus

ISpRecognizer::GetStatus retrieves current status information for the speech recognition (SR) engine.

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

Parameters

  • pStatus
    [out] The current status of the engine.

Return Values

Value Description
S_OK Function completed successfully.
E_POINTER pStatus is invalid or bad.

Remarks

This method provides static information about the SR engine such as the languages it supports. It also provides dynamic information such as current stream position the engine has recognized up to, and if the stream is actively being sent to the engine.

See SPRECOGNIZERSTATUS for further explanation of the status information that can be retrieved.