TELDefault
Initializes a telephone record by filling in the configuration fields with the default values supplied by the telephone tool.
pascal TELErr TELDefault ( Ptr *theConfig, short procID, Boolean allocate);
theConfig- A pointer to the configuration details for the telephone tool.
procID- A tool ID returned by the
TELGetProcIDfunction.allocate- A value that indicates whether the telephone tool should allocate space for the configuration information. If the value is
true, space is allocated fortheConfigin the current heap zone. If the value isfalse, no memory allocation is performed.- function result
- A result code. The result code
telNoErrindicates that the function completed without any errors. See "Result Codes" on page 1-58 for a list of other result codes that the Telephone Manager may return.DESCRIPTION
TheTELDefaultfunction provides the settings for the configuration fields (configandoldConfig) when a new telephone record is created by theTELNewor theTELNewWithResultfunction.SPECIAL CONSIDERATIONS
Your application might not need to call this function, because it's called automatically byTELNewandTELNewWithResult.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help