VirtualBox

Changeset 24280 in vbox


Ignore:
Timestamp:
Nov 3, 2009 8:06:50 AM (15 years ago)
Author:
vboxsync
Message:

installer/win: move [Un]InstallBranding & InstallPythonAPI actions out of ifdef NETFLT; netadp/win: better failure tracing

File:
1 edited

Legend:

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

    r22491 r24280  
    16831683            {
    16841684                winEr = GetLastError();
    1685                 Log(L"vboxNetCfgWinRemoveAllNetDevicesOfIdCallback: SetupDiCallClassInstaller failed (0x%08X)\n", winEr);
     1685                Log(L"vboxNetCfgWinRemoveAllNetDevicesOfIdCallback: SetupDiCallClassInstaller failed winErr(%d)\n", winEr);
    16861686                hr = HRESULT_FROM_WIN32(winEr);
    16871687            }
     
    16901690        {
    16911691            winEr = GetLastError();
    1692             Log(L"vboxNetCfgWinRemoveAllNetDevicesOfIdCallback: SetupDiSetSelectedDevice failed (0x%08X)\n", winEr);
     1692            Log(L"vboxNetCfgWinRemoveAllNetDevicesOfIdCallback: SetupDiSetSelectedDevice failed winErr(%d)\n", winEr);
    16931693            hr = HRESULT_FROM_WIN32(winEr);
    16941694        }
     
    16971697    {
    16981698        winEr = GetLastError();
     1699        Log(L"vboxNetCfgWinRemoveAllNetDevicesOfIdCallback: SetupDiSetClassInstallParams failed winErr(%d)\n", winEr);
    16991700        hr = HRESULT_FROM_WIN32(winEr);
    17001701    }
     
    17471748                if(winEr != ERROR_INSUFFICIENT_BUFFER)
    17481749                {
     1750                        Log(L"VBoxNetCfgWinEnumNetDevices: SetupDiGetDeviceRegistryPropertyW (1) failed winErr(%d)\n", winEr);
    17491751                    hr = HRESULT_FROM_WIN32(winEr);
    17501752                    break;
     
    17681770                {
    17691771                    winEr = GetLastError();
     1772                        Log(L"VBoxNetCfgWinEnumNetDevices: SetupDiGetDeviceRegistryPropertyW (2) failed winErr(%d)\n", winEr);
    17701773                    hr = HRESULT_FROM_WIN32(winEr);
    17711774                    break;
     
    17991802        SetupDiDestroyDeviceInfoList(hDevInfo);
    18001803    }
     1804    else
     1805    {
     1806        DWORD winEr = GetLastError();
     1807        Log(L"VBoxNetCfgWinEnumNetDevices: SetupDiGetClassDevsExW failed winErr(%d)\n", winEr);
     1808        hr = HRESULT_FROM_WIN32(winEr);
     1809    }
     1810
    18011811    return hr;
    18021812}
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