SetupApi to get network adapter properties

Duh…

That should work. I think we overlooked it because of the way the OP stated
the question.

Thanks for pointing it out!

Thomas


From:
Sent: Tuesday, December 22, 2009 7:57 AM
To: “Windows System Software Devs Interest List”
Subject: RE:[ntdev] SetupApi to get network adapter properties

> What’s wrong with WlanEnumInterfaces?
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer

Avanish Raju wrote:

What about the way I suggested, of trying to check Compatible IDs, and
see if the queried adapter has PCI\CC_028000 or PCI\CC_020000 in its
list? Could you please chime in on the practicality/consistency of
such an approach?

It should be clear, I hope, that this works only if the adapter is a PCI
card. A USB wireless adapter won’t have a PCI class code at all.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.