The TextToSpeechUnloadUserDictionary call unloads a user dictionary. You must unload any previously loaded dictionary before you can load a new one. That is, only one user dictionary can be loaded at a time.
Syntax |
MMRESULT TextToSpeechUnloadUserDictionary |
(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 value is zero if the call is successful. The return value is one of the following constants: | |||
Constants |
Description | |||
MMSYSERR_NOERROR |
Normal successful completion (zero). | |||
MMSYSERR_INVALHANDLE |
The text-to-speech handle was invalid. | |||
|
| |||
Comments |
A user dictionary is created using the User Dictionary Build tool. If you build an application for the static version of DECtalk Software, you must include the winmm.lib file in the list of input files for the linker. | |||
See Also |