Lines Matching defs:session
893 ComPtr<ISession> session;
923 rc = pVirtualBoxClient->COMGETTER(Session)(session.asOutParam());
926 RTPrintf("Failed to get session object (rc=%Rhrc)!\n", rc);
957 Log(("VBoxHeadless: Opening a session with machine (id={%s})...\n",
960 // open a session
961 CHECK_ERROR_BREAK(m, LockMachine(session, LockType_VM));
966 CHECK_ERROR_BREAK(session, COMGETTER(Console)(console.asOutParam()));
1324 /* No more access to the 'console' object, which will be uninitialized by the next session->Close call. */
1330 * Close the session. This will also uninitialize the console and
1333 Log(("VBoxHeadless: Closing the session...\n"));
1334 session->UnlockMachine();
1338 session.setNull();