Hello Everyone !
During the last week I search all around the MSDN and various Internet sites trying to locate syntax and an example of the ReadDirectoryChangeW API call.
But let me explain myself. I am trying to monitor a Windows NT (NTFS) directory for any change on the permissions of any file and prompt the user with a message. This change can be performed using the windows explorer so the program will run at the background (as service or background task).
Does anyone of you have an idea of how this can be done (i am not consider about the service
) but for the monitoring.
I tried to use the FindFirstChangeNotification and WaitForMultipleObjects but the main limitation of this approach is that it supports up to 64 files/directories and it does not return the filename of the file that is changed (if I monitor the directories).
Any help, points that you could give will really help
Thanks
During the last week I search all around the MSDN and various Internet sites trying to locate syntax and an example of the ReadDirectoryChangeW API call.
But let me explain myself. I am trying to monitor a Windows NT (NTFS) directory for any change on the permissions of any file and prompt the user with a message. This change can be performed using the windows explorer so the program will run at the background (as service or background task).
Does anyone of you have an idea of how this can be done (i am not consider about the service
I tried to use the FindFirstChangeNotification and WaitForMultipleObjects but the main limitation of this approach is that it supports up to 64 files/directories and it does not return the filename of the file that is changed (if I monitor the directories).
Any help, points that you could give will really help
Thanks