Collapse All
Parallels C API Reference Guide
ContentsIndex
PreviousUpNext
PHT_VIRTUAL_MACHINE
Functions  Functions by Handle  Legend  Send Feedback

PHT_VIRTUAL_MACHINE is the main virtual machine management handle. A handle to an existing virtual machine is obtained from the PHT_JOB object returned by the PrlSrv_GetVmList function. To create a new handle, call the PrlSrv_CreateVm function.

Functions
 
Name 
Description 
 
Perform attemption to auth user through guest OS security database. 
 
The PrlVm_BeginEdit function is used in modifying a virtual machine configuration. 
 
Cancels the running Compressor operation that was started with PrlVm_RunCompressor
 
Clones an existing virtual machine. 
 
Clones an existing virtual machine. 
 
The PrlVm_Commit function is used in modifying a virtual machine configuration. 
 
Creates VM event that bint to current VM. 
 
Creates a virtual machine snapshot. 
 
Creates a floppy disk image in the virtual machine home directory for unattended Windows installation. 
 
Deletes the specified virtual machine from the host. 
 
Deleted the specified virtual machine snapshot. 
 
Resets a suspended virtual machine. 
 
Automatically generates a name for a virtual device which will be unique within a home directory of the specified virtual machine. 
 
Obtains a handle of type PHT_VM_CONFIGURATION
 
The PrlVm_GetProblemReport function obtains a problem report on abnormal virtual machine termination. 
 
The PrlVm_GetQuestions function allows to synchronously receive questions from a Parallels Service. 
 
Retrieves snapshot information for the specified virtual machine. 
 
Obtains a handle of type PHT_VM_INFO containing the specified virtual machine state and access rights information. 
 
Obtains a handle of type PHT_SYSTEM_STATISTICS containing the virtual machine resource usage information, including CPU(s), memory, disk drives, processes, user session, system uptime, network packets, etc. 
 
Retrieves the virtual machine screen state before it was suspending. 
 
Obtains a handle of type PHT_VM_TOOLS_INFO containing information about the state of the Parallels Tools package in a virtual machine. 
 
This method lets to initiate sending notifications about devices states by VM. 
 
Begin the Parallels Tools installation process. 
 
Installs a specified utility in a virtual machine. 
 
Lets to exclusively lock VM for current session. 
 
Creates a new console session or binds to an existing GUI session in a virtual machine. 
 
Migrates an existing virtual machine to another host. 
 
Cancels the migration operation that was started with PrlVm_Migrate or PrlVm_MigrateEx
 
Migrates an existing virtual machine to another host. 
 
Pauses the specified virtual machine. 
 
The PrlVm_RefreshConfig function updates the configuration information contained in the specified virtual machine object (handle). 
 
Creates a new virtual machine and registers it with the Parallels Service. 
 
Registers an event handler (callback function) with the virtual machine. 
 
Resets the specified virtual machine. 
 
Restarts the operating system of the specified virtual machine. 
 
Restores the registered virtual machine. 
 
Resumes a virtual machine that was previously suspended with the PrlVm_Suspend call. 
 
Initiates the Compressor process. 
 
The PrlVm_SetConfig is reserved and does nothing. 
 
Start the specified virtual machine. 
 
Starts the specified virtual machine using the specified mode (see the PRL_VM_START_MODE enumeration). 
 
Starts a VNC server for the specified virtual machine. 
 
Stop the specified virtual machine. 
 
Stops the VNC server that was previously started for a virtual machine. 
 
Subscribes to receive the specified virtual machine performance statistics on a periodic basis. 
 
Suspends the specified virtual machine. 
 
Reverts the specified virtual machine to the specified snapshot. 
 
Retrieves a list of identifiers from the Tools Information Service database. 
 
Obtains a handle of type PHT_TIS_RECORD containing a record from the Tools Information Service database. 
 
Check graceful shutdown tool capabilities. 
 
Initiates graceful shutdown of the specified virtual machine. 
 
Lets to unlock previously locked with PrlVm_Lock call VM. 
 
Unregisters the specified virtual machine from the Parallels Service. 
 
Unregisters an event handler (callback function) that was previously registered using the PrlVm_RegEventHandler function. 
 
Cancels the performance statistics subscription that was previously initiated using the PrlVm_SubscribeToGuestStatistics function. 
 
Cancels the Parallels Service performance statistics subscription that was started using the PrlVm_SubscribeToPerfStats function. 
 
Updates access level for the specified virtual machine. 
 
Modifies the specified virtual machine snapshot name and description. 
 
Validates the specified section of a virtual machine configuration. 
Links
Copyright (c) 1999-2009 Parallels Software International Inc.
What do you think about this topic? Send feedback!