Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
What is the latest info on EnumIPinfo(). Will it work on Win9x, NT4, Win2k, and XP after RC3? What are the client requirement fot it to work on Win9x, NT?
Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear,
The last kix2001 RC3 documentation contains following information:
ENUMIPINFO
Action Enables enumeration of TCP/IP information of all network adapters of the local system.
Syntax ENUMIPINFO (index, type)
Parameter Index A numeric value representing the IP information group you want to discover (where 0 is the first group). Type Optional parameter identifying the type of information you want to enumerate. 0 IP address 1 Subnet mask 2 Adapter description 3 Default gateway
Returns A string representing the requested information.
Remarks This function is available on Windows˙XP, Windows 2000 and Windows 9x, but not on Windows NT. Furthermore, this function relies on a correct installation of the IP Helper API which is installed as part of Microsoft Internet Explorer 5.0 and higher. Note that there is a known issue with installing the required DLLs on Windows 9x. Full details on this issue can be found in the following KnowledgeBase article: http://support.microsoft.com/support/kb/articles/Q234/5/73.ASP.
Yeah, I'm sure if there was an all-inclusive API, Ruud would have used it. Weird, Microsoft can get you the OS info you need from a command line (ipconfig) but they can't give it to you in an API ?