Serial Port I/O Function: Executes the Windows* API communications function PurgeComm on the specified port.
result = SPORT_PURGE (port,function)
port |
(Input) Integer. The port number. |
function |
(Input) INTEGER(4). The function for PurgeComm (see the Windows* documentation). |
Communications and Communications Functions in the Microsoft* Platform SDK