Directory Listing Question

Hello,
I am new to the FSD world and had a quick question for all you experts. I am
trying to make a filter driver hide certain directory from being listed
durring a findfirst or findnext operation. I have a completion routine and I
am setting it up for when I get IRP_MN_QUERY_DIRECTORY but I am confused how
to filter just that one directory listing. I don’t want to just return
no_more_files, but simply block that one entry, thus hiding the directory.
Can anyone help? Thanks in advance.
Chris Whitten


Get your FREE download of MSN Explorer at http://explorer.msn.com


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

If IRP_MN_QUERY_DIRECTORY is success, FSD return file-information list.
file-information structure follows
currentIrpSp->QueryFile.FileInformationClass.
( FileDirectoryInformation, FileFullDirectoryInformation, … )

If you do hide a directory, then remove your one from result list. and some
more you do. but, some FSD(like VFAT) return only file-information( list
has only one item )


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