VMSerialPortType enumeration

[Windows Virtual PC is no longer available for use as of Windows 8. Instead, use the Hyper-V WMI provider (V2).]

Specifies the type of serial port.

Syntax

typedef enum  { 
  vmSerialPort_HostPort   = 0,
  vmSerialPort_TextFile   = 1,
  vmSerialPort_NamedPipe  = 2,
  vmSerialPort_Null       = 3
} VMSerialPortType;

Constants

vmSerialPort_HostPort

A host serial port.

vmSerialPort_TextFile

A host text file.

vmSerialPort_NamedPipe

A named pipe.

vmSerialPort_Null

A NULL serial port (discards all bits sent to it).

Requirements

Requirement Value
Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
None supported
End of client support
Windows 7
Product
Windows Virtual PC
Header
VPCCOMInterfaces.h

See also

IVMSerialPort