SPRULESTATE

Microsoft Speech SDK

The Microsoft.com Speech website Microsoft Speech SDK SAPI 5.1

SPRULESTATE

SPRULESTATE lists the states of a grammar rule.

typedef enum SPRULESTATE
{
    SPRS_INACTIVE,                 
    SPRS_ACTIVE,                   
    SPRS_ACTIVE_WITH_AUTO_PAUSE   
} SPRULESTATE;

Elements

SPRS_INACTIVE
Grammar rule is inactive.
SPRS_ACTIVE
Grammar rule is active.
SPRS_ACTIVE_WITH_AUTO_PAUSE
SR engine will be placed in a paused state when the grammar rule is recognized. Also known as an "auto-pause" rule.