ConvertWindows2000AdapterName

static BOOL CNdisApi::ConvertWindows2000AdapterName (LPCSTR szAdapterName, LPSTR szUserFriendlyName, DWORD dwUserFriendlyNameLength);

Return Value:
TRUE in case of success, FALSE otherwise

Parameters:
szAdapterName
Internal adapter name returned by GetTcpipBoundAdaptersInfo call.

szUserFriendlyName
Pointer to user allocated buffer where user user-friendly name placed in case of success

dwUserFriendlyNameLength
Size of buffer in bytes pointed by szUserFriendlyName

Remarks:
This function converts the internal network interface name returned by GetTcpipBoundAdaptersInfo into the one you normally observe in Network Connections properties. This function should be called for Windows 2000 and later.