ISpRecoContext2::SetGrammarOptions (Microsoft Speech Platform)

Microsoft Speech Platform SDK 11

Microsoft Speech Platform

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 Description
S_OK Function completed successfully.
E_INVALIDARG Invalid parameter.
FAILED(hr) Appropriate error message.