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/27/04
- Next message: Paul G. Tobey [eMVP]: "Re: How to connect windows2000 with ActiveSync"
- Previous message: mobilevil: "Re: Please help me... -_-;;;"
- In reply to: Maxim S. Shatskih: "Re: IOCTL_NDIS_QUERY_GLOBAL_STATS on CE/PPC 2003"
- Next in thread: Maxim S. Shatskih: "Re: IOCTL_NDIS_QUERY_GLOBAL_STATS on CE/PPC 2003"
- Reply: Maxim S. Shatskih: "Re: IOCTL_NDIS_QUERY_GLOBAL_STATS on CE/PPC 2003"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 27 Feb 2004 11:05:20 -0700
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() to send that OID
request to your miniport. You should be able to look at the shared source
PCX500 miniport to see exactly what it's supposed to look like.
I don't know much about NDIS internals, but it seems like this is the only
way in CE to do this (and that the old IOCTL_NDIS_QUERY_GLOBAL_STATS method
is deprecated, even on the desktop).
Paul T.
"Maxim S. Shatskih" <maxim@storagecraft.com> wrote in message
news:uzIJrgQ$DHA.2184@TK2MSFTNGP12.phx.gbl...
> > Or, is this a custom OID for your driver?
>
> Yes, a custom OID of my driver (NDIS IM), which is absolutely
parameter-less.
> Just a way for a user app to "kick" the driver to so some operation.
>
> I'm planning to use the custom OID for this. In the driver code, the query
for
> this OID starts the operation (it can run async, the result reporting to
the
> caller is not necessary).
>
> In the app code, I must send the OID query for this OID.
>
> I also do not want to have large differences from Windows by being too
> CE-specific, I want the code to be as Windows compatible as possible.
>
> --
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> maxim@storagecraft.com
> http://www.storagecraft.com
>
>
- Next message: Paul G. Tobey [eMVP]: "Re: How to connect windows2000 with ActiveSync"
- Previous message: mobilevil: "Re: Please help me... -_-;;;"
- In reply to: Maxim S. Shatskih: "Re: IOCTL_NDIS_QUERY_GLOBAL_STATS on CE/PPC 2003"
- Next in thread: Maxim S. Shatskih: "Re: IOCTL_NDIS_QUERY_GLOBAL_STATS on CE/PPC 2003"
- Reply: Maxim S. Shatskih: "Re: IOCTL_NDIS_QUERY_GLOBAL_STATS on CE/PPC 2003"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|