文件名称:Mapirule
- 所属分类:
- 手机短信编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 12kb
- 下载次数:
- 0次
- 提 供 者:
- gzh***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
Mobile短信拦截
Requirements:
Visual Studio 2005,
Windows Mobile 5.0 Pocket PC SDK or
Windows Mobile 5.0 Smartphone SDK,
ActiveSync 4.0.-Descr iption:
This sample demonstrates how to implement a MAPI Rule Client, a COM object
which can handle/filter incoming MAPI messages. Of particular relevance is
the implementation of IMailRuleClient and its ProcessMessage method. This
method is called by the MAPI subsystem when a message matching the Rule
Client抯 transport (SMS, ActiveSync, POP3) arrives. From within
ProcessMessage, you can reroute messages, delete messages, parse messages
and send custom data to other apps, or anything else you may need to do.
Currently, only SMS is supported as a transport for Rule Clients.
IMailRuleClient::Initialize must also be implemented to set message store
access privileges.
A Rule Client is a COM object (generally housed in a DLL) which implements
the IMailRuleClient interface. In order to work properly, it must be
registered in two places:
1.) Standard COM registration- HKEY_CLASSES_ROOT\CLSID
Requirements:
Visual Studio 2005,
Windows Mobile 5.0 Pocket PC SDK or
Windows Mobile 5.0 Smartphone SDK,
ActiveSync 4.0.-Descr iption:
This sample demonstrates how to implement a MAPI Rule Client, a COM object
which can handle/filter incoming MAPI messages. Of particular relevance is
the implementation of IMailRuleClient and its ProcessMessage method. This
method is called by the MAPI subsystem when a message matching the Rule
Client抯 transport (SMS, ActiveSync, POP3) arrives. From within
ProcessMessage, you can reroute messages, delete messages, parse messages
and send custom data to other apps, or anything else you may need to do.
Currently, only SMS is supported as a transport for Rule Clients.
IMailRuleClient::Initialize must also be implemented to set message store
access privileges.
A Rule Client is a COM object (generally housed in a DLL) which implements
the IMailRuleClient interface. In order to work properly, it must be
registered in two places:
1.) Standard COM registration- HKEY_CLASSES_ROOT\CLSID
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Mapirule\mapirule.cpp
........\mapirule.def
........\MapiRule.sln
........\MapiRule.vcproj
........\readme.txt
........\Setupmapirule\SetupMapiRule.vddproj
........\Setupmapirule
Mapirule
........\mapirule.def
........\MapiRule.sln
........\MapiRule.vcproj
........\readme.txt
........\Setupmapirule\SetupMapiRule.vddproj
........\Setupmapirule
Mapirule