Changeset 17218 in vbox for trunk/src/VBox/Main/DVDDriveImpl.cpp
- Timestamp:
- Feb 27, 2009 6:02:48 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 43527
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/DVDDriveImpl.cpp
r17200 r17218 7 7 8 8 /* 9 * Copyright (C) 2006-200 9Sun Microsystems, Inc.9 * Copyright (C) 2006-2008 Sun Microsystems, Inc. 10 10 * 11 11 * This file is part of VirtualBox Open Source Edition (OSE), as … … 452 452 Bstr src = typeNode.stringValue ("src"); 453 453 454 /* find the correspo nding object */454 /* find the correspoding object */ 455 455 ComObjPtr <Host> host = mParent->virtualBox()->host(); 456 456 457 com::SafeIfaceArray <IHostDVDDrive> coll;458 rc = host->COMGETTER(DVDDrives) ( ComSafeArrayAsOutParam(coll));457 ComPtr <IHostDVDDriveCollection> coll; 458 rc = host->COMGETTER(DVDDrives) (coll.asOutParam()); 459 459 AssertComRC (rc); 460 460 461 461 ComPtr <IHostDVDDrive> drive; 462 rc = host->FindHostDVDDrive (src, drive.asOutParam()); 463 462 rc = coll->FindByName (src, drive.asOutParam()); 464 463 if (SUCCEEDED (rc)) 465 464 {
Note:
See TracChangeset
for help on using the changeset viewer.