api used by ipconfig

  • Thread starter Thread starter Akash
  • Start date Start date
Akash said:
what are the API used by windows for ipconfig/all .
QUOTE]

these apis are very classic
you can ask on win32 api newsgroup :
news://nntp.aioe.org/comp.os.ms-windows.programmer.win32
 
Hi Akash,

You may use dumpbin.exe tool to examine the import API list of
ipconfig.exe. This will help to enlighten what APIs ipconfig used to get
various network information. Some of the interesting APIs I got:

iphlpapi.dll
76CF4B66 1B GetAdaptersAddresses
76CFE024 6F NhGetInterfaceNameFromGuid
76CF2DF4 2E GetInterfaceInfo
76CF6264 2 AllocateAndGetIfTableFromStack
76CF4966 2F GetIpAddrTable
76CF6B05 32 GetIpForwardTable
76CF5A67 70 NhpAllocateAndGetInterfaceInfoFromStack
76CF6748 3A GetNetworkParams
76CF6BA8 36 GetIpStatistics

netman.dll
77842FCA 5 HrPnpInstanceIdFromGuid
778417B6 4 HrLanConnectionNameFromGuidOrPath

DNSAPI.dll
76EE678F 25 DnsGetCacheDataTable
76ED9E13 22 DnsFree
76EE347F 49 DnsQuery_W
76ED403F 4E DnsRecordListFree
76EEAB37 1E DnsFlushResolverCache
76ED3CA0 42 DnsQueryConfigAllocEx
76ED9DA6 23 DnsFreeConfigStructure

If you wanted to get more information about using these IP helper APIs,
please refer to the article below:
"More on using IP Helper API's"
http://www.codeproject.com/KB/IP/IPHelper.aspx

Finally, this newsgroup may focus on the C++/CLI programming language
related questions. You'd better post in
microsoft.public.win32.programmer.networks newsgroup to get more
professional helpful from the network experts there. Thanks.

Best regards,
Jeffrey Tan
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top