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

Re: Shared Memory between User app and Driver by Marc

Marc
Wed Jul 02 13:10:54 CDT 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...
> 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 ?



Re: Shared Memory between User app and Driver by Ankush

Ankush
Wed Jul 02 13:29:46 CDT 2003

Would file mapping - using CreateFile and
CreateFileMapping - work?

Or do I have to do something else?

Thanks in advance
Ankush
>-----Original Message-----
>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...
>> 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 ?
>
>
>.
>