[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FlushComm( nIdComDev, nQueue )-> <nReturn>
------------------------------------------------------------------------------
PARAMETER:
<nIdComDev> Identifies the communication device to be flushed. This is
the value returned by OpenComm()
<nQueue> Specifies the queue to be flushed. If this parameter is
is zero, the transmission queue is flushed. If the parameter
is one, the receiving queue is flushed.
RETURNS:
<nReturn> is zero if the function is successful. If it is less than zero
then <nIdComDev> is not a valid device or <nQueue. is not a valid device.
The return value is positive if there is an error for the specified
device. For a list of the possible error values, see GetCommError()
DESCRIPTION:
This function flushes all characters from the transmission or receiving
queue of the specified communications device. See SAMPLES\TestComm.prg for
an example of the communication functions
SOURCE:
SOURCE\WINAPI\COMM.C
See Also:
OpenComm
GetCommError
EnableCommNotificatio
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson