C language function:GetAdapterIndex sample codes

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


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 GetAdapterIndex(LPWSTR AdapterName, ULONG *pIfIndex);.......
http://etutorials.org/Programming/Pocket+pc+network+programming/Chapter+3.+Internet+Protocol+Helper+APIs/Network+Adapters+and+Configuration/
TITLE : GetAdapterIndex function (Windows)
DWORD GetAdapterIndex(.......
http://msdn.microsoft.com/ja-jp/library/windows/desktop/aa365909(v=vs.85).aspx
TITLE : More on using IP Helper APIfs - CodeProject
dwRet = GetAdapterIndex(A2W(adapterInfo.AdapterName), &m_ulIfIndex);.......
http://www.codeproject.com/Articles/5960/More-on-using-IP-Helper-API-s
search Google

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