Lines Matching defs:session
432 * @param session ptr to ISession object
435 static void registerActiveEventListener(IVirtualBox *virtualBox, ISession *session, BSTR machineId)
440 rc = ISession_get_Console(session, &console);
542 * @param session ptr to ISession object
545 static void registerPassiveEventListener(IVirtualBox *virtualBox, ISession *session, BSTR machineId)
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)
776 rc = IMachine_LaunchVMProcess(machine, session, sessionType, env, &progress);
783 printf("Waiting for the remote session to open...\n");
813 registerActiveEventListener(virtualBox, session, id);
815 registerPassiveEventListener(virtualBox, session, id);
832 * @param session ptr to ISession object
834 static void listVMs(const char *argv0, IVirtualBox *virtualBox, ISession *session)
972 startVM(argv0, virtualBox, session, uuidUtf16);
999 ISession *session = NULL;
1036 rc = IVirtualBoxClient_get_Session(vboxclient, &session);
1037 if (FAILED(rc) || !session)
1096 listVMs(argv[0], vbox, session);
1097 ISession_UnlockMachine(session);
1115 if (session)
1117 ISession_Release(session);
1118 session = NULL;