Lines

The Telephony system regards the telephone line as a system resource that can be shared among voice-oriented programs--unless the line has been reserved for data communications. You do not need to know how the physical phone line is connected to the computer to access it through the Telephony system.

You can modify the state of the telephone line through a TTelephoneLineHandle.


TTelephoneLineConfigurationData uniquely specifies the telephone line to use. TTelephoneLineHandle provides member functions for initiating telephone call connections, determining the hook status of the line, and accessing telephone feature types.

Line status Description
kOnHook Line or handset is on-hook.
kOffHook Line or handset is off-hook.

You can create multiple instances of TTelephoneLineHandle for the same line and distribute them across task boundaries. This allows a user to run multiple programs that use the same line, such as an answering machine application and an auto-dial application.


[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker