ISpRecognizer::GetStatus

Microsoft Speech SDK

The Microsoft.com Speech website Microsoft Speech SDK SAPI 5.1

ISpRecognizer::GetStatus

ISpRecognizer::GetStatus retrieves current status information for the engine.

HRESULT GetStatus(
   SPRECOGNIZERSTATUS   *pStatus
);

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.