Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Microsoft Speech API 5.3
SPCONTEXTSTATE
SPCONTEXTSTATE lists controls for setting and restoring recognition states on a per-context basis.
typedef enum SPCONTEXTSTATE
{
SPCS_DISABLED,
SPCS_ENABLED
} SPCONTEXTSTATE;
Elements
- SPCS_DISABLED
Specifies that grammars associated with this recognition context are disabled. When an application sets the context state to SPCS_DISABLED, all rules in all grammars owned by that context are disabled, even if the grammar state is set to exclusive. - SPCS_ENABLED
Specifies that grammars associated with this recognition context are enabled. By default recognition contexts are created with SPCS_ENABLED.