Changeset 19108 in vbox
- Timestamp:
- Apr 22, 2009 11:29:25 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 46275
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/HardDiskImpl.cpp
r19036 r19108 282 282 } 283 283 284 /* We have to fetch the state with the COM method, cause it's possible 285 that the hard disk isn't fully initialized yet. See HRESULT 286 ImageMediumBase::protectedInit (VirtualBox *aVirtualBox, const 287 settings::Key &aImageNode) for an explanation why. */ 288 MediaState_T m; 289 rc = aHardDisk->COMGETTER(State)(&m); 290 CheckComRCReturnRC (rc); 284 291 /* go to Deleting */ 285 switch ( aHardDisk->m.state)292 switch (m) 286 293 { 287 294 case MediaState_Created:
Note:
See TracChangeset
for help on using the changeset viewer.