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:31:23 -0700

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: Setting OID_802_11_BSSID through DeviceIOControl()
    ... Correct, on Windows NT, NDISUIO is not a part of the official platform and ... On Windows CE, on the other side, NDISUIO is the documented part of the ... and use your own NDISPROT driver to set OIDs. ...
    (microsoft.public.development.device.drivers)
  • 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)
  • Re: Cannot restore registry
    ... | feature, follow these steps: ... When the Windows Advanced Options menu appears, ... | Feature: Device Driver Roll Back ... | Feature: System Restore ...
    (microsoft.public.windowsxp.configuration_manage)
  • Re: Boot up problem... with a difference
    ... Safe mode boot is fine. ... Looked further into the last errors and noticed PXRD Driver. ... Event Type: Error ... Windows cannot unload your classes registry file - it is still in ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Cannot restore registry
    ... | feature, follow these steps: ... When the Windows Advanced Options menu appears, ... | Feature: Device Driver Roll Back ... | Feature: System Restore ...
    (microsoft.public.windowsxp.configuration_manage)