ConvertWindowsNTAdapterName

static BOOL CNdisApi::ConvertWindowsNTAdapterName (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-friendly adapter name placed in case of success

dwUserFriendlyNameLength
Size of buffer in bytes pointed by szUserFriendlyName

Remarks:
This function converts internal network interface name returned by GetTcpipBoundAdaptersInfo into the one you see in Network Connections properties. This function should be called for Windows NT4.0 only.