TELGetIndHSConnect
Gets the connection state of a telephone handset.
pascal TELErr TELGetIndHSConnect (TELHandle termHand, Boolean *Connect);
termHand- A handle to a telephone record associated with a telephone terminal.
Connect- On exit, a Boolean value that indicates whether the specified telephone handset is connected to a phone line (
telIndHSConnected) or not (telIndHSDisconnected).- function result
- A result code.
DESCRIPTION
TheTELGetIndHSConnectfunction returns, in theConnectparameter, the current connection state of the telephone handset specified by thetermHandparameter. IfConnectistelIndHSConnected, the handset is connected; otherwise, the handset is not connected.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help