readme.txt
来自「基于windows mobile操作系统」· 文本 代码 · 共 36 行
TXT
36 行
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 + =
减小字号Ctrl + -
显示快捷键?