Re: NDISUIO.SYS - Windows XP SP2 - User Mode App Fails

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Pavel A. wrote:
> Here's one little problem. You ask about ndisuio - but quote from sources of
> ndisprot. They are no longer the same. Ndisuio can have additional limitations
> on the input buffer.
>
> Add plenty of debug trace into your own clone of ndisprot.
> ( you may want to use pre-WDF version of ndisprot from
> win2003 SP1 DDK; it is easier to install: no wdf binaries...)

Aha. This is what I was afraid of, and this is the original reason
that I was trying to just use NDISUIO. I'm working on something else
that consumes all of my time, and it seemed that using NDISUIO.SYS
would be a quick and easy way for me to transport ethernet frames from
ring-3 without having to develop a driver. I have to maintain 4
projects currently, so I cannot afford to embark upon a driver project,
not even probing an existing driver. (Frankly, that's Microsoft's job.
I'm following their documentation, after all). If I have to start
debugging someone else's driver, then it's not quick and easy anymore.

I was using code from the DDK for Windows CE, at least to read it to
see what was going on in the driver. Then I used code for for DDK I
grabbed from old IT department disk (version unknown, dated 2001).
Then at suggestion of another poster, I downloaded WDF and saw the code
for NDISPROT, and how it was checking for spoofed source MAC address
whereas the older NDISUIO driver was not, and how there was no code in
WDF version for uiotest. So it seems that the DDK I need is the one I
skipped, and is probably the one containing the source code for the
driver that is actually running on my system.

So my question is this: Given that my laptop is running Windows XP
professional Build 2600, SP2, what can I do *now* to drive NDISUIO.SYS?
It's here, it's running, so it would seem it is a matter of setting
proper flags in IOCTL'S.

Undoubtedly, there have been many that figure out what flags are needed
to drive this version of NDISUIO.SYS. Where is *that* user-mode source
code?

-Le Chaud Lapin-

.



Relevant Pages

  • Re: win xp november ddk uiotest - ndisuio failure
    ... NDISPROT is version of NDISUIO in W2003 Server DDK and not part of XP DDK. ... > - inf file references ...
    (microsoft.public.win32.programmer.networks)
  • Re: NDISUIO.SYS - Creating User-Mode App
    ... You should install the latest ddk and build ndisprot yourself and use that ... is basically ndisuio (same interface), but the interface to ndisuio is not ... > I took code from UIOTEST.C in the DDK to see if I could get a test case ...
    (microsoft.public.win32.programmer.kernel)
  • Re: How can i use Ndisuio in win32
    ... What I do in WinCE is that from my application I opened NDISUIO using ... NDISUIO(or NDISPROT) sample provided in DDK, ... possible that instead of writing a separate driver I could just use the NDIS ...
    (microsoft.public.development.device.drivers)
  • Re: win xp november ddk uiotest - ndisuio failure
    ... Additionally, AFAIK in driver have to be only one GUID, that of class to ... > NDISPROT is version of NDISUIO in W2003 Server DDK and not part of XP DDK. ...
    (microsoft.public.win32.programmer.networks)
  • Re: WiFi how to send OIDs from user mode (windows vista)
    ... Building your own version of ndisprot is preferable to ndisuio if that is ... Use NDISUIO to send your OID-set requests. ... - Use the passthru DDK sample to insert a IM driver in device's stack and ...
    (microsoft.public.development.device.drivers)