The PurgeQueue method discards all characters from the input buffer of the virtual serial port.

BOOL PurgeQueue(

      void      

);

 

Return Values : If the function succeeds, the return value is TRUE. If the port was not created the return value is FALSE.