Compartilhar via


SPPHRASE (Windows CE 5.0)

Send Feedback

This structure contains information about a phrase.

typedef [restricted] struct SPPHRASE{  ULONGcbSize;  LANGIDLangID;  WORDwReserved;  ULONGLONGullGrammarID;  ULONGLONGftStartTime;  ULONGLONGullAudioStreamPosition;  ULONGulAudioSizeBytes;  ULONGulRetainedSizeBytes;  ULONGulAudioSizeTime;  SPPHRASERULERule;  constSPPHRASEPROPERTY*pProperties;  constSPPHRASEELEMENT* pElements;  ULONGcReplacements;  constSPPHRASEREPLACEMENT* pReplacements;  GUIDSREngineID;  ULONGulSREnginePrivateDataSize;  constBYTE* pSREnginePrivateData;} SPPHRASE;

Members

  • cbSize
    Size, in bytes, of this structure.
  • LangID
    Language identifier for the phrase elements.
  • wReserved
    Reserved for future use.
  • ullGrammarID
    ID of the grammar that contains the top-level rule used to recognize the phrase.
  • ftStartTime
    Absolute time for start of phrase audio. This is a 64-bit value representing the number of 100-nanosecond intervals since January 1, 1601.
  • ullAudioStreamPosition
    Start time in the audio stream for the phrase.
  • ulAudioSizeBytes
    Size of audio data, in bytes, for the phrase.
  • ulRetainedSizeBytes
    Size, in bytes, of the retained audio data. The format is user-specified.
  • ulAudioSizeTime
    Length of phrase audio in 100-nanosecond units.
  • Rule
    SPPHRASERULE structure containing information about the top-level rule used to recognize the phrase.
  • pProperties
    Pointer to an SPPHRASEPROPERTY structure containing the semantic property tree.
  • pElements
    Pointer to an SPPHRASEELEMENT structure containing the phrase elements. The number of elements is contained in the Rule member.
  • cReplacements
    Number of text replacements specified in pReplacements.
  • pReplacements
    Pointer to an array of SPPHRASEREPLACEMENT structures containing text replacements.
  • SREngineID
    Identifier for the particular SR engine that recognized the current phrase.
  • ulSREnginePrivateDataSize
    Size, in bytes, of the private data specified by pSREnginePrivateData.
  • pSREnginePrivateData
    Pointer to private data for the engine.

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.