Export (0) Print
Expand All

ISpGrammarBuilder2::SetPhoneticAlphabet (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

ISpGrammarBuilder2::SetPhoneticAlphabet

ISpGrammarBuilder2::SetPhoneticAlphabet sets a new phonetic alphabet.


HRESULT SetPhoneticAlphabet(
   PHONETICALPHABET      phoneticALphabet,
);

Parameters

phoneticALphabet
A member of the PHONETICALPHABET enumeration that represents the phonetic alphabet to be used.

Return values

ValueDescription
S_OKFunction completed successfully.
SPERR_PHONEME_CONVERSIONThe new PHONETICALPHABET is not compatible with the old PHONETICALPHABET, and the old PHONETICALPHABET may have been modified.
E_INVALIDARGThe requested PHONETICALPHABET is not supported.
Show:
© 2014 Microsoft