Oleg,
The mini-spy sample .INF file defines 3 different instance definitions.
By default the “Flags” parameter is set to 1 which means do NOT attempt
automatic attachments for that instance. This is why when you load
minispy you don’t see any default attachments created.
If you changed any of these “Flags” values to zero, it means when your
minifilter loads its InstanceSetup routine is going to be called using
the given altitude definition. If you changed the “Flags” value to zero
on more than one instance definition then yes, your instance setup would
be called multiple times, once for each instance definition where the
“Flags” value is zero.
Most filters do not need more then one instance. We have these
different definitions for minispy just as an example.
If this has not answered your question please respond back showing the
exact instance registry definitions that you have.
Neal Christiansen
Microsoft File System Filter Group Lead
This posting is provided “AS IS” with no warranties, and confers no
rights
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of oleshii wood
Sent: Wednesday, December 01, 2004 8:01 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] same PFLT_VOLUME pointer during of SetupInstance entry
point invoking
Hi there !
I’m glad to Welcome you again. I’ve some question about of minifilter
attaching. I’m modify an MiniSpy sample. I’m changes of “Flags” value
on the .inf - file, wrote an SetupInstance entry, assign this field on
the FILTER_CALLBACK structure and set up of breakpoint to that entry. An
FltMgr invoke that entry and i’m find out next thing: after of first
success attach this entry invokes again with a same PFLT_VOLUME value
(it’s placed on the PFLT_OBJECTS structure). Can i assign about of
FltMgr will invoke that entry with a same PFLT_VOLUME value according of
Instances amount on the registry ?
With regards
Oleg Nikitenko.
Share diaries and photos with your friends and family.
http://www.homemaster.net - Homemaster. Come Together. Online.
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com