Article ID: 303447
Article Last Modified on 12/26/2003
APPLIES TO
- Microsoft Windows CE 3.0 for the Handheld PC
This article was previously published under Q303447
SUMMARY
Telephony API (TAPI) service providers that work fine on the desktop may not properly report their line devices and phone devices on Windows CE 3.0. The process of specifying line devices and phone devices in a TAPI service provider on Windows CE 3.0 differs slightly from Windows NT 4.0 and Windows 2000.
MORE INFORMATION
A telephony service provider (TSP) reports its line devices by calling the LINEEVENT TAPI callback function with the LINE_CREATE message (once for each line device it needs to report) when TAPI calls its TSPI_providerEnumDevices callback. A TSP also reports its phone devices during this time by calling the PHONEEVENT TAPI callback function with the PHONE_CREATE message, once for each phone device it needs to report. The values for the lpdwNumLines and lpdwNumPhones out parameters are updated accordingly before the TSP returns from TSPI_providerEnumDevices.
The difference in LINE_CREATE and PHONE_CREATE between Windows CE 3.0 and Windows NT/Windows 2000 is in the dwParam2. On Windows CE 3.0, dwParam2 specifies a pointer to a DWORD which will be set to TAPI's assigned line device ID.
Additional query words: TAPI TSP
Keywords: kbinfo KB303447