Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - flushcomm() flushes all characters from transmision or receiving http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FlushComm()            Flushes all characters from transmision or receiving
--------------------------------------------------------------------------------

   Syntax:              FlushComm( <nIdComDev>, <nQueue> )  --> <nReturn>

                        This function flushes all characters from the
                        transmision or receiving queue of the specified
                        communications device.

   Parameters:

   <nIdComDev>          Identifies the communication device to be flushed.
                        The OpenComm function returns this value.

   <nQueue>             Specifies the queue to be flushed. If this parameter
                        is zero, the transmision queue is flushed. If the
                        parameter is 1, the receiving queue is flushed.

   Returns:

   <nReturn>            The return value is zero if the function is sucessfull.
                        It is less than zero if nIdComDev is not a valid
                        device or if 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 the GetCommError function.

   Sample:              SAMPLES\\TestComm.prg

   Source code:         SOURCE\\WINAPI\\Comm.c

   See also:            GetCommError() OpenComm()


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson