Partager via


SPRECOGNIZERSTATUS

This structure contains status information for engine speech recognition.

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

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

See Also

SAPI Structures

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.