Tech Support > Microsoft Windows > Drivers > Shared Memory between User app and Driver
Shared Memory between User app and Driver
Posted by Ankush on July 2nd, 2003


Hi

I want to create a shared memory interface between a user
application and a NDIS miniport driver. The purpose of
this interface is that the driver continuosly writes some
information to the shared memory which accesses this
information periodically.

Could you please suggest the best way of doing this ?

Thanks in advance
Ankush

Posted by Marc Reinig on July 2nd, 2003


Use NdisMRegisterDevice() to create a separate device object for your
miniport. Then use normal methods for sharing memory between User Mode and
Kernel Mode.

Marc Reinig
System Solutions

"Ankush" <ankushv@hotmail.com> wrote in message
news:022d01c340ba$9c9040a0$a101280a@phx.gbl...


Posted by Ankush Varma on July 2nd, 2003


Would file mapping - using CreateFile and
CreateFileMapping - work?

Or do I have to do something else?

Thanks in advance
Ankush


Similar Posts