Parallels Virtualization SDK
|
The PHT_VIRTUAL_DEV_SERIAL_PORT handle is used to manage serial ports in a virtual machine. The handle is obtained by making the PrlVmCfg_CreateVmDev or the PrlVmCfg_GetSerialPort function call.
The following describes how to create new or modify an existing serial port on a virtual machine.
First, you have to set the emulation type using the PrlVmDev_SetEmulatedType function. The available types are:
Second, you must call the PrlVmDev_SetSysName and the PrlVmDev_SetFriendlyName functions. These functions are used differently depending on the emulation type that you chose in the first step.
Real port
Output file
Socket
|
Name |
Description |
|
Returns the socket mode of a virtual serial port. | |
|
Sets the socket mode for a virtual serial port. |