Microsoft Speech Platform
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
Value | Description |
---|---|
S_FALSE | Function 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_OK | Function completed successfully. |