Partager via


SPCFGNOTIFY (SAPI 5.4)

Microsoft Speech API 5.4

SPCFGNOTIFY

SPCFGNOTIFY lists event notification information related to the addition, deletion, invalidation, activation, or deactivation of words and rules in the loaded grammars.

  
    typedef enum SPCFGNOTIFY
{
    SPCFGN_ADD,
    SPCFGN_REMOVE,
    SPCFGN_INVALIDATE,
    SPCFGN_ACTIVATE,
    SPCFGN_DEACTIVATE
} SPCFGNOTIFY;

Elements

  • SPCFGN_ADD
    Flag indicating that the grammar rule should be added.
  • SPCFGN_REMOVE
    Flag indicating that the grammar rule should be removed.
  • SPCFGN_INVALIDATE
    Flag indicating that the grammar rule should be invalidated.
  • SPCFGN_ACTIVATE
    Flag indicating that the grammar rule should be activated.
  • SPCFGN_DEACTIVATE
    Flag indicating that the grammar rule should be deactivated.