SPCONTEXTSTATE

Microsoft Speech SDK

The Microsoft.com Speech website Microsoft Speech SDK SAPI 5.1

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.