The TextToSpeechCloseLang call closes an instance for an installed language and attempts to unload it from the DECtalk Multi-Language (ML) engine.
Syntax |
BOOL TextToSpeechClose Lang |
(char *lang) |
Parameters |
char *lang |
Specifies the language being unloaded, passed as a null-terminated string containing the two character language ID. |
Return Value |
BOOL |
Returns TRUE when a language is unloaded, or returns FALSE when the operation cannot be completed or more instances have the thread started. |
Comments |
Call this application per thread using the selected language. When a thread returns TRUE, the language is freed and can be uninstalled or upgraded. A return of TRUE may be a bad pass of the lang variable or more instances. If there are more instances, the call frees the current instance and returns a FALSE flag. After calling TextToSpeechCloseLang, assume the language handle is no longer valid. | |
See Also |