How to intercept text messages on Windows Mobile

Source: Internet
Author: User

This article is original. If you need to reprint it, please indicate the source!

The Microsoft SDK provides a mapirule example to show how to intercept text messages.

To filter spam messages or intercept messages of certain numbers, we need to insert a bar in the processmessage function. It is handled based on the sender's phone number (pspvemail-> value. lpszw) or text message content (pspvsubject-> value. lpszw.

After mapirule. dll is compiled, modify the registry. This example also describes:

1) Add an hkey_classes_root/CLSID/{3ab4c10e-673c-494c-98a2-cc2e91a48115/inprocserver32. The default value is mapirule. dll and character type;

2) add an HKEY_LOCAL_MACHINE/software/Microsoft/inbox/svc/SMS/rules. The new key is {3ab4c10e-673c-494c-98a2-cc2e91a48115} and the value is 1 and DWORD.

After the registry is changed, copy mapirule. DLL to the Windows directory. Restart your phone and the interception starts to take effect.

If there is a compilation problem in wm5.0, the README attached to the example is described in detail.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.