Hi All,
I have to drivers and I wanted to share two lists and their synchronization
object, I want the lists to be in paged memory.
So can I allocate the memory for list and the synchronization objects in
Driver1 and send and device IO control to driver2 using
IoBuildDeviceIoControlRequest() with the addresses of the lists and the sync
objects and access them in the driver2. So now both drivers know the address
of the lists and sync objects they can start using the common memory. Is
this method correct?
Any information is helpful.
Thanks,
Kedar.
This would work. Perhaps more important is that you ensure that Driver 1
doesn’t go away whilst Driver 2 is using what the former set up. Opening a
handle to Driver 1’s device object should achieve that. Or you can cause
Driver 1 to never unload.
–
James Antognini
Windows DDK Support
This posting is provided “AS IS” with no warranties, and confers no rights.
“Kedar” wrote in message news:xxxxx@ntfsd…
> Hi All,
>
> I have to drivers and I wanted to share two lists and their
synchronization
> object, I want the lists to be in paged memory.
>
> So can I allocate the memory for list and the synchronization objects in
> Driver1 and send and device IO control to driver2 using
> IoBuildDeviceIoControlRequest() with the addresses of the lists and the
sync
> objects and access them in the driver2. So now both drivers know the
address
> of the lists and sync objects they can start using the common memory. Is
> this method correct?
>
> Any information is helpful.
>
> Thanks,
> Kedar.
>
>
>