PurgeQueue Method in Serial Port ActiveX Control

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

BOOL PurgeQueue(
  void  
);

Return Values   If the method succeeds, the return value is TRUE. If the port does not exist the return value is FALSE.