Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PHT_SERVER_CONFIG
Functions  Functions by Handle  Legend

The PHT_SERVER_CONFIG handle is used to obtain the host computer configuration information. The handle is obtained from the PHT_JOB object returned by the PrlSrv_GetSrvConfig function call. The handle can also be used to obtain network settings of a guest operating system installed in a virtual machine. In this case, the handle is obtained using the PrlVmGuest_GetNetworkSettings function.

Functions
 
Name 
Description 
 
Determines the number of CPUs on the host machine. 
 
To get the CPU features from server hSrvConfig : A handle of type PRL_HANDLE
 
Allows to get the CPU features from server. 
 
Allows to get the CPU features masking capabilities from server 
 
Determines the hardware virtualization type of the host CPU. 
 
Determines the CPU mode (32 bit or 64 bit) on the host. 
 
Determines the model of CPU on the host machine. 
 
Determines the host machine CPU speed. 
 
Obtains the global default gateway address of the specified host or guest. 
 
Obtains the global default IPv6 gateway address of the specified host or guest. 
 
Obtains the list of IP addresses of DNS servers for the specified host or guest. 
 
Obtains an object of type PHT_HW_GENERIC_DEVICE containing information about a floppy disk drive on the host. 
 
Determines the number of floppy disk drives on the host. 
 
Obtains a handle of type PHT_HW_GENERIC_DEVICE containing information about a PCI device installed on the host. 
 
Determines the number of PCI devices installed on the host. 
 
Obtains a handle of type PHT_HW_GENERIC_DEVICE containing information about a generic SCSI device installed on the host. 
 
Determines the number of generic SCSI devices installed on the host. 
 
Obtains an object of type PHT_HW_HARD_DISK containing information about a hard disks drive on the host. 
 
Determines the number of hard disk drives on the host. 
 
Returns the hostname of the specified host or guest. 
 
Returns the major version number of the host operating system. 
 
Returns the minor version number of the host operating system. 
 
Returns the full host operating system information as a single string. 
 
Returns the sub-minor version number of the host operating system. 
 
Returns the host operating system type. 
 
Determines the amount of memory (RAM) available on the host. 
 
Returns max possible Virtuozzo network adapters on the host. 
 
Returns max possible Virtuozzo virtual network adapters which can be applied per VM. 
 
Obtains a handle of type PHT_HW_NET_ADAPTER containing information about a network adapter installed in the host or guest. 
 
Determines the number of network adapters available on the server. 
 
Obtains an object of type PHT_HW_GENERIC_DEVICE containing information about an optical disk on the host. 
 
Determines the number of optical disks on the host. 
 
Obtains a handle of type PHT_HW_GENERIC_DEVICE containing information about a printer port on the host. 
 
Determines the number of printer ports on the host. 
 
Obtains a handle of type PHT_HW_GENERIC_DEVICE containing information about a printer installed on the host. 
 
Determines the number of printers installed on the host. 
 
Obtains the list of search domains for the specified host or guest. 
 
Obtains a handle of type PHT_HW_GENERIC_DEVICE containing information about a serial port on the host. 
 
Determines the number of serial ports available on the host. 
 
Obtains a handle of type PHT_HW_GENERIC_DEVICE containing information about a sound mixer device on the host. 
 
Determines the number of sound mixer devices available on the host. 
 
Obtains a handle of type PHT_HW_GENERIC_DEVICE containing information about a sound device on the host. 
 
Determines the number of sound devices available on the host. 
 
Obtains a pointer of type PHT_HW_GENERIC_DEVICE containing information about a USB device on the host. 
 
Determines the number of USB devices on the host. 
 
Determines whether a sound device on the host is enabled or disabled. 
 
Determines if USB is supported on the host. 
 
Determines whether VT-d is supported on the host. 
 
Determines whether a specified PCI device (network adapter, display adapter, sound card, etc.) is the primary adapter in the system. 
Links
Copyright ©2016-2017 Parallels International GmbH. All rights reserved.