Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Microsoft Speech API 5.3
ISpGrammarBuilder2::AddTextSubset
ISpGrammarBuilder2::AddTextSubset adds text for use with subset matching.
HRESULT AddTextSubset(
SPSTATEHANDLE hFromState,
SPSTATEHANDLE hToState,
LPCWSTR psz,
SPMATCHINGMODE **eMatchMode
);
Parameters
- hFromState
[in] Handle of the state from which the arc should originate. - hToState
[in] Handle of the state where the arc should terminate. - psz
[in] The text subset to be matched. - eMatchMode
[in] The subset matching mode.
Return values
| Value |
| S_OK |
| E_OUTOFMEMORY |