/vbox/src/VBox/Frontends/VBoxShell/ |
H A D | vboxinfo.vbs | 18 Dim session, progress
20 Set session = CreateObject("VirtualBox.Session")
21 Set progress = vb.openRemoteSession(session, mach.id, "gui", "")
23 session.close()
28 Dim session, progress
30 Set session = CreateObject("VirtualBox.Session")
31 vb.openExistingSession session, mach.id
32 session.console.powerDown().waitForCompletion(-1)
33 session.close()
|
/vbox/src/VBox/Main/webservice/samples/perl/ |
H A D | clienttest.pl | 141 die "[$cmd] Logon to session manager with user \"test\" and password \"test\" failed.\nStopped"; 168 my $session = vboxService->IWebsessionManager_getSessionObject($vbox); 169 die "[$cmd] Cannot get session object; stopped" 170 if (!$session); 179 $session, 197 vboxService->ISession_unlockMachine($session); 208 my $session = vboxService->IWebsessionManager_getSessionObject($vbox); 209 die "[$cmd] Cannot get session object; stopped" 210 if (!$session); 212 vboxService->IMachine_lockMachine($machine, $session, 'Share [all...] |
/vbox/src/VBox/Main/webservice/samples/php/ |
H A D | clienttest.php | 53 $session = $websessionManager->getSessionObject($virtualbox->handle); variable 55 $machine->lockMachine($session->handle, "Shared"); 58 $console = $session->console; 92 $session->unlockMachine(); 95 $session->releaseRemote();
|
/vbox/src/VBox/Additions/linux/lightdm-greeter/liblightdm-gobject-1.5.0/ |
H A D | session.c | 14 #include "lightdm/session.h" 50 LightDMSession *session; local 66 g_warning ("Ignoring session without name"); 88 session = g_object_new (LIGHTDM_TYPE_SESSION, NULL); 89 priv = GET_PRIVATE (session); 104 return session; 140 g_warning ("Failed to load session file %s: %s:", path, error->message); 146 LightDMSession *session; local 149 session = load_session (key_file, key); 150 if (session) 260 lightdm_session_get_key(LightDMSession *session) argument 275 lightdm_session_get_name(LightDMSession *session) argument 290 lightdm_session_get_comment(LightDMSession *session) argument 297 lightdm_session_init(LightDMSession *session) argument [all...] |
H A D | user.c | 104 gchar *session; member in struct:__anon2094 123 G_DEFINE_TYPE (Session, session, G_TYPE_OBJECT); 596 Session *session = NULL; local 624 g_debug ("Loaded session %s (%s)", path, name); 625 session = g_object_new (session_get_type (), NULL); 626 session->username = g_strdup (name); 627 session->path = g_strdup (path); 628 priv->sessions = g_list_append (priv->sessions, session); 633 return session; 646 Session *session; local 668 Session *session = link->data; local 1407 Session *session = link->data; local 1628 session_init(Session *session) argument [all...] |
/vbox/src/VBox/Frontends/VirtualBox/src/runtime/ |
H A D | UIDnDDrag.h | 46 UIDnDDrag(CSession &session, CDnDSource &dndSource, 55 static int RetrieveData(const CSession &session, CDnDSource &dndSource, Qt::DropAction dropAction, const QString &strMimeType, QVariant::Type vaType, QVariant &vaData, QWidget *pParent);
|
H A D | UIDnDDrag.cpp | 49 UIDnDDrag::UIDnDDrag(CSession &session, argument 54 : m_session(session) 136 int UIDnDDrag::RetrieveData(const CSession &session, argument 147 CGuest guest = session.GetConsole().GetGuest();
|
H A D | UIMachine.cpp | 54 /* Create temporary session: */ 55 CSession session = vboxGlobal().openSession(strID, KLockType_VM); local 56 if (session.isNull()) 60 CMachine machine = session.GetMachine(); 74 /* Unlock session finally: */ 75 session.UnlockMachine(); 200 /* Try to prepare session UI: */ 213 /* Try to initialize session UI: */ 223 /* Try to create session UI: */ 289 /* Destroy session U [all...] |
H A D | UIDnDHandler.h | 72 Qt::DropAction dragDrop (CSession &session, CDnDTarget &dndTarget, ulong screenId, int x, int y, Qt::DropAction proposedAction, Qt::DropActions possibleActions, const QMimeData *pMimeData, QWidget *pParent = NULL); 76 int dragIsPending(CSession &session, CDnDSource &dndSource, ulong screenId, QWidget *pParent = NULL);
|
H A D | UIDnDHandler.cpp | 101 Qt::DropAction UIDnDHandler::dragDrop(CSession &session, CDnDTarget &dndTarget, argument 106 CGuest guest = session.GetConsole().GetGuest(); 170 int UIDnDHandler::dragIsPending(CSession &session, CDnDSource &dndSource, argument 184 CGuest guest = session.GetConsole().GetGuest(); 237 UIDnDDrag *pDrag = new UIDnDDrag(session, dndSource, lstFmtNative, 251 NOREF(session);
|
H A D | UIDnDMIMEData.h | 62 UIDnDMimeData(CSession &session, CDnDSource &dndSource, QStringList formats, Qt::DropAction defAction, Qt::DropActions actions, QWidget *pParent);
|
H A D | UIMultiScreenLayout.cpp | 71 CDisplay display = m_pMachineLogic->session().GetConsole().GetDisplay(); 228 CMachine machine = m_pMachineLogic->session().GetMachine(); 265 CMachine machine = m_pMachineLogic->session().GetMachine(); 293 CDisplay display = m_pMachineLogic->uisession()->session().GetConsole().GetDisplay();
|
/vbox/src/VBox/Main/webservice/samples/python/ |
H A D | clienttest.py | 81 # Get the session object 82 session = mgr.getSessionObject(vbox) 85 mach.lockMachine(session, vboxConstants.LockType_Shared) 88 console = session.console 107 session.unlockMachine()
|
/vbox/src/VBox/Main/testcase/ |
H A D | tstVBoxAPIWin.cpp | 183 ISession *session = NULL; local 198 /* Create the session object. */ 203 (void**)&session); 210 /* Start a VM session using the delivered VBox GUI. */ 211 rc = machine->LaunchVMProcess(session, sessiontype, 215 printf("Could not open remote session! rc = 0x%x\n", rc); 224 session->get_Console(&console); 229 printf("Press enter to power off VM and close the session...\n"); 239 /* Close the session. */ 240 rc = session [all...] |
/vbox/src/VBox/Frontends/VBoxHeadless/testcase/ |
H A D | tstHeadless.cpp | 82 ComPtr <ISession> session; local 90 rc = session.createInprocObject(CLSID_Session); 92 RTPrintf("ERROR: failed to create a session object!\n"); 117 RTPrintf("Opening a new (remote) session...\n"); 119 LaunchVMProcess(session, Bstr("vrdp").raw(), 122 RTPrintf("Waiting for the remote session to open...\n"); 138 RTPrintf("Remote session has been successfully opened.\n"); 143 RTPrintf("Opening an existing session...\n"); 144 CHECK_ERROR_BREAK(m, LockMachine(session, LockType_Shared)); 147 CHECK_ERROR_BREAK(session, COMGETTE [all...] |
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/ |
H A D | xcmc.h | 212 CMC_session_id session, 237 CMC_session_id session, 250 CMC_session_id session, 268 CMC_session_id session, 282 CMC_session_id session, 301 CMC_session_id session, 315 CMC_session_id *session, 322 CMC_session_id session,
|
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/ |
H A D | xcmc.h | 212 CMC_session_id session, 237 CMC_session_id session, 250 CMC_session_id session, 268 CMC_session_id session, 282 CMC_session_id session, 301 CMC_session_id session, 315 CMC_session_id *session, 322 CMC_session_id session,
|
/vbox/src/VBox/Frontends/VirtualBox/src/wizards/clonevm/ |
H A D | UIWizardCloneVM.cpp | 76 /* Open session: */ 77 CSession session = vboxGlobal().openSession(m_machine.GetId()); local 78 if (session.isNull()) 82 CMachine machine = session.GetMachine(); 106 session.UnlockMachine();
|
/vbox/src/VBox/Frontends/VBoxManage/ |
H A D | VBoxManageMisc.cpp | 591 CHECK_ERROR(machine, LaunchVMProcess(a->session, sessionType.raw(), 624 a->session->UnlockMachine(); 648 /* we have to open a session for this task */ 649 CHECK_ERROR_BREAK(machine, LockMachine(a->session, LockType_Write)); 653 CHECK_ERROR_BREAK(a->session, COMGETTER(Machine)(sessionMachine.asOutParam())); 656 CHECK_ERROR_BREAK(a->session, UnlockMachine()); 685 /* we have to open a session for this task */ 686 CHECK_ERROR_BREAK(machine, LockMachine(a->session, LockType_Write)); 690 CHECK_ERROR_BREAK(a->session, COMGETTER(Machine)(sessionMachine.asOutParam())); 693 CHECK_ERROR_BREAK(a->session, UnlockMachin [all...] |
H A D | VBoxManageGuestProp.cpp | 96 /* open a session for the VM - new or existing */ 97 CHECK_ERROR_RET(machine, LockMachine(a->session, LockType_Shared), 1); 99 /* get the mutable session machine */ 100 a->session->COMGETTER(Machine)(machine.asOutParam()); 157 /* open a session for the VM - new or existing */ 158 CHECK_ERROR_RET(machine, LockMachine(a->session, LockType_Shared), 1); 160 /* get the mutable session machine */ 161 a->session->COMGETTER(Machine)(machine.asOutParam()); 174 a->session->UnlockMachine(); 201 /* open a session fo [all...] |
/vbox/src/VBox/Devices/Network/lwip-new/src/netif/ppp/ |
H A D | ppp_oe.c | 209 * Find the interface handling the specified session. 215 pppoe_find_softc_by_session(u_int session, struct netif *rcvif) argument 219 if (session == 0) { 225 && sc->sc_session == session) { 259 PPPDEBUG(LOG_DEBUG, ("pppoe: alien host unique tag, no session found\n")); 283 /* analyze and handle a single received packet while not in session state */ 288 u16_t session, plen; local 320 session = 0; 331 session = ntohs(ph->session); 563 u16_t session, plen; local 947 pppoe_send_padt(struct netif *outgoing_if, u_int session, const u8_t *dest) argument [all...] |
/vbox/src/VBox/Devices/Network/scripts/ |
H A D | VBoxPortForwarding.py | 91 session = man.openMachineSession(vm.id) 92 vm = session.machine 134 man.closeMachineSession(session)
|
/vbox/src/VBox/Main/cbinding/ |
H A D | tstCAPIGlue.c | 432 * @param session ptr to ISession object 435 static void registerActiveEventListener(IVirtualBox *virtualBox, ISession *session, BSTR machineId) argument 440 rc = ISession_get_Console(session, &console); 542 * @param session ptr to ISession object 545 static void registerPassiveEventListener(IVirtualBox *virtualBox, ISession *session, BSTR machineId) argument 550 rc = ISession_get_Console(session, &console); 732 * @param session ptr to ISession object 735 static void startVM(const char *argv0, IVirtualBox *virtualBox, ISession *session, BSTR id) argument 776 rc = IMachine_LaunchVMProcess(machine, session, sessionType, env, &progress); 783 printf("Waiting for the remote session t 834 listVMs(const char *argv0, IVirtualBox *virtualBox, ISession *session) argument 999 ISession *session = NULL; local [all...] |
/vbox/src/VBox/Frontends/VirtualBox/src/selector/ |
H A D | UISelectorWindow.cpp | 495 /* Open a session to modify VM: */ 496 CSession session = vboxGlobal().openSession(pItem->id()); local 497 if (session.isNull()) 500 /* Get session machine: */ 501 CMachine machine = session.GetMachine(); 507 session.UnlockMachine(); 540 /* Open a session to modify VM state: */ 541 CSession session = vboxGlobal().openExistingSession(pItem->id()); local 542 if (session.isNull()) 545 /* Get session consol 591 CSession session = vboxGlobal().openExistingSession(pItem->id()); local 619 CSession session = vboxGlobal().openExistingSession(pItem->id()); local 676 CSession session = vboxGlobal().openExistingSession(pItem->id()); local 717 CSession session = vboxGlobal().openExistingSession(pItem->id()); local 1769 CSession session = vboxGlobal().openExistingSession(pItem->id()); local [all...] |
H A D | VBoxSnapshotsWgt.cpp | 507 /* Whether another direct session is open or not */ 530 /* Enable/disable the details action regardless of the session state */ 637 /* Open a direct session (this call will handle all errors): */ 638 CSession session = vboxGlobal().openSession(mMachineId); local 639 if (session.isNull()) 643 CMachine machine = session.GetMachine(); 655 session.UnlockMachine(); 680 /* Open a direct session (this call will handle all errors) */ 682 CSession session; local 684 session 823 CSession session; local [all...] |