network adaptor device type

Hi,

I want to know if from an upper filter driver for the Network adapter class, can find if it’s wireless device?

Thank you.

Try sending IOCTL_NDIS_QUERY_GLOBAL_STATS down the stack with OID_GEN_MEDIA_IN_USE.

Hi Jeffrey,

First of all thanks for your response. I tried how you said but IoCallDriver down the stack failed
with status STATUS_UNSUCCESSFUL. I assume that the lower driver doesn’t support this call
or I’m doing something wrong.

Thank you.

On 23-Jan-2015 17:42, xxxxx@yahoo.com wrote:

Hi Jeffrey,

First of all thanks for your response. I tried how you said but IoCallDriver down the stack failed
with status STATUS_UNSUCCESSFUL. I assume that the lower driver doesn’t support this call
or I’m doing something wrong.

Thank you.

OID_GEN_MEDIA_IN_USE is supported by any miniport, NDIS5 or NDIS6.
If you cannot get it, there’s some error in your code,
or the underlying minport isn’t ready yet.

– pa

Hi Pavel,

I have a wdm upper filter driver and I found this topic regarding my problem:
http://www.osronline.com/showThread.cfm?link=75899

Thank you.