Pre-query information for IRP_MJ_CREATE with FILE_OPEN_BY_FILEID

Hi all!

In my filter driver I need to pre-query information for the file beeing
opened/created. I run into problems when I receive a IRP_MJ_CREATE with the
FILE_OPEN_BY_FILEID flag set. I would like to get the file name for that
file so that I then can open it and pre-query all required information as I
normally do. Letting the IRP complete is NOT an option, since the filter
driver needs to deny certain IRP_MJ_CREATEs.

TNX 1.0E6 in advance!

/Svante


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

You will probably find something useful by searching for
NAMELOOKUPFL_OPEN_BY_ID within the fspylib.c module of Microsoft’s filespy
sample.

Brad

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Svante Moren
Sent: Wednesday, February 21, 2001 2:42 PM
To: File Systems Developers
Subject: [ntfsd] Pre-query information for IRP_MJ_CREATE with
FILE_OPEN_BY_FILEID

Hi all!

In my filter driver I need to pre-query information for the file beeing
opened/created. I run into problems when I receive a
IRP_MJ_CREATE with the
FILE_OPEN_BY_FILEID flag set. I would like to get the file name for that
file so that I then can open it and pre-query all required
information as I
normally do. Letting the IRP complete is NOT an option, since the filter
driver needs to deny certain IRP_MJ_CREATEs.

TNX 1.0E6 in advance!

/Svante


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com