You are reading help file online using chmlib.com
|
SPGRAMMARSTATE lists controls for setting and restoring grammar states.
typedef enum SPGRAMMARSTATE
{
SPGS_ENABLED = 0,
SPGS_DISABLED = 1,
SPGS_EXCLUSIVE = 3,
} SPGRAMMARSTATE;
Note that a rule must have an active recognition context, active grammar, and active top-level rule in order to be recognized.
For example, an application that needs modal-like input exclusivity can change the grammar to exclusive, which disables all other non-exclusive grammars.
You are reading help file online using chmlib.com
|