FtVspcCreatePortOverlappedByNum Function

Creates virtual serial port over existing COM port.

BOOL FtVspcCreatePortOverlappedByNum(
	UINT unPortNo,
	LPCTSTR lpszRealPortAlias 



[in] COM port number (e.g. 5 means COM5).


[in] Alias name for existing COM port. You still will be able to open existing COM port using this alias name. The string is an MS-DOS path (e.g. PORT1, COM100).

Return Value

TRUE - the port has been created successfully, FALSE otherwise.


ftvspcErrorFailed 1 The operation has not been completed.
ftvspcErrorInvalidParameter 2 Invalid parameter.
ftvspcErrorPortAlreadyExists 100 This port already exists.