ISpRecoContext2::SetGrammarOptions (SAPI 5.4)
Microsoft Speech API 5.4
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) |