Share via


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

Microsoft Speech Platform

SPGRAMBUILDCOMMITFLAGS

SPGRAMBUILDCOMMITFLAGS is a bitwise flag used with the ISpGrammarBuilder::Commit function.

<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>typedef enum SPGRAMBUILDCOMMITFLAGS { SPGBCF_NONE = 0,</strong> <strong>SPGBCF_OPTIMIZE = (1L &lt;&lt; 0),</strong> <strong>SPGBCF_RESERVED1 = (1L &lt;&lt; 1),</strong> <strong>SPGBCF_RESERVED2 = (1L &lt;&lt; 2),</strong> <strong>SPGBCF_RESERVED3 = (1L &lt;&lt; 3),</strong> <strong>SPGBCF_RESERVED4 = (1L &lt;&lt; 4),</strong> <strong>SPGBCF_RESERVED5 = (1L &lt;&lt; 5),</strong> <strong>SPGBCF_RESERVED6 = (1L &lt;&lt; 6),</strong> <strong>SPGBCF_RESERVED7 = (1L &lt;&lt; 7),</strong> <strong>SPGBCF_RESERVED8 = (1L &lt;&lt; 8),</strong> <strong>SPGBCF_RESERVED9 = (1L &lt;&lt; 9),</strong> <strong>SPGBCF_RESERVED10 = (1L &lt;&lt; 10),</strong> <strong>SPGBCF_RESERVED11 = (1L &lt;&lt; 11),</strong> <strong>SPGBCF_RESERVED12 = (1L &lt;&lt; 12),</strong> <strong>SPGBCF_RESERVED13 = (1L &lt;&lt; 13),</strong> <strong>SPGBCF_RESERVED14 = (1L &lt;&lt; 14),</strong> <strong>SPGBCF_RESERVED15 = (1L &lt;&lt; 15),</strong> <strong>SPGBCF_PRIVATE1 = (1L &lt;&lt; 16),</strong> <strong>SPGBCF_PRIVATE2 = (1L &lt;&lt; 17),</strong> <strong>SPGBCF_PRIVATE3 = (1L &lt;&lt; 18),</strong> <strong>SPGBCF_PRIVATE4 = (1L &lt;&lt; 19),</strong> <strong>SPGBCF_PRIVATE5 = (1L &lt;&lt; 20),</strong> <strong>SPGBCF_PRIVATE6 = (1L &lt;&lt; 21),</strong> <strong>SPGBCF_PRIVATE7 = (1L &lt;&lt; 22),</strong> <strong>SPGBCF_PRIVATE8 = (1L &lt;&lt; 23),</strong> <strong>SPGBCF_PRIVATE9 = (1L &lt;&lt; 24),</strong> <strong>SPGBCF_PRIVATE10 = (1L &lt;&lt; 25),</strong> <strong>SPGBCF_PRIVATE11 = (1L &lt;&lt; 26),</strong> <strong>SPGBCF_PRIVATE12 = (1L &lt;&lt; 27),</strong> <strong>SPGBCF_PRIVATE13 = (1L &lt;&lt; 28),</strong> <strong>SPGBCF_PRIVATE14 = (1L &lt;&lt; 29),</strong> <strong>SPGBCF_PRIVATE15 = (1L &lt;&lt; 30),</strong> <strong>SPGBCF_PRIVATE16 = (1L &lt;&lt; 31)</strong> <strong>} SPGRAMBUILDCOMMITFLAGS</strong>; </pre>

Elements

  • SPGBCF_NONE
    Indicates that no flag is set.
  • SPGBCF_OPTIMIZE
    The grammar structure is optimized.
  • SPGBCF_RESERVED1 through SPGBCF_RESERVED15
    Reserved for future use.
  • SPGBCF_PRIVATE1 through SPGBCF_PRIVATE16
    Reserved for private use by the Speech Platform.