Closes virtual serial port (even if the port is open by application).
BOOL FtVspcClosePort( FTVSPCHANDLE hPort );
hPort
[in] Port handle. Refer to FtVspcAttach.
If the function succeeds, the return value is nonzero. Use FtVspcGetLastError to get the error code (FtVspc_ErrorCode).
| ftvspcErrorInvalidParameter | 2 | Invalid parameter. |
|---|