My device is a USB storage device. In my AddDevice() I create the USB FDO
with a device type of FILE_DEVICE_BUS_EXTENDER. In
IRP_MN_QUERY_DEVICE_RELATIONS I create a PDO with a device type of
FILE_DEVICE_MASS_STORAGE. I then respond to IRP_MN_QUERY_ID with a hardware
id of “GenDisk” which I think should make it load disk.sys. Now when I view
my device object with devview it says that there are only 2 FiDOs loaded
above me. One is PartMgr and the other is Diskperf, but no disk class FiDO.
My device still doesn’t show up in the drive manager or under My Computer.
Does anyone know what I am doing wrong?
Thanks
Brian
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
because diskperf & partmgr are attatched, disk.sys must also have had it’s
adddevice routine called, but probably failed in because u didn’t implement
one or more srbs.
At the very least, disk/classpnp will send you a claim device srb for which
u must return success.
-----Original Message-----
From: xxxxx@sginet.com [mailto:xxxxx@sginet.com]
Sent: Sunday, February 25, 2001 6:00 PM
To: NT Developers Interest List
Subject: [ntdev] Creating a disk device - disk.sys won’t attach
My device is a USB storage device. In my AddDevice() I create the USB FDO
with a device type of FILE_DEVICE_BUS_EXTENDER. In
IRP_MN_QUERY_DEVICE_RELATIONS I create a PDO with a device type of
FILE_DEVICE_MASS_STORAGE. I then respond to IRP_MN_QUERY_ID with a hardware
id of “GenDisk” which I think should make it load disk.sys. Now when I view
my device object with devview it says that there are only 2 FiDOs loaded
above me. One is PartMgr and the other is Diskperf, but no disk class FiDO.
My device still doesn’t show up in the drive manager or under My Computer.
Does anyone know what I am doing wrong?
Thanks
Brian
You are currently subscribed to ntdev as: xxxxx@timesn.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com