TextToSpeechGetLanguage (not supported)

Warning

The TextToSpeechGetLanguage call is not supported for DECtalk Software version 4.6. Use of this call causes unpredictable operation and application linking errors.

This call has been replaced by TextToSpeechGetCaps.

The TextToSpeechGetLanguage call returns the current language.

Syntax | MMRESULT TextToSpeechGetLanguage | (LPTTS_HANDLE_T phTTS, LANGUAGE_T *pLanguage)

Parameters | LPTTS_HANDLE_T phTTS | Specifies a text-to-speech handle.
| LANGUAGE_T *pLanguage | Specifies a language. Refer to the ttsapi.h file for a list of valid languages, e.g. TTS_AMERICAN_ENGLISH.

Return Value | This call returns a value of type MMRESULT. The value is zero if the call is successful. The return value is one of the following constants:

Constant | Description
MMSYSERR_NOERROR | Normal successful completion (zero).
MMSYSERR_INVALHANDLE | The text-to-speech handle was invalid.

See Also | TextToSpeechSetLanguage