Select an Address

The following code example demonstrates use of the TAPI object to examine available telephony resources for an address that can handle a specified set of media type requirements. In this example, audio and video are the required media.

Before using this code example, you must perform the operations in Initialize TAPI.

Note

This example does not have the error checking and releases appropriate for production code.

 

// pAddress is now a usable address.

ITTAPI::EnumerateAddresses

ITMediaSupport

TAPIMEDIATYPE_ Constants