Ethereal-dev: RE: [Ethereal-dev] Listing network interfaces in Windows NT/98/2000

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Graham Bloice" <graham.bloice@xxxxxxxxxxxxx>
Date: Fri, 9 Feb 2001 17:31:20 -0000
> I was wondering if someone could tell me what is
> the Windows equivalent to the Unix SIOCGIFCONF ioctl() (for getting
> a list of network interface names).
>
> Does this mechanism differ under NT/98/Win2K?
>

As far as I know, there are two ways:

1) Grope in the registry.
2) Use the IP Help API function GetAdaptorsInfo, unfortunately this only
works on 98/Win2K.

The IP Help API while useful is very patchy on which functions are supported
the Win platforms.

Graham