SPVACTIONS

This enumeration defines actions to take for the text fragment with which the voice state is associated.

typedef enum SPVACTIONS{
  SPVA_Speak = 0,
  SPVA_Silence,
  SPVA_Pronounce,
  SPVA_Bookmark,
  SPVA_SpellOut,
  SPVA_Section,
  SPVA_ParseUnknownTag
} SPVACTIONS;

Elements

  • SPVA_Speak
    Associated text fragment should be processed and spoken. This is the default value.
  • SPVA_Silence
    There is no associated string. The text fragment was the result of a <Silence> XML tag. A silence (of length specified in the associated SPVSTATE structure) should be inserted into the output stream.
  • SPVA_Pronounce
    Text fragment is associated with a <Pron> XML tag, and should be pronounced as specified in the appropriate SPVSTATE structure. This value can be empty.
  • SPVA_Bookmark
    Text fragment is the contents of a bookmark.
  • SPVA_SpellOut
    Each character, other than white space, of the text fragment should be expanded as a word. For example, "word!" will become "w o r d exclamation point".
  • SPVA_Section
    Reserved for future use.
  • SPVA_ParseUnknownTag
    Text fragment is associated with an unknown XML tag that can be interpreted or ignored by the engine.

Requirements

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

See Also

SAPI Enumerations

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.