What I need to do is the following ...

I would like to be able to check whenever Windows is writing a file to a certain Folder ... and do some action when windows is done writing that file ...

I was wondering if this can be done by intercepting windows messages , instead of checking every once in a while if the file is writen or not ...