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!!!
|