Lines Matching refs:CHECK_ERROR
378 CHECK_ERROR(storageCtl, COMGETTER(MaxPortCount)(&ulMaxPortCount));
379 CHECK_ERROR(storageCtl, COMGETTER(PortCount)(&ulPortCount));
384 CHECK_ERROR(storageCtl, COMSETTER(PortCount)(port + 1));
388 CHECK_ERROR(storageCtl, COMGETTER(ControllerType)(&ctlType));
392 CHECK_ERROR(machine, DetachDevice(Bstr(pszCtl).raw(), port, device));
410 CHECK_ERROR(machine, UnmountMedium(Bstr(pszCtl).raw(),
422 CHECK_ERROR(machine, AttachDeviceWithoutMedium(Bstr(pszCtl).raw(), port, device,
442 CHECK_ERROR(systemProperties, GetDeviceTypesForStorageBus(storageBus, ComSafeArrayAsOutParam(saDeviceTypes)));
460 CHECK_ERROR(machine, AttachDeviceWithoutMedium(Bstr(pszCtl).raw(), port, device,
501 CHECK_ERROR(a->virtualBox,
503 CHECK_ERROR(pProperties, COMGETTER(DefaultAdditionsISO)(bstrIso.asOutParam()));
538 CHECK_ERROR(systemProperties, GetDeviceTypesForStorageBus(storageBus, ComSafeArrayAsOutParam(saDeviceTypes)));
557 CHECK_ERROR(a->virtualBox, COMGETTER(Host)(host.asOutParam()));
603 CHECK_ERROR(a->virtualBox, CreateMedium(Bstr("iSCSI").raw(),
649 CHECK_ERROR(pMedium2Mount, SetProperties(ComSafeArrayAsInParam(names),
653 CHECK_ERROR(pMedium2Mount, COMGETTER(Id)(guid.asOutParam()));
682 CHECK_ERROR(pMedium2Mount, SetIds(fSetNewUuid, bstrNewUuid.raw(),
691 CHECK_ERROR(pMedium2Mount, COMSETTER(Type)(enmMediumType));
698 CHECK_ERROR(pMedium2Mount, COMSETTER(Description)(bstrComment.raw()));
740 CHECK_ERROR(machine, MountMedium(Bstr(pszCtl).raw(),
753 CHECK_ERROR(machine, AttachDevice(Bstr(pszCtl).raw(),
768 CHECK_ERROR(machine, GetMediumAttachment(Bstr(pszCtl).raw(), port,
775 CHECK_ERROR(machine, PassthroughDevice(Bstr(pszCtl).raw(),
780 CHECK_ERROR(machine, PassthroughDevice(Bstr(pszCtl).raw(),
794 CHECK_ERROR(machine, GetMediumAttachment(Bstr(pszCtl).raw(), port,
801 CHECK_ERROR(machine, TemporaryEjectDevice(Bstr(pszCtl).raw(),
806 CHECK_ERROR(machine, TemporaryEjectDevice(Bstr(pszCtl).raw(),
820 CHECK_ERROR(machine, GetMediumAttachment(Bstr(pszCtl).raw(), port,
827 CHECK_ERROR(machine, NonRotationalDevice(Bstr(pszCtl).raw(),
832 CHECK_ERROR(machine, NonRotationalDevice(Bstr(pszCtl).raw(),
846 CHECK_ERROR(machine, GetMediumAttachment(Bstr(pszCtl).raw(), port,
853 CHECK_ERROR(machine, SetAutoDiscardForDevice(Bstr(pszCtl).raw(),
858 CHECK_ERROR(machine, SetAutoDiscardForDevice(Bstr(pszCtl).raw(),
872 CHECK_ERROR(machine, GetMediumAttachment(Bstr(pszCtl).raw(), port,
879 CHECK_ERROR(machine, SetHotPluggableForDevice(Bstr(pszCtl).raw(),
884 CHECK_ERROR(machine, SetHotPluggableForDevice(Bstr(pszCtl).raw(),
902 CHECK_ERROR(machine, SetNoBandwidthGroupForDevice(Bstr(pszCtl).raw(),
910 CHECK_ERROR(machine, COMGETTER(BandwidthControl)(bwCtrl.asOutParam()));
914 CHECK_ERROR(bwCtrl, GetBandwidthGroup(Bstr(pszBandwidthGroup).raw(), bwGroup.asOutParam()));
917 CHECK_ERROR(machine, SetBandwidthGroupForDevice(Bstr(pszCtl).raw(),
926 CHECK_ERROR(machine, SaveSettings());
1064 CHECK_ERROR(machine, RemoveStorageController(Bstr(pszCtl).raw()));
1074 CHECK_ERROR(machine, AddStorageController(Bstr(pszCtl).raw(),
1080 CHECK_ERROR(machine, AddStorageController(Bstr(pszCtl).raw(),
1086 CHECK_ERROR(machine, AddStorageController(Bstr(pszCtl).raw(),
1092 CHECK_ERROR(machine, AddStorageController(Bstr(pszCtl).raw(),
1098 CHECK_ERROR(machine, AddStorageController(Bstr(pszCtl).raw(),
1104 CHECK_ERROR(machine, AddStorageController(Bstr(pszCtl).raw(),
1120 CHECK_ERROR(machine, GetStorageControllerByName(Bstr(pszCtl).raw(),
1127 CHECK_ERROR(ctl, COMSETTER(ControllerType)(StorageControllerType_LsiLogic));
1131 CHECK_ERROR(ctl, COMSETTER(ControllerType)(StorageControllerType_BusLogic));
1135 CHECK_ERROR(ctl, COMSETTER(ControllerType)(StorageControllerType_IntelAhci));
1139 CHECK_ERROR(ctl, COMSETTER(ControllerType)(StorageControllerType_PIIX3));
1143 CHECK_ERROR(ctl, COMSETTER(ControllerType)(StorageControllerType_PIIX4));
1147 CHECK_ERROR(ctl, COMSETTER(ControllerType)(StorageControllerType_ICH6));
1151 CHECK_ERROR(ctl, COMSETTER(ControllerType)(StorageControllerType_I82078));
1155 CHECK_ERROR(ctl, COMSETTER(ControllerType)(StorageControllerType_LsiLogicSas));
1159 CHECK_ERROR(ctl, COMSETTER(ControllerType)(StorageControllerType_USB));
1179 CHECK_ERROR(machine, GetStorageControllerByName(Bstr(pszCtl).raw(),
1184 CHECK_ERROR(ctl, COMSETTER(PortCount)(portcount));
1198 CHECK_ERROR(machine, GetStorageControllerByName(Bstr(pszCtl).raw(),
1205 CHECK_ERROR(ctl, COMSETTER(UseHostIOCache)(TRUE));
1209 CHECK_ERROR(ctl, COMSETTER(UseHostIOCache)(FALSE));
1231 CHECK_ERROR(machine, SetStorageControllerBootable(Bstr(pszCtl).raw(), TRUE));
1235 CHECK_ERROR(machine, SetStorageControllerBootable(Bstr(pszCtl).raw(), FALSE));
1253 CHECK_ERROR(machine, SaveSettings());