TELDNLookupByName
Finds a directory number by name.
pascal TELErr TELDNLookupByName ( TELHandle hTEL, ConstStr255Param DN, TELDNHandle *hTELDN);
hTEL- A handle to a telephone record.
DN- A pointer to a Pascal-style string that contains the name of a directory number. See page 3-14 for information about directory number names.
hTELDN- On exit, a handle to a directory number structure for the directory number having the specified name. Your application is responsible for disposing of this handle when it's done using it.
- function result
- A result code.
DESCRIPTION
TheTELDNLookupByNamefunction returns, in the hTELDN parameter, a handle to a directory number structure for the directory number associated with the terminal specified by thehTELparameter that has the name specified by theDNparameter. If no directory number can be found having that name,hTELDNis set tonil.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help