InitTEL
Initializes the Telephone Manager so that its functions are available to your application.
pascal TELErr InitTel (void);
- function result
- A result code. See "Result Codes" on page 1-58 for a list of result codes that the Telephone Manager may return.
DESCRIPTION
TheInitTelfunction initializes the Telephone Manager. Before initializing the Telephone Manager, you must first initialize the Macintosh Toolbox. You then need to initialize the Communications Resource Manager (by calling theInitCRMfunction) and the Communications Toolbox Utilities (by calling theInitCTBUtilitiesfunction). You must perform this initialization once each time your application starts.You must call
InitTelto initialize the Telephone Manager before your application can begin controlling the features or handling calls provided through a telephone terminal.SPECIAL CONSIDERATIONS
Your application must check for the presence of the Communications Toolbox before initializing the Telephone Manager. For detailed information on how to check if the Communications Toolbox is active, consult the sample code available in Macintosh Communications Toolbox: Appendix C: Determining Whether the Managers are Installed.SEE ALSO
See Listing 1-2 on page 1-14 for a function that initializes the Communications Resource Manager, the Communications Toolbox Utilities, and the Telephone Manager.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help