[Q] Getting all the infor contained within "Network Connections" via API.... (Again)


2007-05-14 12:24:05 PM
delphi211
G'Day,
- Using Delphi 6.03 Enterprise
- I'd like to get a list of all the adapters in my machine even the
disabled ones. And need to support Windows 2000 on up.
- It appears that IP Helper Functions will do this ('iphlpapi.dll').
- I just cannot get it to work using GetInterfaceInfo et al (Disabled
devices are not being returned etc.)
- So has anybody got some sample code they could post showing me how to
list all the adapters enabled and/or disabled as "Network Connections"
does?
TIA
--
--Donovan