Export (0) Print
Expand All

ISpGrammarBuilder2::AddTextSubset (SAPI 5.3)

Speech API 5.3
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

ValueDescription
S_OKFunction completed successfully.
E_OUTOFMEMORYNot enough memory to complete operation.
Show:
© 2014 Microsoft