Driver and application communication

Hello all,
I want to know the way of communication between a Device driver and a
application using it.Is there any way of shared memory pages ?? I just
dont want to use DeviceIoControl to read what Driver is writing. Can I
allocate a page from driver which can be read & written from user mode.

Thanx in advance…do reply to E-Mail ID xxxxx@rediffmail.com

Hi Krishna,
Search for the string “Map kernel memory to user-mode” in NTDEV archives.
This topic is discussed in detail.
Regards,
Shashi

http://support.microsoft.com/default.aspx?scid=kb;EN-US;q191840


Bill McKenzie

“Krishna” wrote in message
news:xxxxx@ntdev…
>
> Hello all,
> I want to know the way of communication between a Device driver and a
> application using it.Is there any way of shared memory pages ?? I just
> dont want to use DeviceIoControl to read what Driver is writing. Can I
> allocate a page from driver which can be read & written from user mode.
>
> Thanx in advance…do reply to E-Mail ID xxxxx@rediffmail.com
>
>
>
>
>

Hundreds of times …

Look for the MapMem driver in the NT 4 DDK …


Gary G. Little
xxxxx@broadstor.com
xxxxx@inland.net

“Shashidhar” wrote in message
news:xxxxx@ntdev…
>
> Hi Krishna,
> Search for the string “Map kernel memory to user-mode” in NTDEV archives.
> This topic is discussed in detail.
> Regards,
> Shashi
>
>

“Krishna” wrote in message
news:xxxxx@ntdev…
>
> I want to know the way of communication between a Device driver and a
> application using it.Is there any way of shared memory pages ?? I just
> dont want to use DeviceIoControl to read what Driver is writing. Can I
> allocate a page from driver which can be read & written from user mode.
>

DO NOT use the map mem example from the NT V4 DDK. It was pulled because it
was pure junk.

Please: Check the archives first before asking…

http://www.osr.com/ntinsider/2000/sharing_memory.htm

Peter
OSR