Multiple Filter Drivers? RRS feed

  • Question

  • Hello!

    As the description on MSDN for Filter Drivers (Windows Drivers)

    There can be any number of lower-level/upper-level filter drivers for a device.

    How should I do to edit my .INF for a device with multiple filter drivers? (In this case, the device has a lower-level filter driver already.)

    By the way,


    "0x00010008" represents "FLG_ADDREG_TYPE_MULTI_SZ | FLG_ADDREG_APPEND" ,

    I used these flags, but it didn't append "myfilter" to the key "LowerFilters" for my device.

    LowerFilters  REG_MULTI_SZ  orgfilter
    LowerFilters  REG_MULTI_SZ  myfilter
    LowerFilters  REG_MULTI_SZ  orgfilter myfilter

    If anyone has any idea, please help me. Thank you so much.


    Friday, February 22, 2013 3:33 AM

All replies

  • Post your entire inf. The reg directive you posted has to be referenced from a DDInstall.HW section in the inf

    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    • Marked as answer by Doron Holan [MSFT] Friday, February 22, 2013 4:45 AM
    • Unmarked as answer by U.I.O Friday, February 22, 2013 5:26 AM
    Friday, February 22, 2013 4:45 AM
  • Dear Doron,

    My .INF format is as following.

    My device has a lower-level filter driver already, and I want to append another one to it.

    Should I use the argument "Include" to involve the .INF of the original?

    Signature="$Windows NT$"
    %MY% = myfilter_device
    %MYDRIVE% = myfilter_install, USB\VID_...
    DisplayName    = "My Filter Driver"
    ServiceType    = 1
    StartType      = 3
    ErrorControl   = 0
    ServiceBinary  = %12%\myfilter.sys
    MY = "MY Filter Driver"
    MYDRIVE = "My Drive"

    • Edited by U.I.O Friday, February 22, 2013 5:28 AM
    Friday, February 22, 2013 5:25 AM