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 14:59:07 -0700

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: How to pass a structture to a driver using Deviceiocontrol
    ... The IOCTL is just a nr for the switch. ... DWORD GBS_IOControl( ... dwRet = GetHandlerValues; ... DeviceIoControl to a service from C# application. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Dynamic Switching at Runtime.
    ... DeviceIoControl function is always associated with IoControl function ... I did see a function controller driver NET2280 for which the dll can ... be created but it does not have the code which handles the IOCTL ... HANDLE hUfn = NULL; ...
    (microsoft.public.windowsce.embedded)
  • Re: WDM streaming driver and user mode interaction
    ... In your driver what you get is SRB_GET_DEVICE_PROPERTY. ... property item dwPropId. ... It is more than enough to cover all your needs as far as IOCTL are ... >> You can use that file handle to call DeviceIoControl. ...
    (microsoft.public.development.device.drivers)
  • Re: How to pass a structture to a driver using Deviceiocontrol
    ... The IOCTL is just a nr for the switch. ... DWORD GBS_IOControl( ... dwRet = GetHandlerValues; ... I guess you have imported the DeviceIOControl API into your C# application. ...
    (microsoft.public.windowsce.platbuilder)
  • Windows WDM Smartcard IFD handler for Server 2003: RDF_IOCTL_VENDOR
    ... I have encountered a problem when attempting to define an IOCTL to be used ... The callback is entered and a special APDU is sent to the ... the request and response buffer are the same. ... OVERLAPPED structure in the DeviceIoControl, ...
    (microsoft.public.windowsxp.device_driver.dev)