Microsoft Speech Platform
ISpRecoContext2::GetGrammarOptions
ISpRecoContext2::GetGrammarOptions returns the options that the current grammar supports.
HRESULT GetGrammarOptions(
DWORD *peOptions
);
Parameters
- peOptions
- Returns the current grammar options.
Return values
Value | Description |
---|---|
S_OK | Function completed successfully. |
E_POINTER | peOptions is invalid. |
E_FAILED(hr) | Appropriate error message. |