wdmwiz filter driver problem

Hello,

I have made a filter driver using the wdmwiz template in
Walter Oney’s book, and attached it to a USB drive as an
upper filter using the DDK addfilter program. The usb
device and filter are still displayed by the addfilter
program when I type “addfilter /listdevices”, but the USB
drive has disappeared from the list of drives in “My
Computer”.
WinDbg prints KdPrint messages when the filter drive
functions are called or if IRP_MJ_WRITE or IRP_MJ_READ
messages are received, but it hasn’t displayed any error
messages.

Does anybody please know what the cause of this bug might
be, or how I could find out what it is ?

Regards,

Scott

— Windows System Software Devs Interest List digest

$B$+$i$N%a%C%;!<%8!'(B
> NTDEV Digest for Thursday, May 12, 2005.
>
> 1. Re: custom ICON display in device manager
> 2. Re: Migrating to Storport Environment
> 3. Re: DDKBUILD Update
> 4. RE: DMA + common buffer ARC
> 5. Re: Unable to access my network driver with my
> user
> 6. Re: USB client driver & IoCompletion
> 7. AMD64 and ExInitializeNPagedLookasideList
> 8. RE: DDKBUILD Update
> 9. RE: DMA + common buffer ARC
> 10. RE: AMD64 and ExInitializeNPagedLookasideList
> 11. RE: AMD64 and ExInitializeNPagedLookasideList
> 12. Re: DDKBUILD Update
> 13. RE: AMD64 and ExInitializeNPagedLookasideList
> (Unsigned Mail)
> 14. RE: AMD64 and ExInitializeNPagedLookasideList
> 15. RE: AMD64 and ExInitializeNPagedLookasideList
> 16. Re: AMD64 and ExInitializeNPagedLookasideList
> (Unsigned Mail)
> 17. RE: AMD64 and ExInitializeNPagedLookasideList
> 18. unidrv resolution issue (Please help)
> 19. Re: DDKBUILD Update
> 20. Driver PREfast crashes on LIST and VIEW
> 21. ExDeleteNPagedLookasideList – XP vs W2K3SP1
> 22. RE: ExDeleteNPagedLookasideList – XP vs W2K3SP1
> 23. Re: ExDeleteNPagedLookasideList – XP vs W2K3SP1
> 24. Re: DMA + common buffer ARC
> 25. RE: DMA + common buffer ARC
> 26. RE: ExDeleteNPagedLookasideList – XP vs W2K3SP1
> 27. NT4 driver for alpha proc
> 28. Re: NT4 driver for alpha proc
> 29. RE: NT4 driver for alpha proc
> 30. Re: DDKBUILD Update
> 31. Re: NT4 driver for alpha proc
> 32. RE: NT4 driver for alpha proc
> 33. Re: NT4 driver for alpha proc
> 34. Re: NT4 driver for alpha proc
> 35. Re: NT4 driver for alpha proc
> 36. Equivalent of MmAdvanceMdl for win2k
> 37. RE: Equivalent of MmAdvanceMdl for win2k
>
>
----------------------------------------------------------------------
>
> Subject: Re: custom ICON display in device manager
> From: Ramya Desai
> Date: Thu, 12 May 2005 11:08:43 +0530
> X-Message-Number: 1
>
> Dear experts,
>
> Actually I wanted use custom class for my driver.
> But this custom
> class GUID is failing CheckINF test in HCT. So I got
> a drirectve from
> microsft WHQL team to use the standard class GUID
> which shows my
> device under standard class.
>
> So do I use standard class or custom class to have
> own icon against my devi=
> ce.
>
> Regards,
> Bharat.
>
>
>
> On 5/11/05, Tim Roberts wrote:
> > Shahar Talmi wrote:
> >=20
> > >Still - usbstor.inf, usbprint.inf and many others
> install their drivers
> > >under this class, which is a bit odd given that
> statement…
> > >I also read this kind of statement somewhere on
> the DDK, and couldn’t
> > >understand the reason for it:
> > >The USB class has no class-specific property
> pages, installers or filter=
> s,
> > >so why should someone avoid putting his driver
> there?
> > >
> >=20
> > Because it causes the devices to be listed in
> Device Manager under
> > “Universal Serial Bus controllers”. Unless it
> really is a USB
> > controller, this is going to confuse those
> end-users.
> >=20
> > Of course, one might ask what a confused end user
> is doing in Device
> > Manager to begin with, but I digress.
> >=20
> > –
> > Tim Roberts, xxxxx@probo.com
> > Providenza & Boekelheide, Inc.
> >=20
> > —
> > Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/=
> article.cfm?id=3D256
> >=20
> > You are currently subscribed to ntdev as:
> xxxxx@gmail.com
> > To unsubscribe send a blank email to
> xxxxx@lists.osr.com
> >
>
>
----------------------------------------------------------------------
>
> Subject: Re: Migrating to Storport Environment
> From: “Maxim S. Shatskih”
> Date: Thu, 12 May 2005 10:20:10 +0400
> X-Message-Number: 2
>
> Try sending the command to LUN devices instead.
> Or use the PnP device
> interfaces to SCSI controllers.
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
> ----- Original Message -----
> From: “Raju”
> To: “Windows System Software Devs Interest List”
>
> Sent: Thursday, May 12, 2005 4:43 AM
> Subject: RE: [ntdev] Migrating to Storport
> Environment
>
>
> > Thanks for the info, Maxim.
> >
> > But…
> >
> > Our filter driver gets the FDO of SCSIport driver
> and issues
> > SCSIOP_INQUIRY cdb command to SCSIport driver.
> >
> > To get FDO of SCSIport driver, we are using the
> function
> > IoGetDeviceObjectPointer with the first parameter
> set to
> > “\Device\ScsiPortX”.
> >
> > Is this device name still valid with Storport
> driver?
> >
> > -KPR.
> >
> > > -----Original Message-----
> > > From: xxxxx@lists.osr.com
> > > [mailto:xxxxx@lists.osr.com]On
> Behalf Of Maxim S. Shatskih
> > > Sent: Thursday, May 12, 2005 2:51 AM
> > > To: Windows System Software Devs Interest List
> > > Subject: Re: [ntdev] Migrating to Storport
> Environment
> > >
> > >
> > > Usually no need in any changes. I had this
> kind of CD filter which was
> > > working on IDE, SCSI, USB and 1394 by design.
> > >
> > > Maxim Shatskih, Windows DDK MVP
> > > StorageCraft Corporation
> > > xxxxx@storagecraft.com
> > > http://www.storagecraft.com
> > >
> > > ----- Original Message -----
> > > From: “Raju”
> > > To: “Windows System Software Devs Interest List”
>
> > > Sent: Wednesday, May 11, 2005 8:20 AM
> > > Subject: [ntdev] Migrating to Storport
> Environment
> > >
> > >
> > > > Hi
> > > >
> > > > We have a SFD (storage filter driver) that
> sits just above the port
> > > > (SCSIport) driver
> > > > and intercepts the calls to port driver.
> > > >
> > > > Now that MS has released a new port driver
> (Storport), we would
> > > like to make
> > > > our filter driver to work with Storport
> driver.
> > > >
> > > > I could not find any references or links
> related to migration
> > > issues on web
> > > > or DDK.
>
=== message truncated ==

__________________________________
Do You Yahoo!?
Upgrade Your Life
http://bb.yahoo.co.jp/