ISpRecognizer::GetStatus (SAPI 5.4)
ISpRecognizer::GetStatus retrieves current status information for the engine.
HRESULT GetStatus( SPRECOGNIZERSTATUS *pStatus );
- [out] The current status of the engine.
|S_OK||Function completed successfully.|
|E_POINTER||pStatus is invalid or bad.|
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.