Changeset 52824 in vbox for trunk/src/VBox/HostDrivers/VBoxNetFlt/win/cfg
- Timestamp:
- Sep 23, 2014 10:37:15 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetFlt/win/cfg/VBoxNetCfg.cpp
r52592 r52824 2064 2064 } 2065 2065 return hr; 2066 } 2067 2068 #define VBOXNETCFGWIN_NETADP_ID L"sun_VBoxNetAdp" 2069 static HRESULT vboxNetCfgWinNetAdpUninstall(IN INetCfg *pNc, DWORD InfRmFlags) 2070 { 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 } 2090 2091 VBoxDrvCfgInfUninstallAllF(L"Net", VBOXNETCFGWIN_NETADP_ID, InfRmFlags); 2092 2093 return hr; 2094 } 2095 2096 VBOXNETCFGWIN_DECL(HRESULT) VBoxNetCfgWinNetAdpUninstall(IN INetCfg *pNc) 2097 { 2098 return vboxNetCfgWinNetAdpUninstall(pNc, 0); 2066 2099 } 2067 2100
Note:
See TracChangeset
for help on using the changeset viewer.