Share via


SPRULESTATE

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This enumeration defines grammar rule states.

Syntax

typedef enum SPRULESTATE{
  SPRS_INACTIVE = 0,
  SPRS_ACTIVE = 1,
  SPRS_ACTIVE_WITH_AUTO_PAUSE = 3
} 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 the paused state when the grammar rule is recognized. This state is just for information and can be handled in the same way as SPRS_ACTIVE.

Requirements

Header sapi.h, sapi.idl
Windows Embedded CE Windows CE .NET 4.1 and later

See Also

Reference

SAPI Enumerations