Changeset 15752 in vbox for trunk/src/VBox
- Timestamp:
- Dec 24, 2008 3:19:35 PM (16 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/HostImpl.cpp
r15686 r15752 362 362 if (RT_SUCCESS (mHostDrives.updateDVDs())) 363 363 for (DriveInfoList::const_iterator it = mHostDrives.DVDBegin(); 364 SUCCEEDED (rc) && it != mHostDrives.DVDEnd(); ++it) 364 SUCCEEDED (rc) && it != mHostDrives.DVDEnd(); ++it) 365 365 { 366 366 ComObjPtr<HostDVDDrive> hostDVDDriveObj; … … 442 442 if (RT_SUCCESS (mHostDrives.updateFloppies())) 443 443 for (DriveInfoList::const_iterator it = mHostDrives.FloppyBegin(); 444 SUCCEEDED (rc) && it != mHostDrives.FloppyEnd(); ++it) 444 SUCCEEDED (rc) && it != mHostDrives.FloppyEnd(); ++it) 445 445 { 446 446 ComObjPtr<HostFloppyDrive> hostFloppyDriveObj; … … 997 997 if(hr == S_OK) 998 998 { 999 vboxNetWinAddComponent(&list, pMpNcc); 999 ULONG uComponentStatus; 1000 hr = pMpNcc->GetDeviceStatus(&uComponentStatus); 1001 Assert(hr == S_OK); 1002 if(hr == S_OK) 1003 { 1004 if(uComponentStatus == 0) 1005 { 1006 vboxNetWinAddComponent(&list, pMpNcc); 1007 } 1008 } 1000 1009 VBoxNetCfgWinReleaseRef( pMpNcc ); 1001 1010 } -
trunk/src/VBox/Main/win/NetIfList-win.cpp
r15548 r15752 398 398 if(hr == S_OK) 399 399 { 400 vboxNetWinAddComponent(&list, pMpNcc); 400 ULONG uComponentStatus; 401 hr = pMpNcc->GetDeviceStatus(&uComponentStatus); 402 Assert(hr == S_OK); 403 if(hr == S_OK) 404 { 405 if(uComponentStatus == 0) 406 { 407 vboxNetWinAddComponent(&list, pMpNcc); 408 } 409 } 401 410 VBoxNetCfgWinReleaseRef( pMpNcc ); 402 411 }
Note:
See TracChangeset
for help on using the changeset viewer.