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

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. 
 
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. 
 
Returns the global default gateway address of the specified host or guest. 
 
Obtains the list of IP addresses of DNS servers for the specified host. 
 
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 generic PCI device installed on the host. 
 
Determines the number of generic 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 server hostname. 
 
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. 
 
Obtains an object of type PHT_HW_NET_ADAPTER containing information about a network adapter. 
 
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 parallel port on the host. 
 
Determines the number of parallel 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. 
 
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. 
Links
Copyright (c) 1999-2009 Parallels Software International Inc.
What do you think about this topic? Send feedback!