1
icemanpro OP 用 GetAdaptersAddresses 获取到 AdapterAddresses,将 AdapterAddresses->Luid 用 ConvertInterfaceLuidToNameW 转换。
WCHAR buf[IF_MAX_STRING_SIZE + 1]; ConvertInterfaceLuidToNameW(&AdapterAddresses->Luid, buf, sizeof(buf)/sizeof(buf[0])); |
2
DGideas 2020-08-25 23:31:31 +08:00
感谢分享
|