TELIntlToEnglish
Translates a foreign language configuration string into English.
pascal TELErr TELIntlToEnglish ( TELHandle hTEL, Ptr inputPtr, Ptr *outputPtr, short language);
hTEL- A handle to the telephone record associated with the telephone tool.
inputPtr- On entry, a pointer to a foreign C-style configuration string to be translated into English.
outputPtr- On exit, a pointer to the English C-style configuration string used for the translation.
language- A language code that identifies the language of the configuration string to be translated. See Inside Macintosh: Text for a complete list of the supported language codes.
- function result
- A result code. If the specified language is not supported,
noErris returned andoutputPtris set tonil. This function returns an operating-system error code if any internal errors occur.DESCRIPTION
TheTELIntlToEnglishfunction returns, in theoutputPtrparameter, an English language version of the configuration string passed in theinputPtrparameter, which is in the language specified by thelanguageparameter. The telephone tool associated with the telephone record specified by thehTELparameter allocates space foroutputPtr.
- Note
- You are responsible for disposing of the pointer after the translation.
![]()
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help