Sets priority level for virtual serial port thread.
BOOL FtVspcSetPortPriority( FTVSPCHANDLE hPort, UINT unPriorityLevel );
hPort
[in] Port handle. Refer to FtVspcAttach.
unPriorityLevel
[in] priority level (1 - 255).
If the function succeeds, the return value is nonzero. Use FtVspcGetLastError to get the error code (FtVspc_ErrorCode).
| ftvspcErrorInvalidParameter | 2 | Invalid parameter. |
|---|