简体   繁体   中英

How to monitor changes to Windows desktop Items?

I am replacing the Windows desktop,but I don't know how to monitor changes to desktop items. please give me some ideas.I hope receive notifications when the following happens:

  1. the desktop icon is shown or hidden;
  2. file and folder are deleted or created on desktop.

From kernel you can install a file system minfilter . In your filter you can determine if the source or destination is on the desktop and, if so, handle it appropriately.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM