Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

about NDIS_WDM

0 views
Skip to first unread message

Jeff

unread,
Apr 3, 2008, 6:01:02 AM4/3/08
to
I want to use NDISWDM Sample of WIND DDK.

1. I seen the following sentence in the ndiswdm.html.

Remove all the code that are specific to interacting with NDISPROT. You
don't have to open a USB device by calling Zw function .

I don't know what's the mean of the sentice?

2. how to config usb device in NICInitAdapterWorker routine?

Thanks!

chris.a...@gmail.com

unread,
Apr 3, 2008, 7:48:19 AM4/3/08
to
On Apr 3, 5:01 am, Jeff <J...@discussions.microsoft.com> wrote:

> 1. I seen the following sentence in the ndiswdm.html.
>
> Remove all the code that are specific to interacting with NDISPROT. You
> don't have to open a USB device by calling Zw function .
>
> I don't know what's the mean of the sentice?

Meaning, if your network adapter loads as the function driver for a
USB device, your next lower I/O target will be the USB stack PDO
itself. Therefore, you can do I/O simply by sending URBs down the
stack, rather than opening a remote I/O target.

> 2. how to config usb device in NICInitAdapterWorker routine?

At a minimum, you'll need to configure and send a SELECT_CONFIGURATION
URB to your device in order to configure it on the bus and also get
handles for any pipes that the device exposes.

Jeff

unread,
Apr 6, 2008, 11:38:02 PM4/6/08
to
Tks a lot!
0 new messages