Re: Setting OID_802_11_BSSID through DeviceIOControl()
- From: "Maxim S. Shatskih" <maxim@xxxxxxxxxxxxxxxx>
- Date: Wed, 5 Sep 2007 19:22:13 +0400
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
.
- References:
- Re: Setting OID_802_11_BSSID through DeviceIOControl()
- From: Stephan Wolf [MVP]
- Re: Setting OID_802_11_BSSID through DeviceIOControl()
- Prev by Date: Re: Windows USB selective suspend mode
- Next by Date: Re: how to kmdf - UNDO wdfdeviceCreate(..) in ADD_DEVICE
- Previous by thread: Re: Setting OID_802_11_BSSID through DeviceIOControl()
- Next by thread: Re: Setting OID_802_11_BSSID through DeviceIOControl()
- Index(es):
Relevant Pages
|