Sending Irps to a driver

hello !
when I create DeviceObject with NdisMRegisterDevice, I cannot send an Irp to
it from another driver.
When I call DeviceIoControl from usermode application everything works fine.
But when I call
IoBuildDeviceIoControlRequest(…)

then IoCallDriver(…)

the Irp doesnt reach destionation DeviceObject …

DeviceObject is valid.

Is it a feature of NDIS or what can it be ?


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

I don’t think NDIS really checks to see where the request is coming
from. So you should be able to call your Miniport from another driver. I
would suggest you to enable full NDIS tracing and find out where the
request is failing.

-Eliyas

-----Original Message-----
From: jenson [mailto:xxxxx@beep.ru]
Sent: Friday, July 27, 2001 3:17 AM
To: NT Developers Interest List
Subject: [ntdev] Sending Irps to a driver

hello !
when I create DeviceObject with NdisMRegisterDevice, I cannot send an
Irp to
it from another driver.
When I call DeviceIoControl from usermode application everything works
fine.
But when I call
IoBuildDeviceIoControlRequest(…)

then IoCallDriver(…)

the Irp doesnt reach destionation DeviceObject …

DeviceObject is valid.

Is it a feature of NDIS or what can it be ?


You are currently subscribed to ntdev as: xxxxx@microsoft.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