TELDialDigits
Generates dual-tone multiple frequency (DTMF) tones.
pascal TELErr TELDialDigits ( TELCAHandle hTELCA, ConstStr255Param digits);
hTELCA- A handle to a call appearance structure. You provide the handle you obtained from the
TELSetupCallfunction (page 4-24).digits- A pointer to a Pascal-style string containing a sequence of ASCII digits.
- function result
- A result code. If you pass an invalid handle in the
hTELCAparameter, the function returns thetelBadCAErrresult code.DESCRIPTION
TheTELDialDigitsfunction generates DTMF tones on the existing call specified by thehTELCAparameter. You can use the tones to navigate automated systems that allow a caller to do such things as check an account balance, get schedule and price information about a tourist attraction, and so forth.
- Note
- Although the
TELConnectfunction (page 4-27) is the recommended method of placing an outgoing call, you can useTELDialDigitsinstead if you previously did not provide a complete destination phone number to theTELSetupCallfunction (page 4-24). In that case, if you provided a partial destination phone number toTELSetupCall, set the string pointed to by thedigitsparameter to the remaining portion. If you provided no number toTELSetupCall, set it to the full destination phone number. ThenoErrresult code indicates that the telephone tool is attempting to place the call.![]()
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help