TELGetInfo
Gets information about a terminal and tool.
pascal TELErr TELGetInfo (TELHandle hTEL);
hTEL- A handle to a telephone record associated with a telephone terminal.
- function result
- A result code.
DESCRIPTION
TheTELGetInfofunction returns, in thehTELparameter, state and feature information about the telephone terminal and telephone tool specified by thehTELparameter. The Telephone Manager passes the specified telephone record to the tool specified by theprocIDfield of that record; that tool then inspects the terminal reference number (contained in thetReffield of telephone terminal record specified by thepTELTermfield ofhTEL) and fills in the record with the appropriate information. The information returned byTELGetInfois a snapshot of the current state of the telephone terminal and tool. That information may become stale as subsequent operations are performed on the terminal or tool.If
hTELis invalid,TELGetInforeturns the result codetelBadTermErr; in that case, you should dispose of the invalid telephone record by callingTELDispose.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help