- Overview
DLL API Reference
- Getting Started
Functions
- FtVspcApiClose Function
- FtVspcApiInit Function
- FtVspcApplyKey Function
- FtVspcEnumPhysical Function
- FtVspcEnumVirtual Function
- FtVspcGetPhysical Function
- FtVspcGetPhysicalNum Function
- FtVspcGetVirtual Function
- FtVspcGetVirtualNum Function
- FtVspcCreatePort Function
- FtVspcCreatePortEx Function
- FtVspcCreatePortByNum Function
- FtVspcCreatePortOverlapped Function
- FtVspcCreatePortOverlappedEx Function
- FtVspcCreatePortOverlappedByNum Function
- FtVspcCreateTwinPort Function
- FtVspcCreateTwinPortEx Function
- FtVspcCreateTwinPortByNum Function
- FtVspcRemovePort Function
- FtVspcRemovePortByNum Function
- FtVspcAttach Function
- FtVspcAttachByNum Function
- FtVspcDetach Function
- FtVspcGetPermanent Function
- FtVspcGetPermanentByNum Function
- FtVspcGetPortType Function
- FtVspcGetPortTypeByNum Function
- FtVspcGetQueryOpen Function
- FtVspcGetQueryOpenByNum Function
- FtVspcSetPermanent Function
- FtVspcSetPermanentByNum Function
- FtVspcSetQueryOpen Function
- FtVspcSetQueryOpenByNum Function
- FtVspcRead Function
- FtVspcWrite Function
- FtVspcGetBitrateEmulation Function
- FtVspcGetBreak Function
- FtVspcGetCts Function
- FtVspcGetDcd Function
- FtVspcGetDsr Function
- FtVspcGetFraming Function
- FtVspcGetInQueueBytes Function
- FtVspcGetOverrun Function
- FtVspcGetParity Function
- FtVspcGetRing Function
- FtVspcSetBitrateEmulation Function
- FtVspcSetBreak Function
- FtVspcSetCts Function
- FtVspcSetDcd Function
- FtVspcSetDsr Function
- FtVspcSetFraming Function
- FtVspcSetOverrun Function
- FtVspcSetParity Function
- FtVspcSetRing Function
- FtVspcGetErrorMessage Function
- FtVspcGetInfo Function
- FtVspcGetLastError Function
ActiveX Component Reference
- Getting Started
FTVSPCControl Class
FTVSPCPort Class
- FTVSPCPort Class description
Events
- OnBreak Event
- OnClose Event
- OnOpen Event
- OnOpenBeforeAttach Event
- OnPurge Event
- OnQueryOpen Event
- OnRxChar Event
- OnBaudRate Event
- OnDataBits Event
- OnParity Event
- OnStopBits Event
- OnTimeouts Event
- OnDtr Event
- OnRts Event
- OnBreakChar Event
- OnEofChar Event
- OnErrorChar Event
- OnEvtChar Event
- OnXoffChar Event
- OnXoffLim Event
- OnXonChar Event
- OnXonLim Event
- OnAbortOnError Event
- OnDsrSensitivity Event
- OnDtrControl Event
- OnInX Event
- OnNull Event
- OnOutX Event
- OnOutxCtsFlow Event
- OnOutxDsrFlow Event
- OnRtsControl Event
- OnTXContinueOnXoff Event
- OnUseErrorChar Event
.NET Component Reference
- Getting Started
FTVSPCControl Class
FTVSPCPort Class
- FTVSPCPort Class description
Events
- OnBreak Event
- OnClose Event
- OnOpen Event
- OnOpenBeforeAttach Event
- OnPurge Event
- OnQueryOpen Event
- OnRxChar Event
- OnBaudRate Event
- OnDataBits Event
- OnParity Event
- OnStopBits Event
- OnTimeouts Event
- OnDtr Event
- OnRts Event
- OnBreakChar Event
- OnEofChar Event
- OnErrorChar Event
- OnEvtChar Event
- OnXoffChar Event
- OnXoffLim Event
- OnXonChar Event
- OnXonLim Event
- OnAbortOnError Event
- OnDsrSensitivity Event
- OnDtrControl Event
- OnInX Event
- OnNull Event
- OnOutX Event
- OnOutxCtsFlow Event
- OnOutxDsrFlow Event
- OnRtsControl Event
- OnTXContinueOnXoff Event
- OnUseErrorChar Event
FtVspcGetPortType Function
Retrieves value of virtual serial port type with non-standard name.
BOOL FtVspcGetPortType( LPCTSTR lpszPortName, FtVspc_PortType* lpPortType );
Parameters
lpszPortName
[in] The name of virtual serial port.
lpPortType
[out] A pointer to the variable where the port type of virtual serial port is returned.
Return Value
If the function succeeds, the return value is TRUE. Otherwise, use FtVspcGetLastError to get the error code (FtVspc_ErrorCode).
Errors
ftvspcErrorFailed | 1 | The operation has not been completed. |
---|---|---|
ftvspcErrorInvalidParameter | 2 | Invalid parameter. |
ftvspcErrorNoSuchPort | 101 | There is no such port. |
ftvspcErrorMarkedForDeletion | 202 | This port is marked for deletion. |