Re: IOCTL_NDIS_QUERY_GLOBAL_STATS on CE/PPC 2003

From: Paul G. Tobey [eMVP] (ptobey_no_spam_at_instrument_no_spam.com)
Date: 02/26/04


Date: Thu, 26 Feb 2004 15:46:57 -0700

Or, is this a custom OID for your driver?

Paul T.

"Paul G. Tobey [eMVP]" <ptobey_no_spam@instrument_no_spam.com> wrote in
message news:uzJwChL$DHA.2576@tk2msftngp13.phx.gbl...
> The situation *is* different (totally), on Windows CE, at least for a lot
of
> things. Maybe you should define what it is that you are actually trying
to
> do, rather than how you're trying to do it...
>
> Paul T.
>
> "Maxim S. Shatskih" <maxim@storagecraft.com> wrote in message
> news:eg66xWL$DHA.688@tk2msftngp13.phx.gbl...
> > Well... you're right in the point that NDISUIO also has the "query
> OID"
> > IOCTL, but IOCTL_NDIS_QUERY_GLOBAL_STATS has no connections to NDISUIO.
> >
> > In fact, NDISUIO (at least on Windows, maybe the CE picture is
> another) is
> > just the protocol driver who converts the IOCTLs to things like
> NdisRequest,
> > WriteFile to NdisSend and so on.
> >
> > IOCTL_NDIS_QUERY_GLOBAL_STATS talks to NDIS itself, not to some
> protocol
> > driver. If it has some lame support in CE - then I will use NDISUIO.
> >
> > --
> > Maxim Shatskih, Windows DDK MVP
> > StorageCraft Corporation
> > maxim@storagecraft.com
> > http://www.storagecraft.com
> >
> >
> > "Paul G. Tobey [eMVP]" <ptobey_no_spam@instrument_no_spam.com> wrote in
> message
> > news:OYOYAPL$DHA.3828@TK2MSFTNGP10.phx.gbl...
> > > I'd guess that you send that through the NDISUIO driver, which you can
> look
> > > up in the help. Generally, you open it, then call DeviceIoControl()
to
> send
> > > messages to it.
> > >
> > > Paul T.
> > >
> > > "Maxim S. Shatskih" <maxim@storagecraft.com> wrote in message
> > > news:uYN2TAL$DHA.4072@tk2msftngp13.phx.gbl...
> > > > I need to send an OID query to my miniport.
> > > >
> > > > In Windows, I would use IOCTL_NDIS_QUERY_GLOBAL_STATS to do
this.
> > > >
> > > > This IOCTL is also noted in PB and PPC 2003 SDK headers, with no
> MSDN
> > > > Library (CD version at least) documentation and no sample code.
> > > >
> > > > Can I call this IOCTL on CE?
> > > >
> > > > If yes - how must I open and prepare the file handle for it to
> denote
> > > the
> > > > particular adapter, and not just "NDS0:"?
> > > >
> > > > --
> > > > Maxim Shatskih, Windows DDK MVP
> > > > StorageCraft Corporation
> > > > maxim@storagecraft.com
> > > > http://www.storagecraft.com
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Relevant Pages

  • Re: Connect or disconnect from network
    ... Paul G. Tobey ha escrito: ... > file from the SDK for your target device. ... > Constants and types to access the NDISUIO driver. ... > // by the input buffer length passed to DeviceIoControl. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Tracy engages gearbox before brain...
    ... Tag had some justification for his actions. ... Regardless of who it is, Champ Car should give the offending driver, in this case PT, a few races to cool down before they let him back on the track. ... Should Paul be subjected to a worse penality than historically they have handed down because he is Paul Tracy and has a big mouth at times? ... Legge's incident did not endanger herself or other drvers in the same way Tracy's did. ...
    (rec.autos.sport.cart)
  • Re: What is the equivalent of REG32 type in C#?
    ... Paul G. Tobey wrote: ... driver to add or remove an 'interested party'. ... implement a call back from the IST in the driver to managed code. ... For those who have done this kind of stuff, are ISTs ever done at ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Compiling modified driver
    ... As Paul pointed out earlier, don't modify files in the Public folder, so ... You have a project.reg for that kind of registry setting. ... new function driver in common.reg with appropriate flag. ... actual SOURCES file. ...
    (microsoft.public.windowsce.embedded)
  • Re: Accessing peripherals from a managed application
    ... And .NET CF 2.0 has serial port classes built into it... ... I tried the P/Invoke Wizard from Paul Yao's ... Maybe you open the driver with CreateFile, ... Call on the imported functions to access the hardware. ...
    (microsoft.public.windowsce.app.development)