Export (0) Print
Expand All

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:
© 2014 Microsoft