summaryrefslogtreecommitdiff
path: root/src/VBox/Main/testcase/tstVBoxAPIWin.cpp
diff options
context:
space:
mode:
authorvboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2010-07-22 15:24:27 +0000
committervboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2010-07-22 15:24:27 +0000
commit3351d398cb92bca9a769130a22623a906408cca4 (patch)
tree13bbce21217b12ad67bf1e2772b206fa736b1a68 /src/VBox/Main/testcase/tstVBoxAPIWin.cpp
parentcebe3144f7a4448e9dcf0862fec67fc4c758a5fe (diff)
downloadVirtualBox-svn-3351d398cb92bca9a769130a22623a906408cca4.tar.gz
Main: reorganize session APIs
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@31008 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox/Main/testcase/tstVBoxAPIWin.cpp')
-rw-r--r--src/VBox/Main/testcase/tstVBoxAPIWin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/VBox/Main/testcase/tstVBoxAPIWin.cpp b/src/VBox/Main/testcase/tstVBoxAPIWin.cpp
index d4d57acfd5b..169673a5e05 100644
--- a/src/VBox/Main/testcase/tstVBoxAPIWin.cpp
+++ b/src/VBox/Main/testcase/tstVBoxAPIWin.cpp
@@ -208,8 +208,8 @@ int testStartVM(IVirtualBox *virtualBox)
}
/* Start a VM session using the delivered VBox GUI. */
- rc = virtualBox->OpenRemoteSession (session, guid, sessiontype,
- NULL, &progress);
+ rc = machine->LaunchVMProcess(session, sessiontype,
+ NULL, &progress);
if (!SUCCEEDED(rc))
{
printf("Could not open remote session! rc = 0x%x\n", rc);