TextToSpeechShutdown

The TextToSpeechShutdown call shuts down the text-to-speech system and frees all system resources used by the text-to-speech system.

Syntax

MMRESULT TextToSpeechShutdown

(LPTTS_HANDLE_T phTTS)

 

Parameters

LPTTS_HANDLE_T phTTS

Specifies a text-to-speech handle.

Return Value

This call returns a value of type MMRESULT. The return 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.

 

 

Comments

This call is called when you close an application. Any user-defined dictionaries, which were previously loaded, are automatically unloaded. All previously queued text is discarded and the text-to-speech system will immediately stop speaking.

See Also

btn_mini.gif TextToSpeechStartup (UNIX)

btn_mini.gif TextToSpeechStartup (Windows) TextToSpeechStartup() (Windows)

btn_mini.gif TextToSpeechStartupEx