Name

VMOpenUrlInGuest

Description

$err = VMOpenUrlInGuest($vmHandle,
                        $url,
                        $windowState,
                        $propertyListHandle);

This function is deprecated. This function opens a browser window on the specified URL in the guest operating system.

Parameters

vmHandle
Identifies a virtual machine. Call VMOpen() to create a virtual machine handle.
url
The URL to be opened.
windowState
Must be 0.
propertyListHandle
Must be VIX_INVALID_HANDLE.

Return Value

$err. The error code returned by the operation. For returned values, see Topics > Error Codes.

Remarks

Side Effects

None.

Requirements

use VMware::Vix::Simple;
use VMware::Vix::API::Constants;
since VMware Workstation 6.0
Minimum Supported Guest OS: Microsoft Windows NT Series, Linux

Example


$err = VMOpenUrlInGuest($vmHandle, "http://www.vmware.com", 0,
                        VIX_INVALID_HANDLE):
die "VMOpenUrlInGuest() failed, $err ", GetErrorText($err), "\n" if $err != VIX_OK;


Copyright (C) 2007-2010 VMware, Inc. All rights reserved.