Hello,
I think I have written about this problem before, may
be I was not able to explain it clearly.
Well I am struck with this issue for some time now and
would appreciate any help.
I have one configured logical disk through some
utility at the boot time.
I have one filter driver which attaches itself as a
Lower Filter driver to the disk.
Windows 2000 sends me the PDO of the logical Disk and
I create Fido of it, but at the same time when
DISK.sys sends me the SRB_FUNCTION_CLAIM_DEVICE, I
fail the claim.
Now when I get IRP_MN_START_DEVICE, I create another
DeviceObject ( a virtual Device Object) and call
IoInvalidateDeviceRelations().
Now I get IRP_MN_DEVICE_RELATIONS, here in the
type==BUSRELATIONS, I put the count=1 and give the
adress of the virtual deviceObject and do all other
required things.
After returning it successful, I was expecting the PNP
Manager to send IRP_MN_QUERY_CAPABILITIES and
IRP_MN_QUERY_ID, etc for the virtual device Object
before sending me the IRP_MN_START_DEVICE.
But PNP Manager sends me directly IRP_MN_START_DEVICE
for the virtual device object and I try to register
the interface by calling
IoRegisterDeviceInterface()but it fails returning
0xc0000010(Invalid PDO pointer).
Thanks in Advance,
Regards,
Gurpreet
PS: My idea is that I intent to run Ios through the
virtual DeviceObject.
Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.
http://phone.yahoo.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
> -----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Gurpreet Anand
Sent: Friday, September 28, 2001 1:48 PM
To: NT Developers Interest List
Subject: [ntdev] PNP Manager
Hello,
I think I have written about this problem before, may
be I was not able to explain it clearly.
Well I am struck with this issue for some time now and
would appreciate any help.
I have one configured logical disk through some
utility at the boot time.
I have one filter driver which attaches itself as a
Lower Filter driver to the disk.
Windows 2000 sends me the PDO of the logical Disk and
I create Fido of it, but at the same time when
DISK.sys sends me the SRB_FUNCTION_CLAIM_DEVICE, I
fail the claim.
Failing this claim which is coming from the AddDevice routine of disk.sys
causes the system
to tear down the device stack. I don’t think you want to do this. I am
surprised your getting a IRP_MN_START_DEVICE at all.
Now when I get IRP_MN_START_DEVICE, I create another
DeviceObject ( a virtual Device Object) and call
IoInvalidateDeviceRelations().
Now I get IRP_MN_DEVICE_RELATIONS, here in the
type==BUSRELATIONS, I put the count=1 and give the
adress of the virtual deviceObject and do all other
required things.
After returning it successful, I was expecting the PNP
Manager to send IRP_MN_QUERY_CAPABILITIES and
IRP_MN_QUERY_ID, etc for the virtual device Object
before sending me the IRP_MN_START_DEVICE.
But PNP Manager sends me directly IRP_MN_START_DEVICE
for the virtual device object and I try to register
the interface by calling
IoRegisterDeviceInterface()but it fails returning
0xc0000010(Invalid PDO pointer).
Thanks in Advance,
Regards,
Gurpreet
PS: My idea is that I intent to run Ios through the
virtual DeviceObject.
Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.
http://phone.yahoo.com
You are currently subscribed to ntdev as: xxxxx@east.sun.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