The PHT_DISP_CONFIG handle is used to manage Parallels Service preferences. The handle is obtained by calling the PrlSrv_GetCommonPrefs function.
Parallels Service preferences include memory, network, default virtual machine folder, and some other settings. The following describes how to modify the memory and network settings as a demonstration of the handle usage.
First, you have to obtain a handle of type PHT_DISP_CONFIG by making the PrlSrv_GetCommonPrefs function call.
To make the memory modification:
The network adapter changes are performed outside of the begin/commit block. To modify an existing or to create a new virtual network adapter, use the following steps:
|
Name |
Description |
|
Determines if new users have the right to modify Parallels Service preferences. | |
|
Returns the backup user login. | |
|
Returns PATH to the default backup directory. | |
|
Returns the default backup server host name or IP address. | |
|
Obtains name and path of the directory in which new virtual machines are created by default. | |
|
Returns the default VNC host name for the Parallels Service. | |
|
Determines the maximum amount of physical memory that can be reserved for Parallels Service operation. | |
|
Determines the maximum memory size that can be allocated to an individual virtual machine. | |
|
Determines the minimum amount of physical memory that must be reserved for Parallels Service operation. | |
|
Determines the lowest allowable security level that can be used to connect to the Parallels Service. | |
|
Determines the minimum required memory size that must be allocated to an individual virtual machine. | |
|
Determines the recommended memory size for an individual virtual machine. | |
|
Determines the amount of physical memory reserved for Parallels Service operation. | |
|
Obtains the currently set base VNC port number. | |
|
Determines whether memory allocation for Parallels Service is performed automatically or manually. | |
|
Returns the backup user password enabling sign. | |
|
Determines whether send statistics reports (CEP) mechanism activated. | |
|
Allows to choose the Parallels Service memory allocation mode from automatic or manual. | |
|
Sets the backup user login. | |
|
Sets the backup user password. | |
|
Sets the backup user password. | |
|
Allows to grant or deny a permission to new users to modify Parallels Service preferences. | |
|
Sets PATH to the default backup directory. | |
|
Sets the default backup server host name or IP address. | |
|
Sets the base VNC host name. | |
|
Allows to manually set the upper limit of the memory size that can be reserved for Parallels Service operation. | |
|
Allows to set the maximum memory size that can be allocated to an individual virtual machine. | |
|
Allows to manually set the lower limit of the memory size that must be reserved for Parallels Service operation. | |
|
Allows to set the lowest allowable security level that can be used to connect to the specified Parallels Service. | |
|
Allows to set the minimum required memory size that must be allocated to an individual virtual machine. | |
|
Allows to manually set recommended memory size for an individual virtual machine. | |
|
Allows to set the amount of memory that will be allocated for Parallels Service operation. | |
|
Allows to switch on/off mechanism of sending statistics reports (CEP). | |
|
Sets the base VNC port number. |
Copyright (c) 1999-2009 Parallels Software International Inc.
|
What do you think about this topic? Send feedback!
|