CNdisApi::ConvertWindows2000AdapterName
static BOOL
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 internal network interface name returned by
GetTcpipBoundAdaptersInfo into the one you see in Network
Connections properties. This function should be called for Windows
2000 and XP only.
|