Share via


SPRECOGNIZERSTATUS (Windows CE 5.0)

Send Feedback

This structure contains status information for engine speech recognition.

typedef [restricted] struct SPRECOGNIZERSTATUS{  SPAUDIOSTATUSAudioStatus;  ULONGLONGullRecognitionStreamPos;  ULONGulStreamNumber;  ULONGulNumActive;  CLSIDclsidEngine;  ULONGcLangIDs;  LANGIDaLangID[SP_MAX_LANGIDS];  DWORDdwReserved1;  DWORDdwReserved2;} 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

OS Versions: Windows CE .NET 4.1 and later.
Header: Sapi.h, Sapi.idl.

See Also

SAPI Structures

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.