mini filters/ legacy file system filters?

Discussion in 'Windows Vista Drivers' started by usfinecats, Apr 11, 2007.

  1. usfinecats

    usfinecats Guest

    The sample sfilter shows the creation of the control device object and then
    subsequent creation device objects for each file object stack that they
    attach to.

    In a mini filter, is the structure essentially the same? I did a quick read
    of the the minispy and could not see the parallels? Is there a discussion of
    the comparision of how they compare? Other sources of documentation?

    Thanks
     
    usfinecats, Apr 11, 2007
    #1
    1. Advertisements

  2. usfinecats

    Don Burn Guest

    First this really should be taking place on the NTFSD list at
    http://www.osronline.com The mini-filter uses a communictation port model
    instead of a control device for the application messages. The creation of
    the linkage for each storage stack is done automatically (since the
    callbacks for being notified about the instances were not specified).


    --
    Don Burn (MVP, Windows DDK)
    Windows 2k/XP/2k3 Filesystem and Driver Consulting
    Website: http://www.windrvr.com
    Blog: http://msmvps.com/blogs/WinDrvr
    Remove StopSpam to reply
     
    Don Burn, Apr 11, 2007
    #2
    1. Advertisements

  3. usfinecats

    usfinecats Guest

    Don, thanks for answering. I'd like to persue this just a little more,

    Then for example if you accept IRP_MJ_CREATEs then you'd see them for every
    device, not just some of them as might be the case in the legacy filter if
    you only attach a device object to some of the stacks.

    Does this cause an efficiency issue, or is this just a very small issue of
    performance?


    2ndly, what becomes the equivelent in the mini filter of the data space that
    you reserve for yourself in the deviceExtension when you create a device
    object?

    Thanks
    --
    Gak -
    Finecats


     
    usfinecats, Apr 12, 2007
    #3
  4. usfinecats

    David Craig Guest

    Use the correct group where these subjects are covered. AFAIK Microsoft
    offers no support for file systems or file system filters in any of their
    newsgroups.

     
    David Craig, Apr 12, 2007
    #4
  5. usfinecats

    Don Burn Guest

    In mini-spy yes you will see them all. That is why you would normally have
    an instance callback
    and not attach to stacks you are not interested in.
    When you create a instance you can have an instance context. Actually, one
    of the most powerful
    capabiliites is that they will track context for you at a lot of levelrs.


    --
    Don Burn (MVP, Windows DDK)
    Windows 2k/XP/2k3 Filesystem and Driver Consulting
    Website: http://www.windrvr.com
    Blog: http://msmvps.com/blogs/WinDrvr
    Remove StopSpam to reply
     
    Don Burn, Apr 12, 2007
    #5
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.