Enumerating TAPI Devices
The function lineInitialize returns the number of available line devices. Next, an application typically needs to enumerate this list of devices to decide which one will be used to make a call. Often, a list of devices will be presented to the user from which one will be selected. This process of enumeration involves the following tasks for each line device:
Negotiating with the line device which TAPI version to use by calling the function lineNegotiateAPIVersion.
Obtaining the line device's capabilities by calling the function lineGetDevCaps function. The information returned from this structure includes a human-friendly description.
Negotiating TAPI Version
Version negotiation is used to ensure that all the parties—the ...