TELCountDNs
Counts the directory numbers associated with a telephone terminal.
pascal short TELCountDNs ( TELHandle hTEL, short dnType, Boolean physical);
hTEL- A handle to a telephone record.
dnType- A type of directory number. See "Directory Number Types" on page 3-6 for a description of the available directory number types.
physical- A Boolean value that determines whether
TELCountDNscounts all directory numbers (true) or only those to which commands can be sent (false).- function result
- The number of directory numbers of the specified type currently associated with the terminal.
DESCRIPTION
TheTELCountDNsfunction returns, as its function result, the number of directory numbers associated with the terminal specified by thehTELparameter that have the type specified by thednTypeparameter. If thephysicalparameter istrue,TELCountDNscounts all directory numbers associated with that terminal, even those that are currently inaccessible (as indicated by thednAccessiblefield of the directory number structure). Ifphysicalisfalse,TELCountDNscounts only those directory number that are currently accessible.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help