i constat that in all NT versions (NT4,2000,XP)  
the registry :  "Windows NT\CurrentVersion\NetworkCards"
contain all the netcards installed.
is it not more easy to select adapters with this list of adapters ?
 
because in registry   "{4D36E972-E325-11CE-BFC1-08002BE10318}"
there are netcards + others drivers listed....
 
so, the function PacketGetAdapterNames() may return and install driver NPF* for each card found ? 
 
is it good or i did'nt understand the feature ?
 
thanks.
 
(in precedents posts, some users have problems with PacketGetAdapterNames() ?)
 
----- Original Message -----
Sent: Thursday, November 07, 2002 9:30 AM
Subject: Re: [WinPcap-users] simplify PacketGetAdapterNames ?

I don't understand clearly the advantage in looking under "Windows
NT\CurrentVersion\NetworkCards" rather than under
"{4D36E972-E325-11CE-BFC1-08002BE10318}".
Does current solution miss some adapters?
Moreover, Windows keeps information about the adapters in several different
locations in the registry, and often the position of those locations and
their content changes from one version to another. This is the reason of the
complexity of PacketGetAdapterNames(). I accept suggestions about the best
(and more stable) location to use.

Loris

Reply via email to