Call another driver (not on same device stack)

Hi All,

How can I call another (IOCTL) driver which is not on same device stack?
eg:

a.sys calling IOCTL of driver b.sys, both the drivers are not on same stack.

Thanks in advance,
Anand


Speed up your surfing with Juno SpeedBand.
Now includes pop-up blocker!
Only $14.95/month -visit http://www.juno.com/surf to sign up today!

Hello Anand,

Use IoGetDeviceObjectPointer() to get the target device object.

xxxxx@juno.com wrote:

Hi All,

How can I call another (IOCTL) driver which is not on same device stack?
eg:

a.sys calling IOCTL of driver b.sys, both the drivers are not on same stack.

Thanks in advance,
Anand


Speed up your surfing with Juno SpeedBand.
Now includes pop-up blocker!
Only $14.95/month -visit http://www.juno.com/surf to sign up today!


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@bitdefender.com
To unsubscribe send a blank email to xxxxx@lists.osr.com


Ignorance more frequently begets confidence than does knowledge.
— Charles Darwin


This message was scanned for spam and viruses by BitDefender.
For more information please visit http://linux.bitdefender.com/

Open the second driver by IoGetDeviceObjectPointer, the name can be
obtained from the notification registered by IoRegisterPlugPlayNotification.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From:
To: “Windows System Software Devs Interest List”
Sent: Monday, March 21, 2005 2:03 PM
Subject: [ntdev] Call another driver (not on same device stack)

>
> Hi All,
>
> How can I call another (IOCTL) driver which is not on same device stack?
> eg:
>
> a.sys calling IOCTL of driver b.sys, both the drivers are not on same stack.
>
> Thanks in advance,
> Anand
>
> ___________________________________________________________________
> Speed up your surfing with Juno SpeedBand.
> Now includes pop-up blocker!
> Only $14.95/month -visit http://www.juno.com/surf to sign up today!
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com