File open Notifications


I have the following problem:




I am developing a filter driver for a NT file system, and want to trap FILE OPEN and DIRECTORY OPEN requests.



At present I am trapping IRP_MJ_CREATE for open request.



and using the following lines of source



DWORD dwOpenOptions = ((pParms->Parameters.Create.Options >> 24) & 0xFF);



DWORD dwUserOptions = (pParms->Parameters.Create.Options & FILE_VALID_OPTION_FLAGS);



where dwOpenOptions is the CreateD

  • Thanks in advance

Send flowers & gifts. Valentine gift guide. At MSN Shopping.