Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. IT & Infrastructure
  4. Attaching FILE SYSTEM FILTER driver object to underlying target object

Attaching FILE SYSTEM FILTER driver object to underlying target object

Scheduled Pinned Locked Moved IT & Infrastructure
questiondata-structureshelptutorial
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Chaitanya Joshi
    wrote on last edited by
    #1

    My question is regarding "file system filter" drivers. I'm especially stressing on 'file system' word 'coz on msdn I learnt that file system filter drivers are different from other filters that they don't use 'AddDevice'. Now the problem is while attaching filter driver with underlying driver stack. We can still use IoAttachDeviceToDeviceStack() to attach our driver but it takes argument as

    IN PDEVICE_OBJECT TargetDevice

    If AddDevice would have been implemented, this parameter can be obtained from

    IN PDEVICE_OBJECT PhysicalDeviceObject

    parameter that we get in AddDevice(). But this way is closed for file system filter drivers. There is another alternative to call IoGetDeviceObjectPointer() and passing it the desired driver's object name. But how to find desired driver's name? And I want to add my filter to overall filesystem. Thus my qeustion is ... Q. How to obtain TargetDevice without calling IoGetDeviceObjectPointer? And if there is no other alternative, how to obtain desired driver's object name? I'll be grateful to you for the answer. Thanks.

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups