ISpRecoContext2::SetGrammarOptions (SAPI 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
Value |
S_OK |
E_INVALIDARG |
FAILED(hr) |