VxD, intercepting file opening

Hello!

Does someone here have an example source code
about how to intercept the opening of files?
I want to write an antivirus VxD.

Please answer my by email: kurtz...@wrcs3.urz.uni-wuppertal.de

bye, Stefan