Share via


SPRECORESULTINFO (Windows CE 5.0)

Send Feedback

This structure contains the result passed from the SR engine to SAPI.

typedef struct SPRECORESULTINFO{  ULONGcbSize;  SPRESULTTYPEResultType;  BOOLfHypothesis;  BOOLfProprietaryAutoPause;  ULONGLONGullStreamPosStart;  ULONGLONGullStreamPosEnd;  SPGRAMMARHANDLEhGrammar;  ULONGulSizeEngineData;  void* pvEngineData;  ISpPhraseBuilder* pPhrase;} SPRECORESULTINFO;

Members

  • cbSize
    Total size, in bytes, of the structure.
  • ResultType
    Type of result, for example, CFG. Possible values are defined for the SPRESULTTYPE enumeration.
  • fHypothesis
    Value indicating if the recognition is an hypothesis. The value is set to TRUE to indicate hypothesis, and to FALSE otherwise.
  • fProprietaryAutoPause
    Value indicating if the recognition uses the auto-pause feature. The value is set to TRUE to use auto-pause, and to FALSE otherwise. This member is only used for proprietary grammars.
  • ullStreamPosStart
    Starting position of the result within the input stream.
  • ullStreamPosEnd
    Ending position of the result within the input stream.
  • hGrammar
    Handle to the grammar, or NULL. A non-null value is required for SLM and proprietary grammars.
  • ulSizeEngineData
    Size, in bytes, of the data specified by pvEngineData.
  • pvEngineData
    Pointer to the engine data.
  • pPhrase
    Pointer to an object implementing ISpPhraseBuilder to represent the phrase.

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.