Changeset 62466 in vbox for trunk/src/VBox/HostDrivers/VBoxNetFlt/win/cfg/VBoxNetCfg.cpp
- Timestamp:
- Jul 22, 2016 6:00:27 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 109022
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetFlt/win/cfg/VBoxNetCfg.cpp
r60639 r62466 3162 3162 3163 3163 /* 3164 * Set default metric value of interface to fix multicast issue 3164 * Set default metric value of interface to fix multicast issue 3165 3165 * See @bugref{6379} for details. 3166 3166 */ … … 3386 3386 if (pIpHlpInstance == NULL) 3387 3387 return E_FAIL; 3388 3389 g_pfnInitializeIpInterfaceEntry = 3388 3389 g_pfnInitializeIpInterfaceEntry = 3390 3390 (PFNINITIALIZEIPINTERFACEENTRY)GetProcAddress(pIpHlpInstance, "InitializeIpInterfaceEntry"); 3391 3391 Assert(g_pfnInitializeIpInterfaceEntry); … … 3393 3393 if (g_pfnInitializeIpInterfaceEntry) 3394 3394 { 3395 g_pfnGetIpInterfaceEntry = 3395 g_pfnGetIpInterfaceEntry = 3396 3396 (PFNGETIPINTERFACEENTRY)GetProcAddress(pIpHlpInstance, "GetIpInterfaceEntry"); 3397 3397 Assert(g_pfnGetIpInterfaceEntry); … … 3400 3400 if (g_pfnGetIpInterfaceEntry) 3401 3401 { 3402 g_pfnSetIpInterfaceEntry = 3402 g_pfnSetIpInterfaceEntry = 3403 3403 (PFNSETIPINTERFACEENTRY)GetProcAddress(pIpHlpInstance, "SetIpInterfaceEntry"); 3404 3404 Assert(g_pfnSetIpInterfaceEntry); … … 3470 3470 if (pLUID == NULL) 3471 3471 return E_INVALIDARG; 3472 3472 3473 3473 res = RegQueryValueExW(hKey, L"NetLuidIndex", NULL, 3474 3474 &dwValueType, (LPBYTE)&luidIndex, &cbSize); … … 3497 3497 NET_LUID luid; 3498 3498 int loopbackMetric; 3499 3499 3500 3500 rc = vboxLoadIpHelpFunctions(hModule); 3501 3501 … … 3528 3528 { 3529 3529 SP_DEVINFO_DATA DevInfoData; 3530 3530 3531 3531 DevInfoData.cbSize = sizeof(SP_DEVINFO_DATA); 3532 3532 if (SetupDiOpenDeviceInfo(hDevInfo, pwszId, NULL, 0, &DevInfoData))
Note:
See TracChangeset
for help on using the changeset viewer.