Hello,
my minifilter attaches every volume that currently exists in the system (including \Device\LanmanRedirector). PreCreate callback is called for every file I work with (fltObjects->FileObject->FileName is filled with the right name) - there’s no problem with this. If I try to open a file (e.g. \Device\LanmanRedirector\SHARED_PC\Sources\setup.exe) I get only “\Device\LanmanRedirector\SHARED_PC\Sources” in fltObjects->FileObject->FileName - but there will never appear “setup.exe” or other files, only directory names.
What could be wrong ?
thanks,
Petr Kurtin
Petr,
Have you tried the RelatedFileObject field of the FileObject? If
setup.exe is being opened relative to an already opened file (ie
"\Device\LanmanRedirector\SHARED_PC\Sources") then you'll need to check
it.
Adam Landefeld
"This posting is provided "AS IS" with no warranties, and confers no
rights."
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Petr Kurtin
Sent: Thursday, April 15, 2004 8:56 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] minifilter & network file system
Hello,
my minifilter attaches every volume that currently exists in the system
(including \Device\LanmanRedirector). PreCreate callback is called for
every file I work with (fltObjects->FileObject->FileName is filled with
the right name) - there's no problem with this. If I try to open a file
(e.g. \Device\LanmanRedirector\SHARED_PC\Sources\setup.exe) I get only
"\Device\LanmanRedirector\SHARED_PC\Sources" in
fltObjects->FileObject->FileName - but there will never appear
"setup.exe" or other files, only directory names.
What could be wrong ?
thanks,
Petr Kurtin
Questions? First check the IFS FAQ at
You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
Petr,
What do you mean when you say "If I try to open a file". Do you mean from your filter? What API are you using to open it with? If you are opening it, why are you doing the open so you see your own creates? In general we wants opens from a filter to be targeted to the filters below them.
Please clarify what is going on.
Neal Christiansen
Microsoft File System Filter Group Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Petr Kurtin
Sent: Thursday, April 15, 2004 8:56 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] minifilter & network file system
Hello,
?
my minifilter attaches every volume that currently exists in the system (including \Device\LanmanRedirector). PreCreate callback is called for every file I work with (fltObjects->FileObject->FileName is filled with the right name) - there's no problem with this. If I try to open a file (e.g. \Device\LanmanRedirector\SHARED_PC\Sources\setup.exe) I get only "\Device\LanmanRedirector\SHARED_PC\Sources" in fltObjects->FileObject->FileName - but there will never appear "setup.exe" or other files, only directory names.
?
What could be wrong ?
?
thanks,
??? Petr Kurtin
?
Questions? First check the IFS FAQ at The NT Insider:Windows NT Virtual Memory (Part I)
You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com