Changeset 17238 in vbox for trunk/src/VBox/Main/DVDDriveImpl.cpp
- Timestamp:
- Mar 2, 2009 10:58:10 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 43560
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/DVDDriveImpl.cpp
r17218 r17238 7 7 8 8 /* 9 * Copyright (C) 2006-200 8Sun Microsystems, Inc.9 * Copyright (C) 2006-2009 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 ding object */454 /* find the corresponding object */ 455 455 ComObjPtr <Host> host = mParent->virtualBox()->host(); 456 456 457 ComPtr <IHostDVDDriveCollection> coll;458 rc = host->COMGETTER(DVDDrives) ( coll.asOutParam());457 com::SafeIfaceArray <IHostDVDDrive> coll; 458 rc = host->COMGETTER(DVDDrives) (ComSafeArrayAsOutParam(coll)); 459 459 AssertComRC (rc); 460 460 461 461 ComPtr <IHostDVDDrive> drive; 462 rc = coll->FindByName (src, drive.asOutParam()); 462 rc = host->FindHostDVDDrive (src, drive.asOutParam()); 463 463 464 if (SUCCEEDED (rc)) 464 465 {
Note:
See TracChangeset
for help on using the changeset viewer.