VirtualBox

Changeset 41007 in vbox


Ignore:
Timestamp:
Apr 20, 2012 1:13:04 PM (13 years ago)
Author:
vboxsync
Message:

netcfg/win: fix failure branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/win/cfg/VBoxNetCfg.cpp

    r40993 r41007  
    633633    Pc.enmPcType = enmPcType;
    634634    Pc.hr = S_OK;
    635     return VBoxNetCfgWinEnumNetDevices(lpszPnPId, vboxNetCfgWinPropChangeAllNetDevicesOfIdCallback, &Pc);
     635    HRESULT hr = VBoxNetCfgWinEnumNetDevices(lpszPnPId, vboxNetCfgWinPropChangeAllNetDevicesOfIdCallback, &Pc);
     636    if (!SUCCEEDED(hr))
     637    {
     638        NonStandardLogFlow(("VBoxNetCfgWinEnumNetDevices failed 0x%x\n", hr));
     639        return hr;
     640    }
     641
     642    if (!SUCCEEDED(Pc.hr))
     643    {
     644        NonStandardLogFlow(("vboxNetCfgWinPropChangeAllNetDevicesOfIdCallback failed 0x%x\n", Pc.hr));
     645        return Pc.hr;
     646    }
     647
     648    return S_OK;
    636649}
    637650
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette