Parallels Virtualization SDK
|
Sets the socket mode for a virtual serial port.
PRL_RESULT PrlVmDevSerial_SetSocketMode( PRL_HANDLE hVmDev, PRL_SERIAL_PORT_SOCKET_OPERATION_MODE nSocketMode );
PrlApiVm.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_SUCCESS - function completed successfully.
Use this function to set the socket mode when the emulation type of the port is "socket". To get the port's emulation type, use the PrlVmDev_GetEmulatedType function.