Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / March 2008

Tip: Looking for answers? Try searching our database.

api used by ipconfig

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Akash - 14 Mar 2008 13:39 GMT
what are the API used by windows for ipconfig/all .

url:http://ureader.com/gp/1452-1.aspx
lucas69 - 14 Mar 2008 17:53 GMT
> [B]what are the API used by windows for ipconfig/all .
> QUOTE]
>
> these apis are very classic
> you can ask on win32 api newsgroup :
> [url]news://nntp.aioe.org/comp.os.ms-windows.programmer.win32[/url]
Jeffrey Tan[MSFT] - 17 Mar 2008 06:21 GMT
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:
msdnmg@microsoft.com.

==================================================
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.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.