?? readme.txt
字號:
Code Sample Name: CeDialer
Feature Area: Cellcore.
Description:
To simplify the process of using a modem, Windows CE provides an
implementation of the Microsoft Telephony API (TAPI). The CEDialer code
sample shows how to dial a call with a modem using TAPI functions.
Windows CE TAPI supports outbound calls, but does not support inbound calls.
TAPI also supports installable service providers. The Telephony Service
Provider Interface (TSPI) enables developers to create telephony service
applications that handle function calls from remote applications to carry
out and control communications over the telephone network.
In Windows CE, TAPI links to and calls TSPI functions using standard
dynamic-link library (DLL) functions. TAPI uses the Unimodem TSPI by default.
Relevant APIs:
lineInitialize, lineNegotiateAPIVersion, lineGetDevCaps, lineDrop,
lineDeallocateCall, lineClose.
Usage:
Using TAPI to make a modem call
A Windows CE朾ased application that uses a modem must be able to handle
tasks such as initializing the modem, opening the line, dialing a phone
number, and disconnecting when the session is complete.
The following are the main steps and associated functions for dialing a call
in CEDialer:
1. Initializing TAPI
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -