Lines Matching refs:virtualBox
226 ComPtr<IVirtualBox> virtualBox;
245 rc = virtualBox.createLocalObject(CLSID_VirtualBox);
280 CHECK_ERROR_BREAK(virtualBox,
313 RTPrintf("IVirtualBox(virtualBox)=%p IVirtualBox(virtualBox2)=%p\n",
314 (IVirtualBox *)virtualBox, (IVirtualBox *)virtualBox2);
315 Assert((IVirtualBox *)virtualBox == (IVirtualBox *)virtualBox2);
317 ComPtr<IUnknown> unk(virtualBox);
321 RTPrintf("IUnknown(virtualBox)=%p IUnknown(virtualBox2)=%p\n",
328 RTPrintf("IVirtualBox(IUnknown(virtualBox))=%p IVirtualBox(IUnknown(virtualBox2))=%p\n",
335 CHECK_ERROR_BREAK(virtualBox, COMGETTER(Host)(host.asOutParam()));
376 CHECK_ERROR_BREAK(virtualBox, COMGETTER(Version)(version.asOutParam()));
388 CHECK_ERROR_BREAK(virtualBox,
405 CHECK_ERROR_BREAK(virtualBox,
423 CHECK_ERROR_BREAK(virtualBox,
437 rc = virtualBox->GetHost(&host);
506 rc = virtualBox->GetHardDisk(uuid, hardDisk.asOutParam());
507 RTPrintf("virtualBox->GetHardDisk(null-uuid)=%08X\n", rc);
510 // com::ErrorInfo info(virtualBox);
516 rc = virtualBox->COMGETTER(Version)(version.asOutParam());
517 RTPrintf("virtualBox->COMGETTER(Version)=%08X\n", rc);
520 com::ErrorInfo info(virtualBox);
532 // com::ErrorInfo info(virtualBox);
542 com::ErrorInfo info(virtualBox);
556 CHECK_ERROR_BREAK(virtualBox, OpenHardDisk(src, AccessMode_ReadWrite, hd.asOutParam()));
560 CHECK_ERROR_BREAK(virtualBox, RegisterHardDisk(hd));
576 CHECK_ERROR_BREAK(virtualBox, FindVirtualDiskImage(src, vdi.asOutParam()));
580 CHECK_ERROR_BREAK(virtualBox, UnregisterHardDisk(id, hd.asOutParam()));
599 CHECK_ERROR_BREAK(virtualBox, FindVirtualDiskImage(src, vdi.asOutParam()));
645 rc = virtualBox->FindHardDisk(src, hd.asOutParam());
679 com::ErrorInfo info(virtualBox);
697 CHECK_ERROR_BREAK(virtualBox, FindMachine(name, machine.asOutParam()));
731 CHECK_ERROR_BREAK(virtualBox, CreateMachine(name, L"", baseDir, L"",
759 CHECK_ERROR_BREAK(virtualBox, GetGuestOSType(type, guestOSType.asOutParam()));
777 CHECK_RC_BREAK(virtualBox->COMGETTER(Host)(host.asOutParam()));
817 CHECK_ERROR_BREAK(virtualBox,
897 CHECK_ERROR_BREAK(virtualBox,
957 CHECK_ERROR_BREAK(virtualBox,
1024 CHECK_ERROR_BREAK(virtualBox, FindMachine(name, machine.asOutParam()));
1028 CHECK_RC_BREAK(virtualBox->OpenSession(session, guid));
1090 CHECK_RC_BREAK(virtualBox->FindMachine(name, machine.asOutParam()));
1095 CHECK_RC_BREAK(virtualBox->OpenRemoteSession(session, guid, Bstr("gui"),
1124 CHECK_RC_BREAK(virtualBox->FindMachine(name, machine.asOutParam()));
1128 CHECK_RC_BREAK(virtualBox->OpenExistingSession(session, guid));
1158 CHECK_ERROR_BREAK(virtualBox, COMGETTER(Host)(host.asOutParam()));
1172 CHECK_ERROR_BREAK(virtualBox, COMGETTER(Host)(host.asOutParam()));
1216 CHECK_ERROR_BREAK(virtualBox, COMGETTER(Host)(host.asOutParam()));
1242 CHECK_ERROR_BREAK(virtualBox,
1253 CHECK_ERROR_BREAK(virtualBox, COMGETTER(Host)(host.asOutParam()));
1268 listAffectedMetrics(virtualBox,
1276 queryMetrics(virtualBox, collector, ComSafeArrayAsInParam(objects));
1283 CHECK_ERROR_BREAK(virtualBox,
1295 CHECK_ERROR_BREAK(virtualBox, COMGETTER(Host)(host.asOutParam()));
1302 CHECK_ERROR_BREAK(virtualBox, FindMachine(name.raw(), machine.asOutParam()));
1325 listAffectedMetrics(virtualBox,
1337 queryMetrics(virtualBox, collector, ComSafeArrayAsInParam(objects));
1347 queryMetrics(virtualBox, collector, ComSafeArrayAsInParam(objects));
1354 listAffectedMetrics(virtualBox,
1357 queryMetrics(virtualBox, collector, ComSafeArrayAsInParam(objects));
1367 listAffectedMetrics(virtualBox,
1371 queryMetrics(virtualBox, collector, ComSafeArrayAsInParam(objects));
1378 listAffectedMetrics(virtualBox,
1382 queryMetrics(virtualBox, collector, ComSafeArrayAsInParam(objects));
1404 CHECK_ERROR_BREAK(virtualBox,
1507 CHECK_ERROR_BREAK(virtualBox, FindMachine(name.raw(), machine.asOutParam()));
1543 CHECK_ERROR_BREAK(virtualBox, FindMachine(name.raw(), machine.asOutParam()));