/vbox/src/VBox/Frontends/VBoxHeadless/testcase/ |
H A D | tstHeadless.cpp | 81 ComPtr <IVirtualBox> virtualBox; local 85 rc = virtualBox.createLocalObject(CLSID_VirtualBox); 111 CHECK_ERROR_BREAK(virtualBox, FindMachine(Bstr(name).raw(),
|
/vbox/src/VBox/Main/testcase/ |
H A D | tstVBoxAPIWin.cpp | 63 int listVMs(IVirtualBox *virtualBox) argument 72 rc = virtualBox->get_Machines(&machinesArray); 101 int testErrorInfo(IVirtualBox *virtualBox) argument 109 rc = virtualBox->FindMachine(machineName, &machine); 145 int testStartVM(IVirtualBox *virtualBox) argument 153 rc = virtualBox->FindMachine(machineName, &machine); 261 IVirtualBox *virtualBox; local 273 (void**)&virtualBox); 281 listVMs(virtualBox); 283 testErrorInfo(virtualBox); [all...] |
H A D | tstAPI.cpp | 226 ComPtr<IVirtualBox> virtualBox; local 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, COMGETTE [all...] |
H A D | tstVBoxAPIXPCOM.cpp | 93 * @param virtualBox VirtualBox instance object. 95 void listVMs(IVirtualBox *virtualBox) argument 108 rc = virtualBox->GetMachines(&machineCnt, &machines); 156 virtualBox->GetGuestOSType(typeId.get(), &osType); 176 * @param virtualBox VirtualBox instance object. 178 void createVM(IVirtualBox *virtualBox) argument 186 rc = virtualBox->CreateMachine(NULL, /* settings file */ 216 rc = virtualBox->GetGuestOSType(NS_LITERAL_STRING("Windows2000").get(), 235 rc = virtualBox->RegisterMachine(machine); 293 rc = virtualBox 519 nsCOMPtr<IVirtualBox> virtualBox; local [all...] |
/vbox/src/VBox/HostServices/auth/simple/ |
H A D | VBoxAuthSimple.cpp | 93 ComPtr<IVirtualBox> virtualBox; local 96 rc = virtualBox.createLocalObject(CLSID_VirtualBox); 106 virtualBox->FindMachine(Bstr(uuid).raw(), machine.asOutParam()); 111 virtualBox->GetExtraData(key.raw(), password.asOutParam());
|
/vbox/src/VBox/Frontends/VBoxFB/ |
H A D | VBoxFB.cpp | 189 nsCOMPtr<IVirtualBox> virtualBox; local 193 getter_AddRefs(virtualBox)); 212 rc = virtualBox->OpenSession(session, NS_ConvertUTF8toUTF16(uuid).get());
|
/vbox/src/VBox/Frontends/VBoxManage/ |
H A D | VBoxManage.cpp | 289 static RTEXITCODE settingsPasswordFile(ComPtr<IVirtualBox> virtualBox, const char *pszFilename) argument 296 CHECK_ERROR(virtualBox, SetSettingsSecret(com::Bstr(passwd).raw())); 483 ComPtr<IVirtualBox> virtualBox; local 486 hrc = virtualBox.createLocalObject(CLSID_VirtualBox); 580 CHECK_ERROR(virtualBox, SetSettingsSecret(Bstr(g_pszSettingsPw).raw())); 589 rcExit = settingsPasswordFile(virtualBox, g_pszSettingsPwFile); 594 HandlerArg handlerArg = { 0, NULL, virtualBox, session };
|
H A D | VBoxManage.h | 139 ComPtr<IVirtualBox> virtualBox; member in struct:HandlerArg
|
/vbox/src/VBox/Frontends/VirtualBox/src/globals/ |
H A D | VBoxGlobal.h | 108 CVirtualBox virtualBox() const { return m_vbox; } function in class:VBoxGlobal
|
/vbox/src/VBox/Main/cbinding/ |
H A D | tstCAPIGlue.c | 431 * @param virtualBox ptr to IVirtualBox object 435 static void registerActiveEventListener(IVirtualBox *virtualBox, ISession *session, BSTR machineId) argument 541 * @param virtualBox ptr to IVirtualBox object 545 static void registerPassiveEventListener(IVirtualBox *virtualBox, ISession *session, BSTR machineId) argument 731 * @param virtualBox ptr to IVirtualBox object 735 static void startVM(const char *argv0, IVirtualBox *virtualBox, ISession *session, BSTR id) argument 744 rc = IVirtualBox_FindMachine(virtualBox, id, &machine); 813 registerActiveEventListener(virtualBox, session, id); 815 registerPassiveEventListener(virtualBox, session, id); 831 * @param virtualBox pt 834 listVMs(const char *argv0, IVirtualBox *virtualBox, ISession *session) argument [all...] |
/vbox/src/VBox/Frontends/VBoxHeadless/ |
H A D | VBoxHeadless.cpp | 616 static RTEXITCODE settingsPasswordFile(ComPtr<IVirtualBox> virtualBox, const char *pszFilename) argument 623 CHECK_ERROR(virtualBox, SetSettingsSecret(com::Bstr(passwd).raw())); 892 ComPtr<IVirtualBox> virtualBox; local 917 rc = pVirtualBoxClient->COMGETTER(VirtualBox)(virtualBox.asOutParam()); 932 CHECK_ERROR(virtualBox, SetSettingsSecret(Bstr(pcszSettingsPw).raw())); 938 int rcExit = settingsPasswordFile(virtualBox, pcszSettingsPwFile); 945 rc = virtualBox->FindMachine(Bstr(pcszNameOrUUID).raw(), m.asOutParam()); 1212 CHECK_ERROR(virtualBox, COMGETTER(EventSource)(es.asOutParam())); 1298 CHECK_ERROR(virtualBox, COMGETTER(EventSource)(es.asOutParam())); 1339 virtualBox [all...] |
/vbox/src/VBox/Frontends/VBoxSDL/ |
H A D | VBoxSDL.cpp | 161 static RTEXITCODE settingsPasswordFile(ComPtr<IVirtualBox> virtualBox, const char *pszFilename); 3150 static RTEXITCODE settingsPasswordFile(ComPtr<IVirtualBox> virtualBox, const char *pszFilename) argument 3157 CHECK_ERROR(virtualBox, SetSettingsSecret(com::Bstr(passwd).raw()));
|
/vbox/src/VBox/Main/src-client/ |
H A D | ConsoleImpl2.cpp | 991 ComPtr<IVirtualBox> virtualBox; local 992 hrc = pMachine->COMGETTER(Parent)(virtualBox.asOutParam()); H(); 995 hrc = virtualBox->COMGETTER(Host)(host.asOutParam()); H(); 998 hrc = virtualBox->COMGETTER(SystemProperties)(systemProperties.asOutParam()); H(); 1049 hrc = virtualBox->GetGuestOSType(osTypeId.raw(), guestOSType.asOutParam()); H(); 1595 rc = getSmcDeviceKey(virtualBox, pMachine, &strKey, &fGetKeyFromRealSMC); 1815 rc = findEfiRom(virtualBox, eFwType, &efiRomFile); 1820 GetExtraDataBoth(virtualBox, pMachine, "VBoxInternal2/EfiBootArgs", &bootArgs); 1824 GetExtraDataBoth(virtualBox, pMachine, "VBoxInternal2/EfiDeviceProps", &deviceProps); 1828 GetExtraDataBoth(virtualBox, pMachin 4596 ComPtr<IVirtualBox> virtualBox; local [all...] |