ISpGrammarBuilder2::SetPhoneticAlphabet (Microsoft Speech Platform)

Microsoft Speech Platform SDK 11

Microsoft Speech Platform

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

Value Description
S_OK Function completed successfully.
SPERR_PHONEME_CONVERSION The new PHONETICALPHABET is not compatible with the old PHONETICALPHABET, and the old PHONETICALPHABET may have been modified.
E_INVALIDARG The requested PHONETICALPHABET is not supported.