Re: IOCTL_NDIS_QUERY_GLOBAL_STATS on CE/PPC 2003

From: Maxim S. Shatskih (maxim_at_storagecraft.com)
Date: 02/27/04


Date: Fri, 27 Feb 2004 21:50:37 +0300


> Well, let's see. You have to have the driver return the indication that it
> supports the given OID via the standard OID OID_GEN_SUPPORTED_LIST. Once
> you've done that, the application level should be able to use NDISUIO and
> IOCTL_NDISUIO_QUERY_OID_VALUE with DeviceIoControl()

Exactly, for now, it works so and works fine, even without patching
OID_GEN_SUPPORTED_LIST :-)

> way in CE to do this (and that the old IOCTL_NDIS_QUERY_GLOBAL_STATS method
> is deprecated, even on the desktop).

Yes, but on desktop WMI is recommended instead as a replacement, and that's why
IOCTL_NDIS_QUERY_GLOBAL_STATS is deprecated. Any WMI in WinCE?

On the other hand, NDISUIO seems to be the standard part of PPC 2003 platform,
so it can be used. On the desktop, I would need to write my own protocol for
this (or use WMI, which is by far better).

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


Relevant Pages

  • Re: Wireless LAN SDK
    ... can use ndisuio for sure. ... I advice to use the protocol driver if you don't ... OIDs can be sent to miniport driver, WMI have user and kernel ...
    (microsoft.public.win32.programmer.networks)
  • Re: Accessing Ndis miniport from user mode application
    ... sticking to WMI, you confine yourself to strictly defined model - there are ... driver can indicate. ... to you - as I told you already, you should go for IOCTL model. ... Accessing custom OIDS through WMI. ...
    (microsoft.public.development.device.drivers)
  • Re: Writing kernel API functions
    ... Why not just use the existing WMI facilities, ... Windows 2003/XP/2000 Consulting ... > I do not want the service to have to issue any IOCTL to the driver at all. ... > I want the driver to be able to execute a kernel API call that will, ...
    (microsoft.public.development.device.drivers)
  • Re: Device Manager/Properties/Power Management Tab
    ... NDIS decides to succeed or fail those WMI IRPs. ... support pm related OIDs but that's certainly not enough to make ndis happy. ... Please do not send e-mail directly to this alias. ... loaded on this driver on both adapters ...
    (microsoft.public.development.device.drivers)
  • Re: Custom OIDs for WMI in NDIS miniport driver
    ... I am trying to add custom OIDs for WMI testing in my NDIS miniport ... the all  the custom OIDs in driver. ... I couldn't see my WMI classes in Wbemtest application after loading ...
    (microsoft.public.development.device.drivers)