Changeset 58794 in vbox for trunk/src/VBox/Installer/win
- Timestamp:
- Nov 20, 2015 1:14:13 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/win/InstallHelper/VBoxInstallHelper.cpp
r57358 r58794 1042 1042 { 1043 1043 logStringW(hModule, L"CreateHostOnlyInterface: calling VBoxNetCfgWinCreateHostOnlyNetworkInterface"); 1044 #ifdef VBOXNETCFG_DELAYEDRENAME 1045 BSTR devId; 1046 hr = VBoxNetCfgWinCreateHostOnlyNetworkInterface(pwszInfPath, bIsFile, &guid, &devId, NULL); 1047 #else /* !VBOXNETCFG_DELAYEDRENAME */ 1044 1048 hr = VBoxNetCfgWinCreateHostOnlyNetworkInterface(pwszInfPath, bIsFile, &guid, NULL, NULL); 1049 #endif /* !VBOXNETCFG_DELAYEDRENAME */ 1045 1050 logStringW(hModule, L"CreateHostOnlyInterface: VBoxNetCfgWinCreateHostOnlyNetworkInterface returns 0x%x", hr); 1046 1051 if (SUCCEEDED(hr)) … … 1053 1058 if (FAILED(hr)) 1054 1059 logStringW(hModule, L"CreateHostOnlyInterface: VBoxNetCfgWinEnableStaticIpConfig failed, error = 0x%x", hr); 1060 #ifdef VBOXNETCFG_DELAYEDRENAME 1061 hr = VBoxNetCfgWinRenameHostOnlyConnection(&guid, devId, NULL); 1062 if (FAILED(hr)) 1063 logStringW(hModule, L"CreateHostOnlyInterface: VBoxNetCfgWinRenameHostOnlyConnection failed, error = 0x%x", hr); 1064 SysFreeString(devId); 1065 #endif /* VBOXNETCFG_DELAYEDRENAME */ 1055 1066 } 1056 1067 else
Note:
See TracChangeset
for help on using the changeset viewer.