Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > Inter-driver communication

Reply
Thread Tools Display Modes

Inter-driver communication

 
 
Mohit Gupta
Guest
Posts: n/a

 
      06-18-2010
I have 2 drivers, and want one driver to communicate with another driver. How
can I achieve that?

For example, I have 2 drivers: Driver1 and Driver2.

The purposes of Driver1 is to allocate non-paged memory which it uses for
reading/writing purposes.

Driver2 would like to read from the same memory address created by Driver1
previously. Driver2 can do that only after know from Driver1 the address of
non-paged memory. How that can be achieved?

Few assumptions

1) Driver1 is loaded before Driver2

2) Driver1 and Driver2 has to work separately.

3) Only Driver1 can allocated memory

4) There is no pre-defined or hard-coded memory address used by Driver1 for
allocating memory.

Please help!!!
 
Reply With Quote
 
 
 
 
Pavel A.
Guest
Posts: n/a

 
      06-18-2010
In addition to Mr. Burn's advise, there are callbacks.
Read on ExCreateCallback, ExNotifyCallback.

-- pa/7


"Mohit Gupta" <> wrote in message
news:18823529-ECBB-4D5B-9D6E-...
> I have 2 drivers, and want one driver to communicate with another driver.
> How
> can I achieve that?
>
> For example, I have 2 drivers: Driver1 and Driver2.
>
> The purposes of Driver1 is to allocate non-paged memory which it uses for
> reading/writing purposes.
>
> Driver2 would like to read from the same memory address created by Driver1
> previously. Driver2 can do that only after know from Driver1 the address
> of
> non-paged memory. How that can be achieved?
>
> Few assumptions
>
> 1) Driver1 is loaded before Driver2
>
> 2) Driver1 and Driver2 has to work separately.
>
> 3) Only Driver1 can allocated memory
>
> 4) There is no pre-defined or hard-coded memory address used by Driver1
> for
> allocating memory.
>
> Please help!!!


 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DTM Studio 1.5 New Submission Fails Ken Spikowski Windows Vista Drivers 1 02-25-2010 06:52 PM
What's the different for PNPDTest between WLK 1.5 and WLK 1.2 Wayne Windows Vista Drivers 2 01-18-2010 08:32 PM
Re: Driver "update" during development cycle and WHQL certification Don Burn Windows Vista Drivers 0 11-20-2009 06:10 PM
COM port driver inf issue shivaprasad Windows Vista Drivers 4 11-14-2009 04:45 PM
Game Compatibility BCurrey Windows Vista Games 6 11-29-2007 08:11 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59