Device Upper Filter usbstor.sys

Discussion in 'Windows Vista Drivers' started by John, Nov 23, 2004.

  1. John

    John Guest

    Hi,

    I would like to install a device upper filter to all storage device
    objects created by usbstor.sys. I know how to install the a device
    filter programmatically ( Using SetupDiXXX functions). I need to give
    the "Device Object Name" as input to SetupDiXXX functions. This
    implies that usb storage devices must be plugged in the system once
    before using these apis.

    Does inf files provide any mechanism to install device upper filter to
    all storage device objects created by usbstor.sys. So that filter
    driver will be up and running even if user plug in the usb storage
    device for the first time.

    Since my filter driver is controlling read/write access to device, I
    can't go for a usb class filter.
    Please help


    regards
    John
     
    John, Nov 23, 2004
    #1
    1. Advertisements

  2. John

    Calvin Guan Guest

    see my answer int thread
    Re: USB Upper Filter Driver not getting IRP_MJ_INTERNAL_DEVICE_CONTROL
     
    Calvin Guan, Nov 23, 2004
    #2
    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.