Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
::SetGrammarOptions
Collapse the table of content
Expand the table of content

ISpRecoContext2::SetGrammarOptions (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

ISpRecoContext2::SetGrammarOptions

ISpRecoContext2::SetGrammarOptions specifies the kinds of CFGs that can be loaded into a grammar object.


HRESULT SetGrammarOptions(
   DWORD   eGrammarOptions
);

Parameters

eGrammarOptions
Controls what kinds of CFGs can be loaded into the grammar object.

Return values

ValueDescription
S_OKFunction completed successfully.
E_INVALIDARGInvalid parameter.
FAILED(hr)Appropriate error message.
Show:
© 2015 Microsoft