Using RIL to hangup unwanted calls
来源:互联网 发布:软件标准规范建设内容 编辑:程序博客网 时间:2024/05/19 02:06
When a call is coming, the RIL will call our NotifyCallback functon. The first call will be with RIL_NOTIFY_RING notification code. The it will be called with RIL_NOTIFY_CALLERID notification code. At this point the the lpData member will contain the pointer to the structure RILREMOTEPARTYINFO. The raAddress member contains the caller address (number).
The RIL function RIL_Hangup can be used to hangup a call. The behavior of this function is defined by the RIL driver component. The function hangups a data call if one is active or a voice call in one is present. If both are active at the time of calling, it will hangup the voice call.
The sample application presented here is a single document interface document using MFC. Upon receiving the RIL_NOTIFY_CALLERID, the application searches a database to see whether the number is present or not. If the number is present in the database it will hangup the call. Using the main user interface you can insert, edit or delete the numbers in the database.
To compile this sample you should install Windows CE. An evaluation copy can be downloaded from the Microsoft Windows CE website.
- Using RIL to hangup unwanted calls
- How to log application API calls using import module addresses
- Using System Calls
- How to send custom http_headers for RPC calls using python xmlrpclib?
- Using Radio Interface Layer (RIL) to retrieve Cell Tower Information on Windows Mobile
- Intercepting Calls to COM Interfaces
- Kernel command using Linux system calls
- Android Application-Telephony-RIL 3 DialpadFragment to RIL.dial
- Ways to interpose on win32 api calls
- SHUTDOWN: waiting for active calls to complete.
- SHUTDOWN: waiting for active calls to complete.
- The Definitive Guide to Linux System Calls
- SHUTDOWN: waiting for active calls to complete.
- RIL
- RIL
- RIL
- ril
- RIL
- Delphi 设计模式:《HeadFirst设计模式》Delphi7代码---模板方法模式之CoffeineBeverageWithHook
- record not found or changed by another user 解决
- Delphi TIniFile 类 操作ini配置文件
- “开始”-“运行”命令
- 小议 C#中的“&”按位与运算符
- Using RIL to hangup unwanted calls
- Java实现几种常见排序方法(上)
- 使用Flex Bison 和 LLVM编写你自己的编译器
- VC+MO图形渲染
- 嵌入式设备上的 Linux 系统开发 0
- Hibernate中Criteria的完整用法(转)
- SQL字符串处理函数大全
- Java实现几种常见排序方法(下)
- JS获取网页中HTML元素的几种方法分析