FtVspcSetPortPriority Function

Sets priority level for virtual serial port thread.

BOOL 
FtVspcSetPortPriority(
	FTVSPCHANDLE hPort,
	UINT unPriorityLevel 
	);

Parameters

hPort

[in] Port handle. Refer to FtVspcAttach.

unPriorityLevel

[in] priority level (1 - 255).

Return Value

If the function succeeds, the return value is nonzero. Use FtVspcGetLastError to get the error code (FtVspc_ErrorCode).

Errors

ftvspcErrorInvalidParameter 2 Invalid parameter.

See Also

FtVspcAttach