Re: communicating with NDIS under user mode without using- IM driver

Thanks for your help.

but I still have a problem on it.

>First what OS you will support ?
>For Windows 2000 you can create a new device extension and use your
>normal IO control calls.

Where should I “create a new device extension”? I think I can’t create
device in user mode application.

Best Regards

Kevin Liang

Mathias Ellinger
To: “NT Developers Interest List”
Sent by:
xxxxx@lis cc:
ts.osr.com Subject: [ntdev] Re: communicating with NDIS
under user mode without using IM driver

2001/03/28 07:53 PM
Please respond to “NT
Developers Interest
List”

Hello,

> I am about to write a user mode diagnostic tools for our network
>adapter. But the constraint is I can only implement it in one user mode
>execution file (exe or dll). I knew communicating with NDIS driver under
>user mode need a IM driver. However, Is there any other way?

First what OS you will support ?
For Windows 2000 you can create a new device extension and use your
normal IO control calls.

When you will support Windos 9x too, you can write a protocol driver
stub on top of your ndis driver. The protcol driver receives commands
with IRP_MJ_IO_CONTROL and pass this data with NdisRequest() calls to
the NDIS driver.

elli


You are currently subscribed to ntdev as: xxxxx@accton-sh.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com