Dependencies inf directive

Discussion in 'Windows Vista Drivers' started by Brett L. Dennis, Nov 19, 2003.

  1. I have developed two drivers for Windows 2000: a virtual
    bus driver and a filter driver for one of my devices. The
    filter driver queries the bus driver, so the bus driver
    needs to be loaded first. Unfortunately on system startup
    the filter driver is loaded first and fails to initialize
    properly. I've added a Dependencies directive to my
    AddService section for the filter driver as follows:

    Dependencies = BusDriver

    where "BusDriver" is the name of the service as it shows
    up in the services section of the registry. Windows is
    ignoring this directive. Can someone tell me the right
    way to accomplish what I am trying to accomplish?
    Brett L. Dennis, Nov 19, 2003
    1. Advertisements

  2. Service dependencies don't work for PNP drivers.

    How can a filter driver for one of your child device load before the bus
    driver enumerates it? Either that or the other device for which the filter
    driver is loaded is not a child device of your virtual bus driver.

    If that's the case then you have to use PNP notification mechanism between
    your filter and bus to detect when the other driver is ready for

    Keyword: PNP Notification. Seach google for more info.
    Eliyas Yakub [MSFT], Nov 19, 2003
    1. Advertisements

  3. That's right, the filter is a child of the SCSI bus, not
    the virtual bus, but it still depends on the virtual bus.

    Thanks for the suggestion. I will look into PNP
    Brett L. Dennis, Nov 19, 2003
    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.