Hi All,
I am writing a file system filter driver for Windows 2000 and I need to
intercept all the file requests and pass the file name to the application
that is running in user level and wait for its response and then allow the
file operation to go normally.
The flow is as follows:
- Intercept CREATE requests.
2 . get the file name - signal the event ( event that is shared between appllication and driver)
- pass the file information to application
- create another event and wait for the application to respond for the
information that we sent - Come out of wait and allow the operation to go through normally
the problem that I am facing is sometimes randomly in between steps 4 and 5
the system hangs and when see in the debugger it says that waiting for the
last file information that we passed to application.
Any information is helpful.
Thanks in advance,
Kedar.