Other TAPI phone functions use a handle to an open phone device to identify
the open phone device. The only functions for phone devices that take a phone
device ID parameter (as opposed to a phone handle) are the phoneGetDevCaps
functions. An application can retrieve the phone's device ID by using the
with the phone handle as a parameter.
An application can also obtain device IDs for various device classes
associated with an opened phone by invoking phoneGetID
. See Device Classes
for device class names.
This function takes a phone handle and a device class description. It returns
the device ID for the device of the given device class that is associated with
the open phone device. If the device class is "tapi/phone," the device ID of
the phone device is returned.
In contrast with line devices, for which the basic line services provide the
equivalent of POTS, no minimum guaranteed set of functions is defined for phone
devices. While each phone device provides at least the functions and messages
described in this section, they do not offer any actual operations on the
physical phone device.
- Software for developers
Software for Android Developers
- More information resources
Unix Manual Pages