TransmitCommChar

Syntax

int TransmitCommChar(nCid,cChar)

This function marks the character specified by the cChar parameter for immediate transmission, by placing it at the head of the transmit queue.

Parameter Type/Description  

nCid int Specifies the communication device to receive the character. The OpenComm function returns this value.  
cChar char Specifies the character to be transmitted.  

Return Value

The return value specifies the result of the function. It is zero if the function is successful. It is negative if the character cannot be transmitted. A character cannot be transmitted if the character specified by the previous TransmitCommChar function has not yet been sent.