List of Net Adpaters

What is the preferred way to determine the current adapters in a W2K system?

I’ve used
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class{4D36E972-E325-11CE-BFC1-08002BE10318}
but it requires checking the “Characteristics” value to distinguish between
physical and other adapters. That’s ok but I cannot determine whether
an entry is *valid*, or just a remnant entry.

–Bob

Bob Loewer
Senior Principal Investigator
Sparta, Inc.


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

>“Bob” wrote in message news:xxxxx@ntdev…
>What is the preferred way to determine the current adapters in a W2K
system?

You don’t specify whether you’re looking to do this from user- or
kernel-mode. If you want to do it from user-mode, try the SetupDiXxxx APIs.
Simply enumerate all the devices of the class you desire.

Peter
OSR


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com