Export (0) Print
Expand All

ISpPhoneticAlphabetConverter::SetLangId (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

ISpPhoneticAlphabetConverter::SetLangId

Sets the language of the SAPI phone set to be used in the conversion.

This method must be called before any other methods.


HRESULT SetLangId(
   HRESULT       LANGID LangID
);

Parameters

LangID
The new Lang ID.

Return values

ValueDescription
S_FALSEFunction succeeded but the selected language does not have a SAPI phone set. As a result, no conversion is necessary, and calls to the conversion methods will return the same input phonemes as output.
S_OKFunction completed successfully.
Show:
© 2014 Microsoft