Changeset 5028 in vbox
- Timestamp:
- Sep 25, 2007 3:59:19 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 24822
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/testcase/tstAPI.cpp
r4071 r5028 248 248 } 249 249 250 #if 1250 #if 0 251 251 // IUnknown identity test 252 252 //////////////////////////////////////////////////////////////////////////// … … 443 443 #endif 444 444 445 #if 0445 #if 1 446 446 // register the existing hard disk image 447 447 /////////////////////////////////////////////////////////////////////////// … … 450 450 ComPtr <IHardDisk> hd; 451 451 Bstr src = L"E:\\develop\\innotek\\images\\NewHardDisk.vdi"; 452 printf (" Registerinthe existing hard disk '%ls'...\n", src.raw());452 printf ("Opening the existing hard disk '%ls'...\n", src.raw()); 453 453 CHECK_ERROR_BREAK (virtualBox, OpenHardDisk (src, hd.asOutParam())); 454 printf ("Enter to continue...\n"); 455 getchar(); 456 printf ("Registering the existing hard disk '%ls'...\n", src.raw()); 454 457 CHECK_ERROR_BREAK (virtualBox, RegisterHardDisk (hd)); 458 printf ("Enter to continue...\n"); 459 getchar(); 455 460 } 456 461 while (FALSE);
Note:
See TracChangeset
for help on using the changeset viewer.