Share via


SPRECOGNIZERSTATUS

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This structure contains status information for engine speech recognition.

Syntax

typedef [restricted] struct SPRECOGNIZERSTATUS{
  SPAUDIOSTATUS AudioStatus;
  ULONGLONG ullRecognitionStreamPos;
  ULONG ulStreamNumber;
  ULONG ulNumActive;
  CLSID clsidEngine;
  ULONG cLangIDs;
  LANGID aLangID[SP_MAX_LANGIDS];
  DWORD dwReserved1;
  DWORD dwReserved2;
} SPRECOGNIZERSTATUS;

Members

  • AudioStatus
    SPAUDIOSTATUS structure containing current audio device information.
  • ullRecognitionStreamPos
    Stream position, in bytes, up to which the engine has currently recognized. This value can be used to see how the engine is progressing through the audio data.
  • ulStreamNumber
    Stream number. This value is incremented every time SAPI starts or stops recognition on an engine (see SPEI_START_SR_STREAM and SPEI_END_SR_STREAM defined for SPEVENTENUM). Each time this happens the stream position (ullRecognitionStreamPos) is reset to zero. Events fired by the engine have equivalent stream number and position information.
  • ulNumActive
    Number of active rules for the current engine.
  • clsidEngine
    Unique identifier associated with the current engine.
  • cLangIDs
    Number of languages that the current engine supports.
  • aLangID
    Array of identifiers for the languages that the current engine supports.
  • dwReserved1
    Reserved for future expansion.
  • dwReserved2
    Reserved for future expansion.

Requirements

Header sapi.h, sapi.idl
Windows Embedded CE Windows CE .NET 4.1 and later

See Also

Reference

SAPI Structures