ISpRecognizer::GetStatus (SAPI 5.4)

Microsoft Speech API 5.4

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
S_OK
E_POINTER

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.