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
The TELGetIndHSConnect function returns, in the Connect parameter, the current connection state of the telephone handset specified by the termHand parameter. If Connect is telIndHSConnected, the handset is connected; otherwise, the handset is not connected.