Changeset 53038 in vbox for trunk/src/VBox/HostDrivers/VBoxNetFlt/win/cfg
- Timestamp:
- Oct 13, 2014 10:42:54 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetFlt/win/cfg/VBoxNetCfg.cpp
r52824 r53038 548 548 case VBOXNECTFGWINPROPCHANGE_TYPE_DISABLE: 549 549 PcParams.StateChange = DICS_DISABLE; 550 NonStandardLogFlow(("vboxNetCfgWinPropChangeAllNetDevicesOfIdCallback: Change type (DICS_DISABLE): %d\n", pPc->enmPcType)); 550 551 break; 551 552 case VBOXNECTFGWINPROPCHANGE_TYPE_ENABLE: 552 553 PcParams.StateChange = DICS_ENABLE; 554 NonStandardLogFlow(("vboxNetCfgWinPropChangeAllNetDevicesOfIdCallback: Change type (DICS_ENABLE): %d\n", pPc->enmPcType)); 553 555 break; 554 556 default: … … 684 686 if (cCurId >= cPnPId) 685 687 { 688 NonStandardLogFlow(("!wcsnicmp(pCurId = (%S), pwszPnPId = (%S), cPnPId = (%d))", pCurId, pwszPnPId, cPnPId)); 689 686 690 pCurId += cCurId - cPnPId; 687 691 if (!wcsnicmp(pCurId, pwszPnPId, cPnPId)) … … 723 727 Pc.enmPcType = enmPcType; 724 728 Pc.hr = S_OK; 729 NonStandardLogFlow(("Calling VBoxNetCfgWinEnumNetDevices with lpszPnPId =(%S) and vboxNetCfgWinPropChangeAllNetDevicesOfIdCallback", lpszPnPId)); 730 725 731 HRESULT hr = VBoxNetCfgWinEnumNetDevices(lpszPnPId, vboxNetCfgWinPropChangeAllNetDevicesOfIdCallback, &Pc); 726 732 if (!SUCCEEDED(hr)) … … 2069 2075 static HRESULT vboxNetCfgWinNetAdpUninstall(IN INetCfg *pNc, DWORD InfRmFlags) 2070 2076 { 2071 INetCfgComponent *pNcc = NULL; 2072 HRESULT hr = pNc->FindComponent(VBOXNETCFGWIN_NETADP_ID, &pNcc); 2073 if (hr == S_OK) 2074 { 2075 NonStandardLog("NetAdp is installed currently, uninstalling ...\n"); 2076 2077 hr = VBoxNetCfgWinUninstallComponent(pNc, pNcc); 2078 NonStandardLogFlow(("NetAdp component uninstallation ended with hr (0x%x)\n", hr)); 2079 2080 pNcc->Release(); 2081 } 2082 else if (hr == S_FALSE) 2083 { 2084 NonStandardLog("NetAdp is not installed currently\n"); 2085 } 2086 else 2087 { 2088 NonStandardLogFlow(("FindComponent failed, hr (0x%x)\n", hr)); 2089 } 2077 HRESULT hr = S_OK; 2078 NonStandardLog("Finding NetAdp driver package and trying to uninstall it ...\n"); 2090 2079 2091 2080 VBoxDrvCfgInfUninstallAllF(L"Net", VBOXNETCFGWIN_NETADP_ID, InfRmFlags); 2092 2081 NonStandardLog("NetAdp is not installed currently\n"); 2093 2082 return hr; 2094 2083 } … … 2096 2085 VBOXNETCFGWIN_DECL(HRESULT) VBoxNetCfgWinNetAdpUninstall(IN INetCfg *pNc) 2097 2086 { 2098 return vboxNetCfgWinNetAdpUninstall(pNc, 0);2087 return vboxNetCfgWinNetAdpUninstall(pNc, SUOI_FORCEDELETE); 2099 2088 } 2100 2089
Note:
See TracChangeset
for help on using the changeset viewer.