Re: Setting OID_802_11_BSSID through DeviceIOControl()

Tech-Archive recommends: Fix windows errors by optimizing your registry



Correct, on Windows NT, NDISUIO is not a part of the official platform and
should be considered to be as "auxiliary shim for WZC service".

The sources (maybe 99% matching the real binary and 100% working) are
distributed under the name of NDISPROT in the DDK/WDK.

On Windows CE, on the other side, NDISUIO is the documented part of the
platform. A very convinient thing to control your NDIS IMs.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@xxxxxxxxxxxxxxxx
http://www.storagecraft.com

"Stephan Wolf [MVP]" <stewo68@xxxxxxxxxxx> wrote in message
news:1188994521.190427.193160@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
First, you should not try to communicate with the NDISUIO driver that
comes with Windows because IIRC it is slightly different in all
Windows variants and you never know exactly which NDISUIO version you
are currently talking to. This is why the NDISUIO driver sample in the
DDK/WDK has been renamed to NDISPROT some time ago. You could modify
and use your own NDISPROT driver to set OIDs.

The NDIS Wrapper itself also provides an I/O control interface, which
allows you to (unfortunately only) read OIDs via
IOCTL_NDIS_QUERY_GLOBAL_STATS, see

"How can I access my NDIS miniport driver from a user-mode
application?"
http://www.ndis.com/faq/QA10290101.htm

Sample source code is here:

http://www.pcausa.com/Utilities/macaddr2.htm

IIRC, there is another way to set OIDs wihtout using NDISUIO or some
self-made driver. I'll have to check my archives...

Stephan


.



Relevant Pages

  • Re: Connect or disconnect from network
    ... But I have done my software with Windows XP and I can do query and set ... Where and How can I get the NDISUIO operations for Windows XP? ... Paul G. Tobey ha escrito: ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Accessing Data Link Layer with win32
    ... In usual Windows, MS have chosen to not document or support NDISUIO. ... with some custom hardware that implements a link layer protocol but ...
    (microsoft.public.development.device.drivers)
  • ndisuio question-urgent
    ... I have spent a lot of time on using ndisuio, I am very anxious for your help.... ... I try to use Ndisuio in windows 2000 or XP. ... When I used “add hardware wizard” to install myndisuio driver, I specified the inf file location and then click ok, the system popup a dialog,it shows ”the specifed location doesn’t contain information about your hardware ” ...
    (microsoft.public.development.device.drivers)
  • Re: IOCTL_NDIS_QUERY_GLOBAL_STATS on CE/PPC 2003
    ... > In fact, NDISUIO (at least on Windows, maybe the CE picture is ... > just the protocol driver who converts the IOCTLs to things like ... If it has some lame support in CE - then I will use NDISUIO. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Difference between NDIS stream driver and protocol driver
    ... Could anyone tell me what is the difference between a network stream driver and a protocol driver. ... NDISUIO is being implemented as a stream driver while in DDK i have a sample of a protocol driver. ... A major difference between the "Big Windows" version of NDISUIO and the Windows CE version of NDISUIO is the implementation of the user-mode interface to the driver. ...
    (microsoft.public.development.device.drivers)