How to receive file change notifications
Hi, I am developing some simple anti-virus program.
I need to monitor file system changes to automatically scan files for viruses that are created on a mobile device.
I have no problem getting file change notifications using SHChangeNotifyRegister API.
It works very well when I copy files inside a mobile device.
It also detects image files and other files that are downloaded when I surf the Internet.
The problem is when I copy some files from my desktop to the mobile device via active sync, the file change notification that I receive is not what I expected.
The pathname that I receive is "\Temp\_PegFilt~706705640.tmp".
However, when I look into the folder "\Temp\", there's no file like that.
I guess ActiveSync does something that I don't know.
How can I get the right pathname in this case?
Thank you.

