3.8 错误代码
COMERROR_NOERROR := 0,
COMERROR_TXBUFFOVERRUN := 2, (* 字符串 > 传送缓冲区 *)
COMERROR_STRINGOVERRUN := 10, (* 字符串结尾 *)
COMERROR_ZEROCHARINVALID := 11, (* 字符串不能接收零个字符 *)
COMERROR_INVALIDPOINTER := 20, (* 无效数据指针,例如:零 *)
COMERROR_INVALIDRXPOINTER := 21, (* ReceiveData 数据指针无效 *)
COMERROR_INVALIDRXLENGTH := 22, (* ReceiveData 长度无效,例如:零 *)
COMERROR_DATASIZEOVERRUN := 23, (* 达到数据块容量 *)
1