This function enables an application to transmit bytes to the serial port.
ULONG COM_Write( HANDLE COM_Write, PUCHAR pSourceBytes, ULONG NumberOfBytes );
The number of bytes written indicates success. A value of –1 indicates failure.
This function is exported to users through the WriteFile function. This function must obey flow-control and time-out values.
This function is defined in the Mdd.c file.