C language function:GetPerAdapterInfo sample codes

Search sample code in the internet.It is the result.


TITLE : ThreatExpert Blog: Agent.btz - A Threat That Hit Pentagon
Besides the basic system information above, Agent.btz contains the code that calls GetAdaptersInfo() and GetPerAdapterInfo() APIs in order to query network adapterfs IP and MAC address, IP addresses of the network adapterfs default gateway, primary/secondary WINS, DHCP and DNS servers. The collected network details are also saved into the log file........
http://blog.threatexpert.com/2008/11/


TITLE : ThreatExpert Blog: Agent.btz - A Threat That Hit Pentagon
Besides the basic system information above, Agent.btz contains the code that calls GetAdaptersInfo() and GetPerAdapterInfo() APIs in order to query network adapterfs IP and MAC address, IP addresses of the network adapterfs default gateway, primary/secondary WINS, DHCP and DNS servers. The collected network details are also saved into the log file........
http://blog.threatexpert.com/2008/11/agentbtz-threat-that-hit-pentagon.html
TITLE : Network Adapters and Configuration :: Chapter 3. Internet Protocol Helper APIs :: Pocket pc network programming :: Programming :: eTutorials.org
If you need more specific information about an individual adapter's configuration, such as the DNS address list, you can use the GetPerAdapterInfo() function. To use it, however, you must already know the Index of the particular adapter you want to query. This can be obtained either from the IP_ADAPTER_INFO structure's Index field or by using the GetAdapterIndex() function:.......
http://etutorials.org/Programming/Pocket+pc+network+programming/Chapter+3.+Internet+Protocol+Helper+APIs/Network+Adapters+and+Configuration/
TITLE : Network Adapters and Configuration :: Chapter 3. Internet Protocol Helper APIs :: Pocket pc network programming :: Programming :: eTutorials.org
DWORD GetPerAdapterInfo(LONG IfIndex, IP_PER_ADAPTER_INFO.......
http://etutorials.org/Programming/Pocket+pc+network+programming/Chapter+3.+Internet+Protocol+Helper+APIs/Network+Adapters+and+Configuration/
TITLE : ParseNetworkString function (Windows)
DWORD GetPerAdapterInfo(.......
http://msdn.microsoft.com/en-us/library/windows/desktop/aa366012(v=vs.85).aspx
TITLE : The "New ipconfig" and the IP Helper API - CodeProject
err = ::GetPerAdapterInfo( m_dwIndex, pPerAdapt, &ulLen );.......
http://www.codeproject.com/Articles/4004/The-quot-New-ipconfig-quot-and-the-IP-Helper-API
TITLE : The "New ipconfig" and the IP Helper API - CodeProject
err = ::GetPerAdapterInfo( m_dwIndex, pPerAdapt, &ulLen );.......
http://www.codeproject.com/Articles/4004/The-quot-New-ipconfig-quot-and-the-IP-Helper-API
search Google

https://www.google.com/#q=GetPerAdapterInfo