summaryrefslogtreecommitdiff
path: root/src/VBox/Main/webservice/samples/php
diff options
context:
space:
mode:
Diffstat (limited to 'src/VBox/Main/webservice/samples/php')
-rw-r--r--src/VBox/Main/webservice/samples/php/clienttest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/VBox/Main/webservice/samples/php/clienttest.php b/src/VBox/Main/webservice/samples/php/clienttest.php
index 648662c4..3b6d8051 100644
--- a/src/VBox/Main/webservice/samples/php/clienttest.php
+++ b/src/VBox/Main/webservice/samples/php/clienttest.php
@@ -57,7 +57,7 @@ foreach ($machines as $machine)
{
$console = $session->console;
$display = $console->display;
- list($screenWidth, $screenHeight, $screenBpp) = $display->getScreenResolution(0 /* First screen */);
+ list($screenWidth, $screenHeight, $screenBpp, $screenX, $screenY) = $display->getScreenResolution(0 /* First screen */);
$imageraw = $display->takeScreenShotToArray(0 /* First screen */, $screenWidth, $screenHeight);
echo "Screenshot size: " . sizeof($imageraw) . "\n";