Lines Matching refs:strUuid
137 static int machineAdd(const Bstr &strUuid);
138 static int machineRemove(const Bstr &strUuid);
335 * @param strUuid UUID of the specified machine.
337 static int machineAdd(const Bstr &strUuid)
346 CHECK_ERROR_BREAK(g_pVirtualBox, FindMachine(strUuid.raw(), machine.asOutParam()));
370 mapVMIter it = g_mapVM.find(strUuid);
372 g_mapVM.insert(std::make_pair(strUuid, m));
373 serviceLogVerbose(("Added machine \"%ls\"\n", strUuid.raw()));
382 strUuid.raw(), itGroup->first.c_str()));
389 vecMembers.push_back(strUuid);
396 itGroups->second.push_back(strUuid);
409 rc2 = g_aModules[j].pDesc->pfnOnMachineRegistered(strUuid);
423 static int machineDestroy(const Bstr &strUuid)
425 AssertReturn(!strUuid.isEmpty(), VERR_INVALID_PARAMETER);
432 int rc2 = g_aModules[j].pDesc->pfnOnMachineUnregistered(strUuid);
440 serviceLogVerbose(("Removing machine \"%ls\"\n", strUuid.raw()));
444 mapVMIter itVM = g_mapVM.find(strUuid);
457 strUuid);
495 * @param strUuid UUID of the specified machine.
497 static int machineRemove(const Bstr &strUuid)
499 AssertReturn(!strUuid.isEmpty(), VERR_INVALID_PARAMETER);
502 mapVMIter it = g_mapVM.find(strUuid);
505 int rc2 = machineDestroy(strUuid);
515 serviceLogVerbose(("Warning: Removing not added machine \"%ls\"\n", strUuid.raw()));