Regards
Mark Dormer
(If you want to look it up in regedit, this translates to the adapter
instance key under
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11C
E-BFC1-08002bE10318}\xxxx (never open this key programatically! - use
SetupDi API for this). The list of allowed values is under the "Ndi\params"
subkey under the device key).
However, I doubt whether this will be useful to you at all to try and get
the duplex in any type of generic fashion for all brands of NIC. E.g. for
my 3COM Card, the duplex is stored under the "Media_type" parameter, where
for my Intel Card, it's stored under the "SpeedDuplex" parameter. You
probably find as many parameter names as you have vendors. Of course if
this is for an internal app, and your customer's organization standardized
on one specific vendor, you may be able to get at least some of the way
there.
I didn't think it would be easy/possible.
Regards
Mark Dormer MVP
"Duke Sun" <qua...@microsoft.com> wrote in message
news:wfuK0dtYCHA.2224@cpmsftngxa08...