Some file folders will be shared in target computers by using SMB/CIFS protocol. The program is to monitor the file changing in those shared file folders. The workflow is if some new files are added to these shared folders or some existing files are deleted from these shared folders, my program should get the information and note it in a target file and the program must be run silent. Now, my solution is to write a function to wrap ReadDirectoryChangesW() win32 api to get the file change information and the whole program will be design to be a win32 service.
Anyone, if you like, please give me some your opinions.